/srv/irclogs.ubuntu.com/2018/08/25/#snappy.txt

misppwhich section to add in snapcrafft.yaml to add a runtime dependency (like libmysqlclient). i dont want to build that, but rather use the lib that's already compiled and in repos08:16
dave_uyI'm trying to automate my snap but the cleanbuild fails on snapcraft.io. https://build.snapcraft.io/user/dmp1ce12:56
dave_uyI try to reproduce locally on my Vagrant setup but it fails in a different way. Do I need to initialize lxd in a certain way to get the same results as on snapcraft.io?12:57
popeydave_uy: looks like a proxy/firewall problem in the datacentre13:56
popeyhttps://launchpadlibrarian.net/385194928/buildlog_snap_ubuntu_xenial_armhf_30ab74512c9e3b64356085921b1cdfd1-xenial_BUILDING.txt.gz13:56
popeyException in thread "main" java.net.UnknownHostException: services.gradle.org13:56
dave_uyThank you.14:09
om26erIs there a way for a snap to check if its running on UbuntuCore system (vs a desktop)15:36
ograom26er, not sure if  snap can read /proc/cmdline ... but if you find snap_core= on there you are definitely on core15:44
ogra*if a snap15:44
om26erogra: snap_core= wher ?15:50
om26er*where15:50
mupPR snapcraft#2224 closed: snapcraftctl: run in isolation mode <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/2224>15:52
om26erif, this will do15:57
om26erif [[ $(cat /proc/cmdline) = *"snap_core="* ]]; then echo 1; fi15:57
om26erthanks ogra15:57
Son_Gokuzyga, hey20:06
Son_Gokuzyga, I'm having compilation failures trying to upgrade to 2.35 on s390x: https://kojipkgs.fedoraproject.org//work/tasks/4897/29294897/build.log20:06
Son_Gokuzyga, hmm, may be a bug in golang: https://bugzilla.redhat.com/show_bug.cgi?id=162231220:33
om26eris there a specific interface that Is should be using to avoid that denial ?21:15
om26erhttps://paste.ubuntu.com/p/NSGrxDhHh8/21:15
om26erignore the fonts related denial, I am more concerned about the name="/proc/1465/mem" denial.21:16
om26erdiddledan: ^ can you help ?21:17
diddledanI don't know of which plug, if any, would cover `/proc/<pid>/mem`21:21
diddledanmaybe process-control?21:21
=== JanC_ is now known as JanC
diddledanfrom a quick scan of of the interfaces I can't see any that include a rule referencing @{PROC}/@{PID}/mem21:29
om26erdiddledan: I have been doing that as well, didn't find any21:34
om26erfound this old issue https://bugs.launchpad.net/snappy/+bug/164481021:34
mupBug #1644810: snapd system-observe interface is missing rules to allow memory usage analysis <snapd-interface> <Snappy:Fix Released> <https://launchpad.net/bugs/1644810>21:34
Son_Gokuzyga, niemeyer, snapd 2.35 update proposed: https://forum.snapcraft.io/t/snapd-updates-in-fedora/4342/621:52
ograom26er, "if [[ $(cat /proc/cmdline) = *"snap_core="* ]]; then echo 1; fi" ?? geez ...22:51
ograom26er, "if grep -q snap_core= /proc/cmdline; then ... "22:52
ogra(you might want to quote "snap_core=" for beautification, but thats not strictly necessary)22:53
ogra:)22:53

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!