[00:09] <wililupy> This is the specific error they are seeing: http://pastebin.ubuntu.com/23789609/
[01:01] <nikhilg> Hi, I'm trying to generate 'ubuntu-img' with my kernel-snap
[01:01] <nikhilg> sudo ubuntu-image -o cumulus-snappy.img --extra-snaps snappygenerickernel_4.4.0_amd64.snap pc-amd64-model.assertion
[01:02] <nikhilg> I get the following error
[01:02] <nikhilg> error: unknown flag `extra-snaps'
[01:02] <nikhilg> COMMAND FAILED: snap prepare-image --extra-snaps=snappygenerickernel_4.4.0_amd64.snap pc-amd64-model.assertion /tmp/tmpm30zktj9/unpack
[01:02] <nikhilg> any suggestion would be really helpful
[02:58] <jjohansen> zyga: http://people.canonical.com/~jj/lp1656121/
[05:30] <mup> PR snapcraft#1046 closed: godeps plugin: work when GOBIN is set <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1046>
[06:42] <mup> PR snapcraft#1047 opened: meta: support core libraries <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1047>
[07:00] <zyga> jjohansen: thank you for the kernel, I'm trying it as we speak
[08:54] <mup> Issue snapd#2625 opened: feature request: ability to talk to sysctl <Created by battlemidget> <https://github.com/snapcore/snapd/issue/2625>
[09:37] <Matthias___> Hi guys! Just playing around with snappy core on my Raspberry Pi3.
[09:37] <seb128> zyga, mvo, hey, did you notice that snap-confine has a xenial SRU stucked since novembrer waiting on a bug verification?
[09:46] <Matthias___> I have an issue with plugs and slots in combination with the snap hugo (or even in general). Is there someone out there to help a bit?
[09:54] <davmor2> Matthias___: I would describe your issue and then see if anyone is able to help
[10:02] <mvo> seb128: I wasn't aware of this but its probably superseeded by name, no?
[10:02] <mvo> seb128: the binary snap-confine is now build by snapd itself
[10:10] <seb128> mvo, oh ok, so maybe that SRU should be deleted?
[10:11] <mvo> seb128: yes
[10:21] <seb128> mvo, zyga, can one of you let the SRU know about that then?
[10:36] <morphis> ogra_, mvo: was there any movement recently on getting groups like lxd created on Ubuntu Core systems?
[10:40] <mup> PR snapd#2626 opened: interfaces: relax path requirments for serial <Created by jocave> <https://github.com/snapcore/snapd/pull/2626>
[10:51] <mup> PR snapcraft#1048 opened: bdocs: update deprecation links <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1048>
[10:52] <ogra_> morphis, i worked on it and then got distracted by the GLES stuff
[10:53] <ogra_> (see the bug, i attached a first patch)
[10:53] <ogra_> morphis, i'll move on with it next week if thats ok for you
[11:07] <morphis> ogra_: hm, currently don't find the bug anymore, you have a link handy?
[11:36] <Matthias___> I have an issue: I am using Ubuntu Core 16.04.1 on a Raspberry Pi3.
[11:36] <Matthias___> I am also using the hugo snap 0.18.1 on this system
[11:37] <Matthias___> With hugo installed I am not able to access my home directory where my web site should be generated.
[11:38] <Matthias___> Because the interfaces hugo is using are: Slot           Plug :network-bind  hugo,nextcloud,snapweb -              hugo:home
[11:39] <Matthias___> Sofar so good. Now I thought that I just need to connect the slot home of my core system with the plug of hugo:home.
[11:39] <Matthias___> snap connect hugo:home core:home
[11:40] <Matthias___> The interfaces situation changed to: Slot           Plug :home          hugo
[11:40] <Matthias___> But still hugo can not do anything on my home location.
[11:40] <Matthias___> Any idea?
[11:49] <oSoMoN> if I claimed a reserved name in the store, how can I check the status of my request? who reviews and makes decisions?
[11:52] <mup> PR snapcraft#1047 closed: meta: support core libraries <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1047>
[11:52] <mup> PR snapcraft#1048 closed: bdocs: update deprecation links <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1048>
[11:56] <ogra_> morphis, bug 1647333
[11:56] <mup> Bug #1647333: adduser misses extrausers support for group management <patch> <Snappy:New> <adduser (Ubuntu):Confirmed> <shadow (Ubuntu):In Progress by ogra> <https://launchpad.net/bugs/1647333>
[11:56] <morphis> ogra_: thanks
[11:57] <morphis> ogra_: and how would this be triggered from a snap?
[11:57] <ogra_> it wouldnt
[11:58] <ogra_> no idea how a user/grooup management interface would look like, i just make sure the low level works at all ... the rest is interface stuff in snapd
[11:59] <ogra_> building such an interface today would simply not work, the extrausers setup has no concept of group mgmt at all today (only at user creadion a user group gets created, adding, removing and managing is not implemented)
[12:00] <ogra_> (we simply never needed it on phones)
[12:01] <ogra_> at least gpasswd and adduser itself still need additional patches for this to work
[12:10] <Matthias___> Ok guys, I found my mistake. The command to connect the home directory needs to be:
[12:10] <Matthias___> snap connect hugo:home :home
[12:11] <Matthias___> I thought I had to put "core" infront of home. Now it works.
[12:11] <Matthias___> Still a bit strange.
[12:13] <mup> PR snapcraft#1049 opened: Release changelog for 2.25 <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1049>
[12:16] <mup> PR snapd#2627 opened: daemon: make activation optional <Created by chipaca> <https://github.com/snapcore/snapd/pull/2627>
[13:00] <mardy> is it possible to use stage-packages but avoid installing all dependencies?
[13:01] <ogra_> hard dependencies are always installed i dont think you can get around this
[13:02] <ogra_> likewise recommends are always suppressed
[13:19] <Matthias___> Have a nice day, I am leaving for today.
[13:24] <mardy> ogra_: thanks
[13:26] <mardy> oSoMoN: hi! In your post about the snapification of webbrowser-app you mentioned that there's a known bug in snapcraft where ldd is used to fetch dependencies regardless of the libs provided by ubuntu-app-platform; do you have a bug number?
[13:26] <mup> PR snapd#2628 opened: many: (mis)feature/no more snapd.socket <Created by mvo5> <https://github.com/snapcore/snapd/pull/2628>
[13:43] <oSoMoN> mardy, https://bugs.launchpad.net/snapcraft/+bug/1587358
[13:43] <mup> Bug #1587358: Pack wrong libraries into snap <Snapcraft:Fix Released by kyrofa> <https://launchpad.net/bugs/1587358>
[13:43] <oSoMoN> mardy, that’s not quite as I initially reported it, but my issue was folded into that bug report
[13:44] <oSoMoN> mardy, however there’s a reliable workaround for the issue: add back stage packages for the libs that snapcraft chooses to add, and exclude their files
[13:45] <oSoMoN> mardy, this way snapcraft will acknowledge that the libs are being included (even though you can still exclude them from the resulting snap), so it won’t force their addition
[13:47] <mardy> oSoMoN: to make sure I understood it right: I should explicitly list all the stage-packages dependencies in stage-packages, and then use exclude rules to remove their files?
[13:48] <oSoMoN> mardy, yes, although you don’t need all the stage packages, only the one that contain the libs that otherwise would be pulled in by snapcraft
[13:48] <oSoMoN> the ones*
[13:49] <oSoMoN> mardy, typically you don’t need packages for qml modules, are those are loaded dynamically, not linked to your executables
[13:49] <mardy> oSoMoN: ah, got it!
[13:49] <mardy> thanks!
[13:50] <oSoMoN> yw
[13:56] <oSoMoN> popey, do you know who handles the requests to claim a reserved name in the snap store?
[14:01] <mup> PR snapcraft#1049 closed: Release changelog for 2.25 <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1049>
[14:42] <mup> PR snapd#2629 opened: interfaces: allow reading installed files from previous revisions by default <Created by jdstrand> <https://github.com/snapcore/snapd/pull/2629>
[15:07] <jdstrand> ogra_: hey-- thanks for the upload of linux-generic-bbb to edge. I notice that r8 is in edge, r7 in beta and r6 in stable. do you recommend I follow edge?
[15:07] <ogra_> jdstrand, ah, sorry, i havent pushed it to the other channels yet
[15:08] <jdstrand> ogra_: I promise I'm not trying to be a pest. it seems that the review tools allowed it (there was a fast turn around on the store pull yesterday)
[15:08] <ogra_> it is definitely in ...
[15:09] <jdstrand> it is in. I just don't know if you poked someone or if it was automatic
[15:09]  * jdstrand checks the log
[15:09] <ogra_> i triggered the build ...
[15:09] <ogra_> thats all
[15:09] <jdstrand> OK (override 'linux-generic-bbb' for 'type: kernel') lint-snap-v2_snap_type_redflag
[15:09] <jdstrand> and it is at r824. cool
[15:09] <ogra_> the rest seems to have been automatic ..
[15:09] <jdstrand> 'it' being the review tools
[15:09] <jdstrand> perfect. that was the goal :)
[15:10] <ogra_> and i just pushed it to all channels
[15:10]  * jdstrand hugs ogra_ :)
[15:10] <ogra_> well, thanks for the ping, i would have forgotten about it
[15:11] <jdstrand> :)
[15:19] <mup> PR snapd#2549 opened: cmd/snap-confine: add shutdown helper <Created by chipaca> <https://github.com/snapcore/snapd/pull/2549>
[15:38] <Trevinho> jdstrand: hey, shouldn't this be the case https://bugs.launchpad.net/snap-confine/+bug/1620442/comments/9 ?
[15:38] <mup> Bug #1620442: snap fails because XDG_RUNTIME_DIR is set to /run/user/1000 <snapd-interface> <Snappy Launcher:Fix Released by jdstrand> <Snappy:Fix Released by jdstrand> <https://launchpad.net/bugs/1620442>
[15:40] <zyga> Trevinho: this was reverted
[15:40] <zyga> Trevinho: the fix was partially incorrect, I'll get back to it after some other snap-confine work
[15:41] <Trevinho> zyga: mhmhmhmhmmh, soooooo.... I should expect that var not to be set again?
[15:41] <Trevinho> zyga: That's on xenial's snapd
[15:41] <Trevinho> and I'd like to use that path for some temporary data that the classic os should be able to read
[15:45] <zyga> it's not going to exist, it will be set but should be unusable for now
[15:46] <rvr> mvo: Have you seen anything similar to this errors before? http://paste.ubuntu.com/23792712/
[15:46] <Trevinho> zyga: When creating it it currently works...
[15:47] <zyga> Trevinho: right, the part that was reverted was the mkdir-like code that created the directory on app startup
[15:47] <Trevinho> zyga: ah, ok.. and is that going to be readded, though... Right?
[15:48] <jdstrand> Trevinho: it should be. zyga removed the PR to snap-confine (before 2.20 release) that did that since he was changing some other bits and wanted to get those sorted first. AIUI, he was going to add it back at some point
[15:48] <jdstrand> ah, heh
[15:48] <zyga> jdstrand: yes, we'll add it back after snap-alter-ns I suspect
[15:48] <Trevinho> so... I'm opening a bug and assignging that to zyga then :-)
[15:49] <zyga> jdstrand: I'm doing small clean-ups and I wanted to resurrect the improved mkdir code and then use it it
[15:49] <zyga> yep, thank you
[15:49]  * jdstrand nods
[15:49] <snappy_beginner> Hi all
[15:50] <jdstrand> zyga: note that bug #1656289 is being discussed on the list. I assigned to you so you'd see the bug email, but feel free to adjust
[15:50] <mup> Bug #1656289: [Regression] 2.20.1ubuntu1 breaks snaps that use ALSA <regression-update> <snapd (Ubuntu):New for zyga> <https://launchpad.net/bugs/1656289>
[15:50] <mup> PR snapd#2627 closed: daemon: make activation optional <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2627>
[15:50] <mup> PR snapd#2629 closed: interfaces: allow reading installed files from previous revisions by default <Created by jdstrand> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2629>
[15:51] <snappy_beginner> I would like to ask a question regarding plugging into a specific interface. I've read few papers about ubuntu core/apparmor/seccomp
[15:51] <snappy_beginner> but I'm stuck with connection to specific interface
[15:51] <zyga> jdstrand: thanks, I'll check it out soon
[15:51] <snappy_beginner> which is: "kernel-module-control"
[15:51] <zyga> I was out most of the day, my laptop needed to be delivered to a service center and I took some time off to walk aroudn
[15:51] <jdstrand> zyga: this only just came up
[15:52] <snappy_beginner> do you know guys if it is super prohibited interface ? I'm unable to install app that plugs into this i-face
[15:52] <jdstrand> so, no worries
[15:52] <jdstrand> snappy_beginner: it is super-privileged
[15:52] <snappy_beginner> Ok.
[15:52] <snappy_beginner> sudoer could install such app then?
[15:52] <zyga> jdstrand: ALSA lib conf.c:3759:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf -- this looks like core snap change if nothing else
[15:53] <jdstrand> snappy_beginner: as such it needs something called a snap declaration in the store to allow installation via the store. however, newer snapd (I think 2.20) allows local installs to work when installing with --dangerous
[15:53]  * zyga looks at email
[15:53] <jdstrand> zyga: the core snap should never have had that file
[15:53] <Trevinho> zyga: I can't assign it to you it seems, but... here it is https://bugs.launchpad.net/snapd/+bug/1656340
[15:53] <mup> Bug #1656340: XDG_RUNTIME_DIR is not created on app startup <snapd:Confirmed> <https://launchpad.net/bugs/1656340>
[15:53] <jdstrand> zyga: but perhaps it did...
[15:53] <snappy_beginner> jdstrand: yes, I'm trying to install it locally with devmode and dangerouse switches
[15:53] <snappy_beginner> :)
[15:53] <jdstrand> snappy_beginner: what version of snapd do you have installed?
[15:54] <ogra_> zyga, there has never been any alsa in the core snap
[15:54] <ogra_> (and there likely wont be)
[15:54] <snappy_beginner> 2.16
[15:54] <snappy_beginner> (jdstrand: 2.16
[15:54] <jdstrand> snappy_beginner: upgrade to 2.20 and it will be installable with --dangerous
[15:55] <snappy_beginner> Oh yeah
[15:55] <snappy_beginner> thanks jdstrand
[15:55] <snappy_beginner> btw: I would have another question then.
[15:55] <snappy_beginner> suppose I'm device owner and it has already kernel module up and running - I can connect to it and it is operable.
[15:56] <snappy_beginner> Is it a great effort to create the interface from a scratch?
[15:56] <snappy_beginner> I mean, it would be similar to 'tpm' which is already ready to use
[15:57] <jdstrand> snappy_beginner: no. look at the recent openvswitch-support interface
[15:57] <jdstrand> snappy_beginner: all it does is ask snapd to load the openvswitch module
[15:57] <snappy_beginner> ok
[15:58] <jdstrand> snappy_beginner: I might point out a coupel of things. many modules autoload when you try to access the kernel functionality, so you don't need an interface like this. a few do, like openvswitch and ip6table_filter and iptable_filter, so there are interfaces for those
[15:59] <snappy_beginner> ok ok
[15:59] <snappy_beginner> jdstrand: last question
[16:00] <jdstrand> snappy_beginner: 2nd, depending on what your project is, you might be able to have your own kernel snap. I think (perhaps this is a future thing), the gadget snap will allow you to have certain modules loaded (ogra_, do you know otoh?)
[16:00] <snappy_beginner> this module is already there
[16:00] <snappy_beginner> on the snappy ubuntu
[16:00] <ogra_> well, you could ship an /etc/modules-load.d file in the gadget
[16:01] <snappy_beginner> thats why I want from my app to plug into kernel-module-control i-face
[16:01] <jdstrand> ah, there you go
[16:01] <snappy_beginner> and if I;m understanding this correctly, my app will get access over apparmor and seccomp to specific device which requires privileged access?
[16:02] <ogra_> through an interface, yes
[16:02] <snappy_beginner> great
[16:02] <snappy_beginner> it is awesome.
[16:02] <snappy_beginner> really
[16:03] <jdstrand> snappy_beginner: kernel-module-control gives device ownership to the snap since it can modify how the kernel behaves, including disabling all security policy. its use is strongly discouraged which is why the other methods exist. having an interface that asks snapd to load it is safe. having the gadget ensure it is loaded is safe. letting a snap load any modules into the kernel places ultimate trust in that snap
[16:03] <snappy_beginner> it sounds logic
[16:04] <jdstrand> some things obviously need kernel-module-control. eg, a livepatch snap
[16:05] <snappy_beginner> jdstrand: so anyway. the ultimate conclusion is: I should provide new interface over a gadget that can send i/o to this specific kernel module right?
[16:05] <jdstrand> so snapd regulates kernel-module-control. unsigned installs (ie, using --dangerous) you're free to do what you want of course
[16:06] <jdstrand> snappy_beginner: the gadget doesn't need an interface. the gadget is there to configure things for the system/device. ogra_ mentioned it is allowed to drop a file in /etc/modules-load.d. put the name of your module in there and create an image using your gadget and install on the device and your set
[16:06] <snappy_beginner> ah ok
[16:07] <snappy_beginner> understand
[16:07] <jdstrand> snappy_beginner: an interface is only needed if you want an 'app snap' to ask snapd to load the module for you
[16:07] <ogra_> well, you can define interfaces in the gadget.yaml file too
[16:07] <jdstrand> snappy_beginner: and how snapd does that is dropping a file into /etc/modules-load.d
[16:07] <jdstrand> ogra_: fair point
[16:07] <snappy_beginner> Ok
[16:08] <jdstrand> if an interface is defined, the gadget could use it. if it isn't, it can put a file in /etc/modules-load.d
[16:08] <jdstrand> snappy_beginner: mind saying which module it is?
[16:08] <ogra_> you can even do both ;)
[16:08] <snappy_beginner>  it is /dev/mei :)
[16:08] <ogra_> force the module to be permanently loaded ... use an interface for device access management
[16:09] <snappy_beginner> and this one requires the accessing process to be privileged
[16:09] <jdstrand> snappy_beginner: that sounds like it would be good for an interface actually. you create a PR that loads the kernel module, and then add accesses to allow using it in the security policy
[16:10] <jdstrand> snappy_beginner: see openvswitch-support for the former and io-ports-control for the latter
[16:10] <snappy_beginner> So I'm thinking on how it should be implemented in the new security fashion of ubuntu core
[16:10] <snappy_beginner> the module is already loaded
[16:11] <jdstrand> if you are implementing this, reference https://www.kernel.org/doc/Documentation/misc-devices/mei/mei.txt. we can iterate on the contents of the security policy in the pr
[16:44] <mup> Issue # closed: snapd#2484, snapd#2514, snapd#2541, snapd#2552, snapd#2553, snapd#2568, snapd#2569, snapd#2572, snapd#2576, snapd#2594, snapd#2603, snapd#2625
[16:44] <mup> PR # closed: snapd#2226, snapd#2230, snapd#2236, snapd#2251, snapd#2256, snapd#2277, snapd#2302, snapd#2328, snapd#2347, snapd#2359, snapd#2360, snapd#2368, snapd#2392, snapd#2397, snapd#2407, snapd#2411, snapd#2416, snapd#2417, snapd#2421, snapd#2448, snapd#2449, snapd#2475, snapd#2477,
[16:44] <mup> snapd#2482, snapd#2488, snapd#2513, snapd#2515, snapd#2524, snapd#2528, snapd#2529, snapd#2542, snapd#2545, snapd#2546, snapd#2549, snapd#2558, snapd#2570, snapd#2575, snapd#2579, snapd#2581, snapd#2583, snapd#2585, snapd#2586, snapd#2588, snapd#2591, snapd#2592, snapd#2595, snapd#2596, snapd#2600,
[16:44] <mup> snapd#2604, snapd#2613, snapd#2622, snapd#2623, snapd#2624, snapd#2626, snapd#2628
[16:44] <genii> hm
[16:45] <mup> Issue # opened: snapd#2484, snapd#2514, snapd#2541, snapd#2552, snapd#2553, snapd#2568, snapd#2569, snapd#2572, snapd#2576, snapd#2594, snapd#2603, snapd#2625
[16:45] <mup> PR # opened: snapd#2226, snapd#2230, snapd#2236, snapd#2251, snapd#2256, snapd#2277, snapd#2302, snapd#2328, snapd#2347, snapd#2359, snapd#2360, snapd#2368, snapd#2392, snapd#2397, snapd#2407, snapd#2411, snapd#2416, snapd#2417, snapd#2421, snapd#2448, snapd#2449, snapd#2475, snapd#2477,
[16:45] <mup> snapd#2482, snapd#2488, snapd#2513, snapd#2515, snapd#2524, snapd#2528, snapd#2529, snapd#2542, snapd#2545, snapd#2546, snapd#2549, snapd#2558, snapd#2570, snapd#2575, snapd#2579, snapd#2581, snapd#2583, snapd#2585, snapd#2586, snapd#2588, snapd#2591, snapd#2592, snapd#2595, snapd#2596, snapd#2600,
[16:45] <mup> snapd#2604, snapd#2613, snapd#2622, snapd#2623, snapd#2624, snapd#2626, snapd#2628
[17:29] <snappy_beginner> hey folks once again
[17:29] <snappy_beginner> I do have last question.
[17:30] <qengho> Ask.
[17:30] <snappy_beginner> supousedly I will have my own interface in snapd
[17:33] <qengho> Like this? http://www.zygoon.pl/2016/08/creating-your-first-snappy-interface.html
[17:35] <snappy_beginner> sorry, got disconnected
[17:36] <snappy_beginner> so the question was - how to deliver modified snapd to this system abeato when it is read only?
[17:36] <qengho> Like this? http://www.zygoon.pl/2016/08/creating-your-first-snappy-interface.html
[17:40] <snappy_beginner> thanks :P
[17:40] <snappy_beginner> oh
[17:43] <zyga> snappy_beginner: merge it upstream
[17:43] <zyga> snappy_beginner: that's the only way
[17:44] <zyga> snappy_beginner: we will happily take contributions
[17:44] <zyga> I should write a 2nd version of that blog post soon
[17:45] <qengho> sorry, zyga.
[17:47] <snappy_beginner> zyga: I will be more than happy to contribute ;)
[18:05] <zyga> qengho: about what?
[18:05]  * zyga was referring to the new interface APIs that are slowly happening next week
[18:06] <qengho> zyga: for referring someone to something you feel you must rewrite.
[18:06] <zyga> qengho: that blog post is accurate for now
[18:07] <zyga> qengho: I just realized that with the patches I've been working on this week it will get out of date
[18:07] <qengho> Ah.
[18:07] <zyga> qengho: I'll document it on the wiki so that it is easier to keep up-to-date
[18:07] <zyga> and I cannot wait to see the new APIs in place, it will be much easier to write an interface :)
[18:39] <mup> PR snapd#2595 closed: daemon: re-enable reexec <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2595>
[19:26] <mhall119> zyga: does the configure hook get run before or after the daemons are started?
[19:28] <zyga> mhall119: after
[19:28] <zyga> AFAIK
[19:28] <mhall119> is there anything that runs before? I need to create a config file before the service starts
[19:32] <mhall119> zyga: or is there a way to restart the daemon from within the hook?
[19:33] <zyga> mhall119: no
[19:33] <zyga> mhall119: no
[19:33] <zyga> sorry :/
[19:33] <mhall119> zyga: hey, so this is fun: http://paste.ubuntu.com/23793926/
[19:37] <mhall119> jdstrand: this one's for you, the snappy-debug scanlog advises me to use plugs I'm already using: http://paste.ubuntu.com/23793938/
[19:37] <zyga> mhall119: is there any apparmor or seccomp denial?
[19:37] <zyga> mhall119: the hook is not using those
[19:37] <mhall119> zyga: the apparmor denials in that second pastebin
[19:37] <jdstrand> mhall119: are they connected?
[19:37] <jdstrand> mhall119: snap interfaces
[19:38] <mhall119> jdstrand: not sure, the install fails because of what I pasted to zyga
[19:38] <jdstrand> mhall119: I really doubt transmission would need 'network-control'
[19:39] <zyga> mhall119: I bet that the hook doesn't have those (see snapcraft.yaml) and thus cannot work
[19:39] <jdstrand> mhall119: mount-observe and network-control are not auto-connected
[19:39] <mhall119> zyga: ah, snapcraft doesn't like the hooks: section, I'll try adding it to snap.yaml
[19:39] <zyga> mhall119: I don't know about that, sorry
[19:39] <zyga> mhall119: and there's also a bug in golang that causes all the hooks to require network-bind
[19:40] <zyga> mhall119: it's tracked but I don't recall the URL now
[19:40] <zyga> mhall119: and because snapctl is implemented in golang all the hooks are affected
[19:42] <kgunn> ogra_: it's still correct that pulse audio doesnt' work right?
[19:42] <kgunn> re kodi, it'd only be good for silent movies atm :)
[19:44] <mcphail> Hmm. I thought I had PA working in a game I snapped a while ago, in dosbox...
[19:54] <mup> PR snapd#2630 opened: many: detect potentially insecure use of snap-confine <Created by zyga> <https://github.com/snapcore/snapd/pull/2630>
[20:01]  * zyga EODs
[20:41] <mup> PR snapd#2631 opened: releasing package snapd version 2.21 <Created by mvo5> <https://github.com/snapcore/snapd/pull/2631>
[20:57] <mhall119> zyga: jdstrand: anything I can do about this:
[20:57] <mhall119> = Seccomp =
[20:57] <mhall119> Time: Jan 13 15:56:45
[20:57] <mhall119> Log: auid=4294967295 uid=0 gid=0 ses=4294967295 pid=25360 comm="transmission-da" exe="/snap/ubuntu-desktop-seed/x3/usr/bin/transmission-daemon" sig=31 arch=c000003e 179(quotactl) compat=0 ip=0x7f301989b0ca code=0x0
[20:57] <mhall119> Syscall: quotactl
[20:57] <jdstrand> there is a bug on that. for transmission in particular
[20:57]  * jdstrand finds it
[20:59] <jdstrand> mhall119: https://bugs.launchpad.net/snappy/+bug/1626359. See comment #1. I'm actually working on seccomp arg filtering policy as we speak and this is one of the things I'm going to fix
[20:59] <mup> Bug #1626359: Cannot authorise quotactl syscall for Q_GETQUOTA <snapd-interface> <Snappy:Triaged by jdstrand> <https://launchpad.net/bugs/1626359>
[20:59] <jdstrand> mhall119: to work around it, add quotactl to /var/lib/snapd/seccomp/profiles/snap.your.thing
[20:59] <jdstrand> mhall119: if yoy install/remove/refresh you will have to add it back
[21:28] <mhall119> thanks jdstrand, that fixes my last issue
[22:02] <skri> hi
[22:02] <skri> I am looking for help: how can I provide multiple executibles in a snap?
[22:03] <skri> executables*
[22:04] <mhall119> skri: the apps: section of your snapcraft.yaml can have multiple entries, one for each executab;e
[22:05] <mhall119> skri: see "Apps and commands" section here: http://snapcraft.io/docs/build-snaps/syntax
[22:05] <mhall119> http://snapcraft.io/docs/build-snaps/metadata has some examples of doing this
[22:05] <skri> mhal119: thank you, but I am missing something because I get an error: Issues while validating snapcraft.yaml: The 'apps' property does not match the required schema: Additional properties are not allowed
[22:06] <mhall119> skri: sounds like a simple syntax error somewhere, can you put your snapcraft.yaml on paste.ubuntu.com?
[22:10] <skri> mhall119: I uploaded it to pastebin http://pastebin.com/8mRk0A1W
[22:11] <mhall119> skri: hmmm, you may not be able to have periods in your app name
[22:12] <skri> oooh
[22:12] <skri> that is not so good news :-(
[22:12] <mhall119> also, python and pip aren't going to do much for you in strict confinement, are you aware of the new "classic" interface?
[22:12] <skri> thanks for your help, mhall119!
[22:12] <skri> no, I am not
[22:13] <skri> I am still learning snappy
[22:13] <mhall119> ok, so "classic" was introduced to support things that don't make sense to run in strict confinement
[22:13] <skri> I wanted to have an easily deployable python build
[22:13] <mhall119> I'm not sure the new documentation for "classic" has even been published yet...
[22:14] <skri> I was imagining that I could tell pip to use the workspace provided by snappy somehow
[22:14] <mhall119> snaps are usually aimed at "leaf" applications, which can be confineed and self-contained
[22:14] <mhall119> but in confinement they can't read or write to the rest of the filesystem, which python and pip would certainly need to do
[22:15] <mhall119> classic confinement will let them do that
[22:15] <mhall119> I *think* all you have to do is switch your line 4 to confinement: classic
[22:15] <mhall119> but zyga (already off for the day) can give more info tomorrow if you're around earlier
[22:16] <mhall119> ah, we did published the new docs: http://snapcraft.io/docs/reference/confinement
[22:17] <skri> sounds like a simple change, thanks :-)
[22:18] <skri> I wanted to move in small steps and get some i/o error from python or something
[22:21] <skri> it seems from the confinement docs that even in strict confinement the global path /var/snap/<snap>/common and the user-specific path /home/$USER/snap/<snap>/common are both writable in strict confinement
[22:25] <kyrofa> skri, indeed, SNAP_DATA and SNAP_USER_DATA are always writable, even in strict comfinement
[22:26] <kyrofa> As are SNAP_COMMON and SNAP_USER_COMMON
[23:39] <skri> so, I managed to finally create a simple python snap
[23:40] <skri> lessons learnt: 1. no points in identifiers 2. plugins != plugin
[23:40] <skri> the second one took a while
[23:41] <skri> I can start the python interpreter in strict confinement
[23:41] <skri> maybe this'll be enough
[23:42] <skri> thanks for the help from mhall119 and kyrofa