mispp | which 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 repos | 08:16 |
---|---|---|
dave_uy | I'm trying to automate my snap but the cleanbuild fails on snapcraft.io. https://build.snapcraft.io/user/dmp1ce | 12:56 |
dave_uy | I 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 |
popey | dave_uy: looks like a proxy/firewall problem in the datacentre | 13:56 |
popey | https://launchpadlibrarian.net/385194928/buildlog_snap_ubuntu_xenial_armhf_30ab74512c9e3b64356085921b1cdfd1-xenial_BUILDING.txt.gz | 13:56 |
popey | Exception in thread "main" java.net.UnknownHostException: services.gradle.org | 13:56 |
dave_uy | Thank you. | 14:09 |
om26er | Is there a way for a snap to check if its running on UbuntuCore system (vs a desktop) | 15:36 |
ogra | om26er, not sure if snap can read /proc/cmdline ... but if you find snap_core= on there you are definitely on core | 15:44 |
ogra | *if a snap | 15:44 |
om26er | ogra: snap_core= wher ? | 15:50 |
om26er | *where | 15:50 |
mup | PR snapcraft#2224 closed: snapcraftctl: run in isolation mode <Created by kyrofa> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/2224> | 15:52 |
om26er | if, this will do | 15:57 |
om26er | if [[ $(cat /proc/cmdline) = *"snap_core="* ]]; then echo 1; fi | 15:57 |
om26er | thanks ogra | 15:57 |
Son_Goku | zyga, hey | 20:06 |
Son_Goku | zyga, I'm having compilation failures trying to upgrade to 2.35 on s390x: https://kojipkgs.fedoraproject.org//work/tasks/4897/29294897/build.log | 20:06 |
Son_Goku | zyga, hmm, may be a bug in golang: https://bugzilla.redhat.com/show_bug.cgi?id=1622312 | 20:33 |
om26er | is there a specific interface that Is should be using to avoid that denial ? | 21:15 |
om26er | https://paste.ubuntu.com/p/NSGrxDhHh8/ | 21:15 |
om26er | ignore the fonts related denial, I am more concerned about the name="/proc/1465/mem" denial. | 21:16 |
om26er | diddledan: ^ can you help ? | 21:17 |
diddledan | I don't know of which plug, if any, would cover `/proc/<pid>/mem` | 21:21 |
diddledan | maybe process-control? | 21:21 |
=== JanC_ is now known as JanC | ||
diddledan | from a quick scan of of the interfaces I can't see any that include a rule referencing @{PROC}/@{PID}/mem | 21:29 |
om26er | diddledan: I have been doing that as well, didn't find any | 21:34 |
om26er | found this old issue https://bugs.launchpad.net/snappy/+bug/1644810 | 21:34 |
mup | Bug #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_Goku | zyga, niemeyer, snapd 2.35 update proposed: https://forum.snapcraft.io/t/snapd-updates-in-fedora/4342/6 | 21:52 |
ogra | om26er, "if [[ $(cat /proc/cmdline) = *"snap_core="* ]]; then echo 1; fi" ?? geez ... | 22:51 |
ogra | om26er, "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!