/srv/irclogs.ubuntu.com/2016/11/29/#snappy.txt

=== LiX is now known as Guest33445
sitterjdstrand, mhall119: about KDE dbus usage... org.kde.$name-$pid is used when the application can have multiple instances running at the same time. they all claim their own address on the bus due to their pid, but you can still find them all due to the basename. applications where multiple instances make no sense do simply not use the pid extension. that being said we do generally know which of the two forms an application will use and we do generally05:09
sitterknow the basename05:09
dholbachhey hey07:47
mupPR snapd#2366 closed: interfaces: apparmor support for classic confinement <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2366>07:58
mupBug #1645605 opened: No alsa module on ubuntu core image <Snappy:New> <https://launchpad.net/bugs/1645605>08:00
mupPR snapd#2361 closed: snap: fix try command when daemon linie is added <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2361>08:03
didrocksrenato__: hey! Did you open a bug for snap connect not working after the first run of a snap using the content interface? If not, do you mind opening one?08:09
mupBug #1645606 opened: Default ubuntu core Pi2 configuration doesn't allow to use fullscreen browser <Snappy:New> <https://launchpad.net/bugs/1645606>08:09
=== chihchun_afk is now known as chihchun
zygaogra_: hey, I was thinking about simplifying the various repos on https://code.launchpad.net/snappy-hub08:30
zygaogra_: specifically I'd like to move the gadget snaps for reference platforms over to github.com/snapcore/08:30
zygaand to give them their proper projects on launchpad so that they can have bugs associated with them08:31
=== JanC is now known as Guest13710
=== JanC_ is now known as JanC
ogra_zyga, well, i'd like to start auto-builds for the gadgets before end of year ... i dont think we have that for github projects yet (ICBW though)09:08
ogra_i'd prefer to wait with the move til github is fully supported09:09
zygaogra_: my idea is to mirror them to launchpad09:12
zygaogra_: but use git in both places09:12
zygaogra_: and to really make the reference code discoverable09:12
zygaogra_: can you show me which of the 50 branches on snappy-hub contains the published pi2 and pi3 gadgets? I'd like to start with those09:13
ogra_dunno, do we have auto-buiollds for that in place (i.e. you can bump the version and out comes a snap )09:13
ogra_huh ? 50 branches ?09:13
zygaogra_: github -> (git mirror) -> launchpad project -> (snapcraft.yaml auto build to edge) -> store09:13
zygahttps://code.launchpad.net/snappy-hub09:13
ogra_doesnt open here09:14
ogra_http://bazaar.launchpad.net/~snappy-dev/snappy-hub/snappy-systems/files09:15
zygaodd, this works here: https://code.launchpad.net/snappy-hub09:15
ogra_thats the master branch we always used09:15
zygaok09:15
zygathanks, I'll use that09:15
ogra_i didnt even know that there was anything else under snappy-hub :P09:15
zygahow does it auto build09:15
ogra_but i had plabnned to re-work it comp,ltely to use archive packages for the bootloader binaries etc09:16
ogra_and for auto builds09:16
ogra_(we dont have that yet ... this move kind of trashes my plans then)09:16
zygaogra_: hmm, why?09:16
ogra_why what ?09:16
zygaogra_: (it's not a plan, I want to make the sources for gadgets discoverable)09:16
zygawhy does it trash that plan?09:16
zygaI want people to be able to find them, report bugs against them and fork them for local tinkering09:17
ogra_well, it adds complexity, it doesnt "trash"them ... sorry :)09:17
zygaah09:17
zygaI hope you just use git09:17
zygaand that's it09:17
zygathe rest should be automatic09:17
zygaogra_: later on we should be able to build them with snapcraft as well09:17
zygaogra_: right now I'll just add a readme file and we can work from there09:17
zygaogra_: does that sound good to you? anything I'm missing"09:18
ogra_well, i'd like to sdo the snapcraft (and first of all the deb part) first09:18
ogra_we dont have sources for some of the uboot builds etc09:18
ogra_and foundations insists these should all be deb based in the archive09:18
ogra_i think it would make sense to have a meeting before we change the world09:19
zygahmm09:19
ogra_i.e. we need all the binaries in these trees packaged and reviewed (which is partially their responsibiliry)09:20
zygathe archive part is interesting, I suspect we're going to use archives but everyone building their own won't care about that09:20
ogra_exactly09:20
zygaright now it's pretty hard to find our gadgets and even harder to make sense of this all and how to tweak e.g. the pi2 one09:20
ogra_apart from BBB these are all official bits that need a classic image equivalent09:20
zygaI think the git move is separate and should not wait on this09:20
ogra_which means they need to have debs for the bootloader09:20
ogra_so to not do the work twice we should start with the debs09:21
zygaI think I'm still missing something09:21
zygaIf all I do is move the current branch to git and publish it on snapcore/*09:21
ogra_turning on auto-builds and have snapcraft builds is indeed a side job but moving away from LP adds a lot of complexity09:21
zygathen everyone working on this can continue to do what they do there09:21
zygaand it's easier to find09:21
zygano09:22
ogra_i'd prefer to have everything ready and done and*then*Ü do the move)09:22
zygaremember: lp can mirror git!09:22
zygawe can do the move in 3 hours and then all git commits on github show up in launchpad (as git) and can be acted upon09:22
ogra_without any intervention now ?09:22
zygayes, I think so09:22
ogra_last i chercked you needed to manually do that first every time09:22
zygamanually do the git mirrors?09:23
zygaI can check, give me a sec09:23
ogra_yes09:23
zygaogra_: btw, I also feel this should be a repo-per-gadget09:23
ogra_we should have a reference repo for porters ... but i like to have all bits in one place for the official images09:24
ogra_though if you insist ...09:24
zygaogra_: this means no snapcraft builds09:24
zygaogra_: one repo per snapcraft.yaml I think09:24
ogra_(makes everything harder imho)09:24
zygaogra_: and also, bbb is not officially supported so it'd have to be somewhere else09:24
zygaogra_: I understand the transition is difficult but current situation is very bad for everyone trying to figure out how this works and fork something to expeirment09:25
ogra_well, irt is the only one that can use unpartitioned bootloader paertitions ... which makes it a good example09:25
ogra_but well, go ahead and rip it apart ... it will take me a lot longer to sort everything then though09:26
zygaogra_: that's all fair, we need to just find a spot for all the (large) number of non-officially supported devices09:26
zygaogra_: don't get me wrong, I don't want to make your life harder09:26
zygaogra_: I hope we can all benefit from this09:26
zygaogra_: please help me help everyone09:26
ogra_(kind of trashes my planning ... but it wasnt high on my TODO (i.e. notz before EOY) anyway)09:26
abeatomvo, hi, I re-pushed https://github.com/snapcore/snapd/pull/2252 to re-run the tests, most of them worked this time. The few that did not seem to be due to infrastructure: "cannot connect to linode:..." etc09:27
mupPR snapd#2252: interfaces: add unconfined access to modem-manager <Created by alfonsosanchezbeato> <https://github.com/snapcore/snapd/pull/2252>09:27
zygaogra_: can you still execute your plan the way you want when this is on git on github in snapcrore?09:27
ogra_sure, i just need more time to adapt to the new stuff first09:27
zygaogra_: to git vs bzr or is there something else?09:28
ogra_to a completely new setup and all the possible (and unplanned) differences in that09:28
zygaogra_: but all I want to do is to move the repository, is that what you mean?09:29
ogra_my plan was simply a different order and not to sit down and find out how/if auto-builds work, to re-arrange the world etc etc as the first step09:29
ogra_i.e. make things work first and *then* do the chasnges09:29
zygaogra_: I see, if we waited till next year would that make it eaier for you?09:30
ogra_but as i said, i only have two weeks before EOY ... i wont finish that stuff in that time anyway09:30
ogra_and we need to coordinate with foundations somehow for everything but BBB09:31
ogra_since they will want a central place for the binaries that also the debs can use09:31
ogra_(uboot, blobs etc)09:32
zygaogra_: can that be the git repo perhaps?09:32
ogra_no09:32
didrockszyga: on alsa: if I'm correct, there are multiple sound modules and they have different names depending on the card09:32
zygaogra_: why not?09:32
ogra_not if the git repo has not been completely changed from what the LP one contains today09:32
didrocksogra_: do you know if this is correct? ^09:33
zygadidrocks: interesting, how does it work on classic?09:33
ogra_the repo will end up to only have a snapcraft.yaml in the end09:33
didrockszyga: it's a very good question, I never dive into this part, pulseaudio worked for me :p09:33
zygaogra_: interesting, and where will all the source code be?09:33
ogra_zyga, preferably debs in the archive09:33
ogra_so the classic images can use them09:33
zygaogra_: hmm, I see09:34
zygaogra_: I think this is somewhat difficult for others (poor reference) because they will start with uboot tree09:34
zygaogra_: not with any debss09:34
zygaogra_: but perhaps we can find a way to accomodate that somehow09:34
didrockszyga: can you try to lsmod | grep snd on your machine?09:34
didrocksI do have:09:34
didrockssnd                    81920  18 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device09:34
didrocks(notice the thinkpad_acpi)09:34
ogra_zyga, the only arch that can use a uboot tree only is the BBB09:34
ogra_zyga, all others need additional blobs09:35
zygaogra_: that's fine but my point is that the snapcraft.yaml that is deb based is not aligned with people that want to create a gadget for their board that uses some bootloader and they build it from sources09:35
didrockszyga: ah, the machine-dependant one for me is: cat /proc/asound/modules09:35
didrocks 0 snd_hda_intel09:35
ogra_didrocks, there are /usr/share/alsa/cards and /usr/share/alsa/ucm09:35
zygadidrocks: I'm on a VM here, on my thinkpad natively I'd probably get the same thing09:36
ogra_they have the default configs for certain cards09:36
ogra_zyga, yes, so using our official gadget trees as reference is perhaops the wrong thing altogether09:36
didrockszyga: and look at /etc/modprobe.d/alsa-base.conf09:36
didrocksthose are the rules09:36
ogra_zyga, like our kernel snaps are not even remotely related to what the kernel snapcraft plugin gives you09:36
mvoabeato: aha, I have a look, thank you09:37
abeatogreat, np09:37
didrocksogra_: context is bug #164560509:37
mupBug #1645605: No alsa module on ubuntu core image <snapd-interface> <Snappy:Incomplete by zyga> <https://launchpad.net/bugs/1645605>09:37
=== chihchun is now known as chihchun_afk
ogra_zyga, anyway, do what you feel you need to do ...09:38
mvodidrocks: hey, thanks for the additional info in the download bug \o/ I'm going through it now and try to make sense of it09:38
ogra_didrocks, BSPs usually have their sound bits builtin ... also arm boards usually use UCM09:39
didrocksmvo: thanks! If there is anything else I can do to help debugging, I have my setup started here09:39
=== chihchun_afk is now known as chihchun
ogra_didrocks, anyway ... your alsa bug is a kernbel bug in the first place09:46
ogra_(if you dont find a soundcard there is either the UCM setup or the module missing in the kernel)09:47
ogra_i thought we had that enabled but /proc/asound/cards is empty on all boards here09:47
ogra_so first of all the kernel needs the bits enabled to turn on UCM ... and it should ship the right UCM config09:48
zygare09:51
zygaogra_: that's true09:51
zygaogra_: I guess we have to decide what to do then09:51
zygaogra_: perhaps we need "both" to the point where those are identical (long term plan)09:51
zygaogra_: perhaps something else entirely09:51
ogra_well, rolling a gadget isnt "have that ubioot tree and drop a snbapcraft.yaml in"09:52
ogra_it is sadly a lot more complex09:52
zygaogra_: indeed09:53
zygaogra_: do you think it can be, eventually, a snapcraft.yaml in a tree of sources (and blobs if there's no source for them) that builds all the way?09:53
ogra_anyway, if you feel it is urgent to do that github move and split of trees right now, go ahead09:53
ogra_no09:53
ogra_you need a lot of manual work, tinkering and testing to find the right setup before being able to build your first gadget if it is a completely new arch09:54
zygaogra_: oh, sure, I mean our references09:54
ogra_we should have a reference tree for every bigger setup imho09:54
zygaogra_: do you think we can eventually build them from source all the way?09:54
ogra_(i.e. we dont have anything for sunxi boards ... proting to that will be a pain for users)09:55
ogra_we can surely build parts opf them from source ... really depends on the board09:55
zygaogra_: I see, thanks for the input09:55
zygaogra_: I'm not going to do anything right now, I've added a card to track this09:55
ogra_the only arches where booting does nto depend on binary blobs are x86 and BBB thogh09:55
ogra_*not09:56
zygaogra_: I'd like to improve the visibility of the gadgets09:56
zygaogra_: and perhaps de-mystify them a little09:56
ogra_+109:56
zygaogra_: but it's a complex topic and I don't want to just break more than I improve09:56
seb128is there any documentation about the dump plugin?09:57
ogra_well, i think forst of all we should have a meeting or so with foundations09:57
seb128http://snapcraft.io/docs/reference/plugins/dump is virtually empty09:57
ogra_to clearly line out a plan ...09:57
zygaogra_: that's a good idea09:57
seb128the "examples" also sends you to an empty page09:57
zygaogra_: preferably early so that everyone can think about this over xmas09:57
ogra_i had hoped to do that in the hague ... but there was not much foundations there09:57
ogra_(i want steve and adam in that meeting)09:58
zygaogra_: so slangasek and ...  (slipped my head)10:01
zyga(and looking at /names doesn't help)10:01
ogra_the infinite one ;)10:01
ogra_infinity in case that wasnt clear :)10:02
mupPR snapd#2369 opened: snap: disable support for socket activation <Created by stolowski> <https://github.com/snapcore/snapd/pull/2369>10:15
Chipacadoes adt-buildvm-ubuntu-cloud on xenial not work to build yakkety images?10:29
mvoChipaca: you need the version from xenial-backports iirc10:30
mvoChipaca: apt install autopkgtest/xenial-backports10:31
Chipacamvo, ah! thanks10:32
Chipacathat works, indeed10:33
mupPR snapd#2363 closed: snap: support "daemon: notify" in snap.yaml <Created by mvo5> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/2363>10:33
zygaogra_: right, that was clear, thanks :)10:49
ogra_:)10:50
mupPR snapd#2370 opened: i18n: use github.com/ojii/gettext.go (pure go) for i18n to avoid cgo <Created by mvo5> <https://github.com/snapcore/snapd/pull/2370>11:05
=== chihchun is now known as chihchun_afk
gerry_snappy-debug suggestion "* adjust program to not require 'CAP_DAC_OVERRIDE' (see 'man 7 capabilities')" anybody have any idea how to do this?11:23
mupBug #1402536 changed: snappy install should support version/hash to get specific version from the store <Snappy:Invalid> <https://launchpad.net/bugs/1402536>11:26
mupBug #1413185 changed: Snappy remote install requires password three times <snappy> <Snappy:Fix Released> <https://launchpad.net/bugs/1413185>11:26
mupBug #1457491 changed: Upgrade from r41 to r55 on BBB failed to boot and also to failover (drops into rescue systemd mode) <snappy-robustness> <Snappy:Won't Fix> <https://launchpad.net/bugs/1457491>11:35
mupBug #1459642 changed: If a gadget install fails, udev is not cleaned up <Snappy:Won't Fix> <Snappy 15.04:Won't Fix> <https://launchpad.net/bugs/1459642>11:35
mupBug #1464944 changed: no way to configure keyboard layout <Snappy:Fix Released> <https://launchpad.net/bugs/1464944>11:50
mupBug #1466682 changed: Docker unix socket permission issue on ubuntu-core update <Snappy:Fix Released> <https://launchpad.net/bugs/1466682>11:50
zygaogra_: invinte sent, let me know if that's that's too late for you11:50
mupBug #1468958 changed: selftests print "no such file or directory" on error <Snappy:Fix Released> <https://launchpad.net/bugs/1468958>11:53
renato__didrocks, hey, I saw someone complaining about that on the ml, I think there is a bug already. Let me find it11:53
ogra_zyga, hmm, its ok ... are you sure that short of a notice works for the others though ?11:54
mupBug #1472721 changed: snappy update shows no message when there are no updates <Snappy:Fix Released> <https://launchpad.net/bugs/1472721>11:56
mupPR snapd#2371 opened: daemon, store: let snap info find things in any channel <Created by chipaca> <https://github.com/snapcore/snapd/pull/2371>11:57
mupBug #1472802 changed: ubuntu-core timezone config has no effect <Snappy:Won't Fix> <https://launchpad.net/bugs/1472802>11:59
zygaogra_: if not we can move12:01
mupBug #1474125 changed: Image got in a broken state after update -> rollback -> update (wrong kernel) <Snappy:Fix Released> <Snappy 15.04:Fix Released by sergiusens> <https://launchpad.net/bugs/1474125>12:02
renato__didrocks, ohh, just saw that you replied the e-mail asking to open the bug, but did not get reply. Let me open it12:03
mupBug #1479027 changed: package.yaml docs missing releases OR frameworks fields <snap-docs> <Snappy:Won't Fix> <https://launchpad.net/bugs/1479027>12:08
mupBug #1481086 changed: Need API/cli method to know if "is_snappy" <Snappy:Fix Released> <https://launchpad.net/bugs/1481086>12:08
mupBug #1484982 changed: service description whitelist unnecessarily strict <Snappy:Invalid> <https://launchpad.net/bugs/1484982>12:11
=== hikiko is now known as hikiko|ln
mupBug #1495059 changed: cannot add new sudo users <Snappy:Fix Released> <https://launchpad.net/bugs/1495059>12:14
mupBug #1495452 changed: auto upgrade unintentionally updates /etc/udev/rules.d/70-persistent-net.rules <Snappy:Fix Released by ogra> <Snappy 15.04:Fix Released by ogra> <Snappy trunk:Fix Released by ogra> <https://launchpad.net/bugs/1495452>12:17
mupBug #1495662 changed: Services and binaries allow _ # <Snapcraft:Fix Released by sergiusens> <Snappy:Fix Released> <Snappy 15.04:Won't Fix> <Snappy trunk:Fix Released> <https://launchpad.net/bugs/1495662>12:17
gerry_hi I have this suggestion by snappy-debug: "* adjust program to not require 'CAP_DAC_OVERRIDE' (see 'man 7 capabilities')" anybody have experience of this?12:20
mupBug #1496319 changed: Could not create symlink to hw device with udev rules <Snappy:Won't Fix> <https://launchpad.net/bugs/1496319>12:20
mupBug #1499109 changed: hw-assign and oem assign are inconsistent <Snappy:Won't Fix> <https://launchpad.net/bugs/1499109>12:20
mupBug #1499478 changed: snappy install failure if service doesn't start does not cleanup <Snappy:Fix Released> <https://launchpad.net/bugs/1499478>12:23
mupBug #1499662 changed: boot partition size should be configurable <Snappy:Fix Released> <https://launchpad.net/bugs/1499662>12:23
mupBug #1499993 changed: U-d-f uses hardcoded names for kernel and initrd instead of the ones defined in hardware.yaml <Snappy:Fix Released> <https://launchpad.net/bugs/1499993>12:26
mupBug #1500020 changed: /var/lib/opencryptoki needs to be in /etc/system-image/writable-paths <Snappy:Fix Released> <ubuntu-core-config (Ubuntu):Fix Released> <https://launchpad.net/bugs/1500020>12:26
foxmaskbonjello12:29
mupBug #1502810 changed: Implement "snappy try" <Snappy:Fix Released> <https://launchpad.net/bugs/1502810>12:29
longsleepzyga: i tried snap-confine from the use-aa-support branch but it segfaults : http://paste.ubuntu.com/23553160/ - do you have any suggestion?12:44
zygalongsleep: looking12:47
zygalongsleep: any chance to get a backtrace?12:48
longsleepzyga: yeah let me install gdb12:48
mupBug #1504649 changed: dns-nameserver, dns-nameservers and dns-search not documented for snappy config for static ip addresses <Snappy:Won't Fix> <https://launchpad.net/bugs/1504649>12:54
mupPR snapd#2372 opened: interfaces/seccomp: add support for classic confinement <Created by zyga> <https://github.com/snapcore/snapd/pull/2372>12:55
longsleepzyga: here you go: http://paste.ubuntu.com/23553195/12:55
zygalongsleep: checking12:55
longsleepnot much in there :/12:55
zygalongsleep: oh, nice12:55
zygalongsleep: up12:56
zygalongsleep: (one sec, switching branches)12:56
zygalongsleep: print label12:56
mupBug #1504938 changed: invalid character '<' looking for beginning of value <Snappy:Won't Fix> <https://launchpad.net/bugs/1504938>12:57
mupBug #1505696 changed: SquashfsTestSuite.TestRunCommandUgly fails if you have a non-english locale <Snappy:Fix Released> <https://launchpad.net/bugs/1505696>12:57
mupBug #1505717 changed: prefer vmlinuz-*.efi.signed over vmlinuz in device tarball <Snappy:Fix Released> <https://launchpad.net/bugs/1505717>12:57
zygalongsleep: print mode12:57
zygalongsleep: perhaps something I dind't account for, I can fix that quickly12:57
longsleepzyga: http://paste.ubuntu.com/23553198/12:58
zygalongsleep: let me cook a patch12:58
=== hikiko|ln is now known as hikiko
zygalongsleep: nice, thanks12:58
longsleepzyga: let me see if i can resolve the not found12:58
zygalongsleep: nah, that's all good12:58
zygalongsleep: I know what the bug is already12:58
zygalongsleep: thank you!!! :)12:58
longsleepzyga: awesome :)12:58
mupBug #1507607 changed: move boot-ok to before sessions <Snappy:Fix Released> <https://launchpad.net/bugs/1507607>13:00
longsleepzyga: fixed the not-found - see here http://paste.ubuntu.com/23553206/13:01
zygalongsleep: I just pushed a fix13:02
longsleepzyga: rebuilding13:02
zygalongsleep: feel free to comment on the pull request as well once you get this working13:02
mupBug #1511435 changed: ubuntu-snappy.firstboot fails when oem snap contains preinstalled snap <Snappy:Fix Released by chipaca> <https://launchpad.net/bugs/1511435>13:03
longsleepzyga: looks better now13:04
longsleep/root/xenial/root/snap-confine/src/snap-confine snap.hello-world.env /snap/hello-world/27/bin/env13:04
longsleepSNAP_NAME is not set13:04
longsleepzyga: so do you have a suggestion how i could fully test this now?13:04
longsleepzyga: still does not seem to work though13:05
longsleepSNAP_NAME=hello-world /root/xenial/root/snap-confine/src/snap-confine snap.hello-world.env /snap/hello-world/27/bin/env13:05
longsleepcannot change apparmor hat. errmsg: Operation not permitted13:05
longsleepsupport process for mount namespace capture exited abnormally13:05
longsleep[157896.731125] type=1400 audit(1480424709.523:33): apparmor="DENIED" operation="change_hat" info="unconfined" error=-1 profile="unconfined" pid=17652 comm="snap-confine"13:05
zygalongsleep: (just in a call now, I'll be with you in 15 minutes013:09
longsleepzyga: all right thanks - take your time and just ping me when you are available13:09
mupPR snapcraft#918 closed: create the deltas package/class with xdetal generation implementation <Created by seawaywen> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/918>13:09
zygalongsleep: nice13:16
zygalongsleep: you now need snapd and snap-run to get this to work13:16
zygalongsleep: oh, that's super odd, let me check why this happens (the hat thing which is what this was supposed to fix)13:16
longsleepzyga: is there a way i can make snapd/snap-run use my custom snap-confine?13:18
zygalongsleep: fixed again13:18
longsleepzyga: you are awesome, rebuilding13:18
zygalongsleep: yes, do a bind mount so it shows up in /usr/lib/snapd13:19
zygalongsleep: sudo mount --bind some/custom/snap-confine /usr/lib/snapd/snap-confine13:19
zygalongsleep: and make sure it's stuid root13:19
zygasetuid*13:19
zygalongsleep: (no wonder this doens't work, there's no spread test for it yet)13:19
zygalongsleep: thank you for trying this13:19
longsleepzyga: seems to work now13:20
zygalongsleep: great!13:21
longsleepzyga: http://paste.ubuntu.com/23553265/ so what does that tell us now?13:21
zygalongsleep: thank you!13:21
mupBug #1511447 changed: snapcraft stage does not work with Go and Launchpad <Snapcraft:Confirmed> <https://launchpad.net/bugs/1511447>13:21
longsleepzyga: that branch will get merged into release eventually and it wont matter that my kernel does what it does?13:21
zygalongsleep: that it should be good13:21
zygalongsleep: you can set SNAP_CONFINE_DEBUG=yes13:21
zygalongsleep: to see what's going on13:21
zygalongsleep: yes13:21
zygalongsleep: I plan to merge it as soon as I get a review from security13:22
zygalongsleep: well..13:22
zygalongsleep: if your snap-confine is unconfined it won't try to switch hat13:22
zygalongsleep: there are other places that care about apparmor13:22
zygalongsleep: (in snapd)13:22
zygalongsleep: but some of the work I'm doing will make that more flexible13:22
zygalongsleep: I want to know one more thing13:22
zygalongsleep: can you run13:22
zygalongsleep: apparmor_parser -r /etc/apparmor.d/usr.lib.snapd.snap-confine13:23
zygalongsleep: that probalbly crashes but I want to see why13:23
longsleepzyga: sure, this is the debug output http://paste.ubuntu.com/23553270/13:23
mupBug #1511448 changed: ubuntu-snappy.firstboot fails when oem snap contains config for snaps not preinstalled, built-in <Snappy:Won't Fix> <https://launchpad.net/bugs/1511448>13:24
longsleepzyga: the apparmor_parser -r does not print anything13:24
zygalongsleep: odd13:24
zygalongsleep: hmmm13:24
zygalongsleep: I'll get back to you13:24
jamespageanyone had any success in allowing a confined snap to manage network namespaces?13:34
zygajamespage: hey13:39
jamespagezyga, hello13:39
zygajamespage: jdstrand is working on supporting it, the current idea is that /run/something-used-by-ip-netns will be like /media today13:39
jamespageI was just reading https://bugs.launchpad.net/snappy/+bug/162467513:39
mupBug #1624675: Please add network-namespace interface <snapd-interface> <Snappy:Triaged> <https://launchpad.net/bugs/1624675>13:39
zygajamespage: and then you can use ip setns13:39
zygajamespage: I'll try to sync with jamie today, adding that directory should be trivial13:39
zygajamespage: would that be sufficient for you?13:40
jamespagezyga, it might be - the neutron agents do a load of things with namespaces to support overlapping ip address ranges and alike13:40
jdstrandjamespage: note that as of today, you can use devmode to create network namespaces via 'ip netns' that will work for that snap13:40
zygajdstrand: hey!13:40
jamespagejdstrand, yeah - have my snaps working ok with the hypervisor snap in devmode13:41
zygajdstrand: I sent you an invite for a call today (if you can get there please let me know)13:41
jdstrandzyga: hi!13:41
jamespageI think that this netns bit is the last part that means I still need devmode13:41
jamespage(looking at the kernel log at least)13:41
jamespagewell for now13:42
jdstrandjamespage: do you have a wiki page for testing this? I've never gotten very far with neutron/etc in the past. ideally this would be to run in a vm13:42
jamespagejdstrand, yeah - we do13:42
zygajdstrand: I replied to your question on https://github.com/snapcore/snap-confine/pull/193 -- I'd love to know if I can merge that and if my explanation is correct, I'm working on addressing the remaining things in a new pull request13:42
mupPR snap-confine#193: Replace mkpath with sc_nonfatal_mkpath <Created by zyga> <https://github.com/snapcore/snap-confine/pull/193>13:42
jdstrandjamespage: do you know otoh if these things are using 'ip netns' or are they doing something else?13:42
jamespagejdstrand, https://github.com/openstack-snaps/snap-test13:42
jamespageI need to add in the bit for the nova-hypervisor snap - however that is a little dependent on some of the interface work I have inflight atm13:43
jamespagejdstrand, they all use ip netns13:43
jdstrandjamespage: ok, I'll be poking at this soon (ie, this week)13:44
jamespagebut I guess using in devmode would be supportable13:44
jamespageI'll need to drop the newer interface bits from the snap for now13:44
jdstrandI can deal with interface bits fine13:45
jdstrandso don't do anything extra on my account13:45
jamespagejdstrand, ack13:46
jdstrandzyga: re the meeting later, I'll talk to tyhicks and one of us will join13:46
jamespagetbh most of my time in the last few days was burnt on trying to get libvirt to work from within a snap13:47
jamespageI parked that for now13:47
jdstrandeek13:47
zygajdstrand: perfect, that's exactly what I suggested in the meeting notes13:48
jdstrandjamespage: definitely start with devmode. libvirt as a snap is going to need to be super-privileged like docker-support and lxd-support13:48
jamespagejdstrand, most of my pain was due to the amount of build time detection and path encoding that libvirt does13:49
jdstrandyeah, I can imagine13:49
jamespageanyway I'm aiming for on host os libvirt and ovs for now13:49
jamespageI have another interface to propose - openvswitch in the style of libvirt - just allows access to the ovs db socket on the host13:50
mupBug #1516351 changed: Consider changing release id <Snappy:Fix Released> <https://launchpad.net/bugs/1516351>13:51
mhall119tedg: do you know what's keeping inkscape from being published to the stable channel?13:56
mupBug #1520093 changed: ugly error when trying to set config without sudo <Snappy:Won't Fix> <https://launchpad.net/bugs/1520093>13:57
mupBug #1521927 changed: Package operations are not atomic. <Snappy:Fix Released> <https://launchpad.net/bugs/1521927>13:57
mupBug #1563737 changed: Bootloader type detection ignores the actual bootloader in use <Snappy:Fix Released> <initramfs-tools-ubuntu-core (Ubuntu):Fix Released> <https://launchpad.net/bugs/1563737>14:00
mupBug #1564316 changed: classic dist-upgrade fails on sudo and tzdata... <Snappy:Fix Released> <https://launchpad.net/bugs/1564316>14:06
didrocksrenato__: hey, did you file it? I would like a link I can reference :)14:08
mupBug #1569577 changed: please remove var/lib/snapd/apparmor/additional from debian/snapd.dirs <verification-done> <Snappy:Fix Released> <snapd (Ubuntu):Fix Released> <snapd (Ubuntu Xenial):Fix Released> <https://launchpad.net/bugs/1569577>14:09
renato__didrocks, https://bugs.launchpad.net/ubuntu-app-platform/+bug/164573114:10
mupBug #1645731: Fail to access the shared content if app starts before connect interface <Ubuntu App Platform:New> <https://launchpad.net/bugs/1645731>14:10
didrocksrenato__: thanks! :)14:11
didrocksrenato__: hum, no snappy ref?14:11
didrocksrenato__: didn't Mirv said this was a snappy bug? mind adding this task?14:12
mupBug #1570280 changed: snap and snappy man pages incomplete <verification-done> <Snappy:Fix Released> <snapd (Ubuntu):Fix Released> <snapd (Ubuntu Xenial):Fix Released> <https://launchpad.net/bugs/1570280>14:12
renato__didrocks, this is a snapd bug I think14:12
didrocksrenato__: please add an upstream snappy task then14:13
zygadidrocks, renato__: I just assigned that bug to mysel14:13
zygaf14:13
renato__zyga, ok thanks14:14
didrockszyga: thanks :)14:14
mupBug #1570261 changed: Snappy does not deal well with non-existing/non-working daemon command <Snappy:Fix Released> <https://launchpad.net/bugs/1570261>14:15
mupBug #1645731 opened: Fail to access the shared content if app starts before connect interface <Snappy:Confirmed for zyga> <Ubuntu App Platform:Confirmed> <https://launchpad.net/bugs/1645731>14:15
tedgmhall119: Yes14:24
mupBug # changed: 1570618, 1571710, 1571721, 1572151, 157246314:24
tedgmhall119: It's based on a pre-release version that hasn't been released yet. Will be pushed to stable once 0.92 is released.14:25
mhall119ah, cool, ok14:26
mhall119is that happening soon? If not, would they snap up the current stable?14:27
mupPR snapd#2373 opened: debian: remove unneeded conflict against the "snappy" package <Created by mvo5> <https://github.com/snapcore/snapd/pull/2373>14:30
mupBug #1574526 changed: x11 plug doesn't allow getsockname, breaks xeyes <snappy-interfaces> <verification-done> <Snappy:Fix Released by zyga> <https://launchpad.net/bugs/1574526>14:33
mupBug #1574556 changed: apparmor denials reported for encrypted HOME <apparmor> <Snappy:Fix Released> <ubuntu-core-launcher (Ubuntu):Fix Released by jdstrand> <ubuntu-core-launcher (Ubuntu Xenial):Fix Released by jdstrand> <https://launchpad.net/bugs/1574556>14:33
mupBug #1574829 changed: snappy install requires root or login, but doesn't tell you so <verification-done> <Snappy:Fix Released> <snapd (Ubuntu):Fix Released> <snapd (Ubuntu Xenial):Fix Released> <https://launchpad.net/bugs/1574829>14:36
mupBug #1575399 changed: Half installation for a snap <verification-done> <Snappy:Fix Released> <https://launchpad.net/bugs/1575399>14:36
mupBug #1576263 changed: Installing a non-existent app from the store results in core being downloaded but not installed <Snappy:Fix Released> <https://launchpad.net/bugs/1576263>14:39
mupBug #1577228 changed: "Ubuntu Core Snappy AutoUpdate" service failed with "error: the required argument `<snap>` was not provided" <amd64> <apport-bug> <xenial> <Snappy:Fix Released> <snapd (Ubuntu):Fix Released> <https://launchpad.net/bugs/1577228>14:42
mupBug #1577441 changed: No way to rollback a snap since the move to snap command <Snappy:Fix Released> <https://launchpad.net/bugs/1577441>14:45
wxlinteresting14:46
wxloops wrong channel14:46
wxlsheesh14:46
wxlis there a snappy core channel?14:46
=== pbek_ is now known as pbek
mupBug #1577439 changed: No more -u/-v options for "list" <Snappy:Fix Released> <https://launchpad.net/bugs/1577439>14:52
mupBug #1579932 changed: The user acceptance test suite is called integration-tests <Snappy:Fix Released by elopio> <https://launchpad.net/bugs/1579932>14:52
mupBug #1580403 changed: snap tries to manage bootloader in snappy-on-ubuntu-classic mode <Snappy:Fix Released by zyga> <https://launchpad.net/bugs/1580403>14:52
didrockswxl: this is this one14:54
mupBug #1583259 changed: Snappy needs to influence environment variables in applications  <snap-desktop-issue> <verification-done> <Canonical Click Reviewers tools:Fix Released by jdstrand> <Snappy Launcher:Invalid> <Snapcraft:Triaged by sergiusens> <Snappy:Fix Released> <click-reviewers-tools14:55
mup(Ubuntu):Fix Released> <click-reviewers-tools (Ubuntu Xenial):Fix Released> <click-reviewers-tools (Ubuntu Yakkety):Fix Released> <https://launchpad.net/bugs/1583259>14:55
wxldidrocks: great. is there a prepared snappy image i could use in virtualbox or do i just need to go ahead and install one?14:56
didrockswxl: hum, there is a qemu image, I don't think there is one for virtualbox14:58
didrocksTrevinho: hey! I would need the bug reference for the snapcraft parser now please :)14:58
wxldidrocks: great thanks14:58
Trevinhodidrocks: I already subscribed to you there...14:59
didrocksTrevinho: oh?14:59
Trevinhodidrocks: see https://github.com/snapcore/snapcraft/pull/93014:59
mupPR snapcraft#930: Parser support remote dependencies <Created by 3v1n0> <https://github.com/snapcore/snapcraft/pull/930>14:59
Trevinhodidrocks: https://bugs.launchpad.net/snapcraft/+bug/164535014:59
mupBug #1645350: Parts depending on other remote parts aren't properly added <Snapcraft:In Progress by 3v1n0> <https://launchpad.net/bugs/1645350>14:59
didrocksTrevinho: thanks!14:59
didrocksTrevinho: you didn't subscribe me to the bug14:59
Trevinhodidrocks: I did...  https://usercontent.irccloud-cdn.com/file/sJNTn1yT/15:00
* Trevinho has to fix the branch now... :-/15:01
didrocksTrevinho: I only see Joe and you on my launchpad bug15:01
Trevinhoweird15:01
didrocksyou are talking about #1645350, right?15:02
mupBug #1645350: Parts depending on other remote parts aren't properly added <Snapcraft:In Progress by 3v1n0> <https://launchpad.net/bugs/1645350>15:02
Trevinhoyes15:02
didrocksthis is weird, I definitively have only you two in this section :/15:02
Trevinhowho knows.... maybe you filter out something... but I did subscribe you just after filing it15:02
jdstrandzyga: 193 approved15:03
didrocksTrevinho: well, my filter wouldn't change launchpad page :p15:04
mupBug #1584586 changed: First snap install should fail fast rather than download OS snap <Snappy:Fix Released> <https://launchpad.net/bugs/1584586>15:04
Trevinhodidrocks: yeah I mean... Something related to lp project options?15:04
didrocksTrevinho: could be… I don't think, first time I see that15:04
zygajdstrand: thanks!15:05
jdstrandzyga: thanks for the cleanups :)15:05
zygajdstrand: I'm taking a different approach for mode/uid/gid mkdir, that will be easier to verify I hope15:05
gerry_hi I get this output when I try to run my program as sudo  "* adjust program to not require 'CAP_DAC_OVERRIDE' (see 'man 7 capabilities')" could anyone advise me how to deal with this please?15:06
gerry_sorry meant to say while running snappy-debug15:07
jdstrandgerry_: if you get it while running sudo, it sounds like the unix permissions are being ignored because you are root. eg, perhaps a user owned directory that is 755 that root is writing to, a file that is 644 that isn't root owned, etc15:09
jdstrandthat is usually what triggers that sort of thing15:09
gerry_ok so I change the permissions of my file?15:10
jdstrandif that is the issue, that would fix it, yes. change perms or owner15:10
gerry_jdstrand : thank you for your help I will try15:12
mupPR snapd#2374 opened: snap: tweak snap install output as designed by Mark <Created by mvo5> <https://github.com/snapcore/snapd/pull/2374>15:14
gerry_jdstrand: no I still  have the same problem my program run when installed in devmode but crashes with "No protocol specified Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server" when I try to run it with sudo, while installed in dangerous mode15:18
mupBug # changed: 1586248, 1587175, 1587445, 158767615:19
wxlum, so is ubuntu core (http://cdimage.ubuntu.com/ubuntu-core/16/stable/) and ubuntu snappy core different???15:26
mupBug #1596243 changed: snap gets stuck removing snap <lxd> <Snappy:Fix Released> <https://launchpad.net/bugs/1596243>15:31
mupBug #1597417 changed: Doesn't use "update-desktop-database" which is needed for mime handlers <snap-desktop-issue> <Snappy:Fix Released> <snapd (Ubuntu):Fix Released> <https://launchpad.net/bugs/1597417>15:31
didrockswxl: no, it's the same, ubuntu core is the official name15:31
didrocks(yeah, naming was bad, sorry)15:31
mupBug #1597948 changed: github.com/snapcore/snapd/cmd/snap TestSnapRunSnapExecEnv fails if HOME is set in environment <Snappy:Fix Released> <https://launchpad.net/bugs/1597948>15:34
mupBug #1599919 changed: SnapOpSuite unit tests interfere with the user's $HOME/.snap directory <Snappy:Fix Released> <https://launchpad.net/bugs/1599919>15:37
wxldidrocks: ok. well when i boot that image, it asks me to configure networking. it doesn't seem to give me an option for wifi, which is understandable, i guess. is there a workaround besides building a custom image? also, is there official documentation that goes over things like this?15:38
=== palasso_ is now known as palasso
didrockswxl: you are in a VM, correct? This is why you don't have wifi option15:39
didrocksbut your VM should share connexions15:39
mupBug #1600260 changed: Support paravirtualization <Snappy:Fix Released by ogra> <initramfs-tools-ubuntu-core (Ubuntu):Fix Released by ogra> <https://launchpad.net/bugs/1600260>15:40
wxldidrocks: omg. derp.15:41
mupBug #1600719 changed: The camera interface only grants access to /dev/video0 <snap-desktop-issue> <snapd-interface> <Snappy:Fix Released by jdstrand> <https://launchpad.net/bugs/1600719>15:43
wxldidrocks: the "store" refers to where exactly?15:44
mupBug #1603018 changed: snap create-user gets bad username <create-user> <Snappy:Fix Released> <snapd (Ubuntu):Fix Released> <https://launchpad.net/bugs/1603018>15:46
didrockswxl: ubuntu snap store (which is the same than click store)15:46
didrocksI thought there was a link to register, correct?15:46
mupPR snapd#2375 opened: store: retry tweaks and logging <Created by stolowski> <https://github.com/snapcore/snapd/pull/2375>15:46
wxlnot that i saw15:47
wxlis that apps.ubuntu.com?15:47
wxlor maybe myapps.developer.ubuntu.com?15:48
didrocksyeah, the latter15:48
wxlsorry for all the noob questions but i'm not really finding any great docs anywhere and the answers aren't immediately obvious15:49
mupBug #1603610 changed: Snaps have no screenshots <verification-done> <snapd-glib:Fix Released by robert-ancell> <Snappy:Fix Released by robert-ancell> <gnome-software (Ubuntu):Fix Released by robert-ancell> <gnome-software (Ubuntu Xenial):Fix Committed by robert-ancell> <gnome-software (Ubuntu15:49
mupYakkety):Fix Released by robert-ancell> <https://launchpad.net/bugs/1603610>15:49
wxlso does it create a login based on that account? if so, given i got in via SSO, what's my password?15:49
didrockswxl: yeah, there is few starting guide15:50
didrockscreate an account for myapps15:50
mvojdstrand is bug #1603879 something straightforward ? or very tricky?15:51
mupBug #1603879: Requesting additions to optical-drive interface for cdparanoia. <snapd-interface> <Snappy:Triaged> <https://launchpad.net/bugs/1603879>15:51
seb128wooot, it looks like the snappy team is triaging their bugs ;-)15:51
mvoseb128: *cough*15:51
seb128:-)15:52
mvoseb128: did I ever mention how much I hate bug triage?15:52
seb128haha15:52
seb128you might :p15:52
mupBug #1604016 changed: Snap requires sudo if not logged in <Snappy:Fix Released> <https://launchpad.net/bugs/1604016>15:52
seb128but yeah, it's borring but useful!15:53
zygaslangasek, ogra_: will you be able to make the call/hangout on gagets later today?15:53
seb128speaking of bugs, where does one report issues about the snapcraft.io documentation bugs?15:53
wxldidrocks: ok got the account. it accepted my email. now i'm confronted with a request for credentials and have no clue what they are.15:53
didrockswell, it's just your email address, correct?15:54
didrocksthe "store account"15:54
wxlyep, but there's no password given SSO15:54
didrocksyou don't know password15:54
wxlunless i'm meant to use my launchpad password15:54
didrockson the ubuntu core image vm15:55
didrocksjust the email address is asked15:55
didrockss/know/need any/15:55
mupBug #1604880 changed: Missing inhibit interface <snapd-interface> <verification-done> <Snappy:Fix Released by jdstrand> <https://launchpad.net/bugs/1604880>15:55
mupBug #1604885 changed: Access to mounted USB drives <snapd-interface> <Snappy:Fix Released> <https://launchpad.net/bugs/1604885>15:55
wxli already gave it that, which is accepted15:55
wxlso now i'm beyond that15:55
didrocksah, I see what you mean15:56
didrocksdid you read the last line?15:56
wxlnow i'm presented with a localhost login15:56
slangasekzyga: yes, though I'm surprised this needs a hangout.  I had talked with sergiusens at the last sprint about the fact that we needed pointers to sources from binary snaps, and that it should preferably be done officially in snapcraft - since we don't have any way to add arbitrary things to meta if we're using snapcraft15:56
didrocksyou can ssh to your vm now15:56
didrocksbetter to ssh15:56
wxloic15:56
didrocksyour ssh key was copied over to it15:56
mvoseb128: yeah15:56
mvoseb128: snapcraft.io bugs, not sure, dholbach probably knows15:56
zygaslangasek: this is an informal call driven mainly by me; I want gadgets to be easier to find and (eventually) serve as a reference15:57
didrocksseb128: https://github.com/ubuntudesign/snapcraft.io/issues/new15:57
didrockssee bottom of the page :)15:57
mvothanks didrocks15:57
zygaslangasek: since I don't own then I cannot decide by myself and I want to share my (simple) plan/idea with you to get feedback and see if you like the idea15:57
zygaslangasek: right now it's hard to find where each gadget comes from and harder to report bugs against them15:57
seb128didrocks, right, I was unsure if the content for the plugins section is coming from the site or autogenerated from the code15:58
zygaslangasek: I talked to ogra about this in the morning and he suggested that I add you and adam to the mix15:58
didrocksseb128: long long discussion…15:58
didrocksseb128: in summary, file them there, and normally davidcalle retargets, fixes15:58
slangasekzyga: ok. do you have a proposed layout under github for them?  How will I have commit access to them once moved there?15:58
seb128didrocks, lol, let's not reboot it then, thanks for the url15:58
mupBug #1604964 changed: huge download for nothing - snap does not exist <Snappy:Fix Released> <https://launchpad.net/bugs/1604964>15:58
mupBug #1605216 changed: cups-control interface doesn't allow printing <snapd-interface> <Snappy:Fix Released by jdstrand> <https://launchpad.net/bugs/1605216>15:58
seb128thanks15:58
zygaslangasek: my layout idea is super simple, either move them as-is (perhaps not ideal, see below) and start making them nicer (commit rights are super easy to manage)15:59
ogra_slangasek, the question was also about the uboot sources (deb sources shared with classic images) etc ...15:59
zygaslangasek: or split them so that later on launchpad can import separate repos and do github->launchpad->(Snapcraft)->store pipeline15:59
zygaslangasek: but even the split can be step two15:59
zygaslangasek: correspodning to this I'd like to have a place to file bug against each specific reference gadget (all 4 of them)15:59
gerry_hi snappy debug has this output "* adjust program to not require 'CAP_DAC_OVERRIDE' (see 'man 7 capabilities')" when I try to start my program with sudo any help gratefully received16:00
davidcalleseb128: didrocks: "fixes"? that's debatable :p16:00
ogra_slangasek, my assumption is that the github "tree" is in the end just a snapcraft.yaml and that we can have the gadgets auto-built if someone bumps a version in the tree16:00
zygaslangasek: and lastly, not sure what to do with bbb, it's not the same support status but we should find some way to have it live (as a community gadget) somewhere and perhaps share the benefits16:00
ogra_at least that was the plan with lsunchpad16:00
ogra_i think github is a little further from that automation plan atm16:00
davidcalleseb128: this location is fine, lp:snappy with snap-docs tag works as well if you prefer your bug mail on lp16:01
ogra_zyga, i'm the maintainer of BBB ... i'lll keep it in LP if you dont mind16:01
zygaslangasek: perhaps we can do a project for gadgets/kernels that are not officially supported16:01
ogra_(BBB is community supported ... )16:01
slangasekzyga: as it's not supported by us, but by ogra, you should ask ogra what works for that :)16:02
ogra_zyga, kernels are a totally different story16:02
zygaogra_: no, I don't mind but if you can use bbb as a way to show how to build an ecosystem (if we agree on how that would look like)16:02
zygaslangasek: my main goal is to make the gadgets easier to find, easier to fork and more of a reference16:02
zygaslangasek: all I want to do is take a first step16:02
ogra_i wont go my own path here but i prefer to have things easier maintainable ... gihub is a pain i'd like to avoid for my own projects16:02
zygaslangasek: and move them out of the rather hard-to-find project on launchpad branch16:02
ogra_(until LP stops to support bzr completely :) )16:03
seb128davidcalle, ok, thanks16:03
zygaogra_: that's okay, let's not complicate this over with bbb, focus just on the reference platforms16:03
seb128davidcalle, in any case the bug as been fixed it seems, so for next time16:03
davidcalleseb128: best kind of bugs16:03
seb128davidcalle, the "examples" at the bottom of the plugins descriptions was giving a github page stating that queries needs a project or user specified16:03
seb128but seems to work now16:04
zygaslangasek: apart from what we have there in the lp branches now I'd like to add a readme to each repository so that it explains what the content is, how it can be built and how it ends up in the store16:04
zygaslangasek: as well as a link to launchpad for bug tracking16:04
ogra_zyga, regarding kernels, the stuff is already moving to kernel.ubuntu.com (sadly) and will be 100% in the kernel team hands ... apart from the builds for the edge chaynnel where we need group mgmt from LP16:05
zygaslangasek: and anything else we can come up that's useful over time16:05
zygaogra_: interesting16:05
ogra_the kernel team will take ovber everything16:05
zygaogra_: I think that's fine, my focus is on gadgets today :) for kernels there will be another day (maybe) to look at how people can do their own kenrel easily with snapcraft / store16:05
ogra_(but we need edge in a state that everyone can make changes to the non-kernel components in the kernel snap)16:06
ogra_zyga, well, such people should use the snapcraft plugin ... but that will make you end up with something completely different indeed16:06
zygaogra_: step by step, let's work on gadgets first, set up git trees, lp mirrors etc16:07
zygaogra_: sergiusens made a pull request that snapcraftifies one of the gadgets16:07
zygaogra_: that's a great first step and IMHO the way to go with all of them16:07
ogra_zyga, yes, i have sergiusens commit open here because i planned to look into it before EOY16:08
wxlis there a juju snap? i'm not immediately finding one and i'm surprised16:08
zygaogra_: +1 thank you16:08
zygaslangasek: so that's the rough idea, the call is there just so that we can all share concerns and plans and align16:09
mupPR snapd#2376 opened: docs: document SNAP_DEBUG_HTTP in HACKING.md <Created by mvo5> <https://github.com/snapcore/snapd/pull/2376>16:10
wxlcorrection: i find https://uappexplorer.com/app/juju-nskaggs.nskaggs but i cannot for whatever reason find it with snap16:11
ogra_wxl, probably not in the stable channel or perhaps it uses devmode16:11
wxlogra_: oh, you know what. it's amd64 only.16:12
ogra_:)16:13
seb128sergiusens, hey, what do you mean by "allowing" in  "we agreed on allowing /snap/<snap_name>/current"?  That's its a stable interface garanty that it's not going to change/go away and that any snap can rely on the dir to be there for ever?16:13
wxlawww fooey16:13
mupPR snapd#2377 opened: snap: provide friendlier `snap find` message when no snaps are found <Created by mvo5> <https://github.com/snapcore/snapd/pull/2377>16:18
jdstrandzyga: hey, tyhicks was wondering if the meeting re snap-confine and snapd merging just to convince the security team it is ok, or is it something else?16:20
jdstrands/just/was just/16:20
tyhickshey zyga :)16:20
jdstrandwell, I was wondering too after he mentioned it :)16:20
zygajdstrand: I want do convince you that it is better to merge it into snapd16:21
zygatyhicks: hey, how are you :)16:21
tyhicksdoing well :)16:21
zygatyhicks: I discovered that a gamy my son likes has a special easter egg for thanksgiving :)16:22
zygatyhicks: (too bad we cannot do those in snap-confine) ;)16:22
tyhickshehe16:22
jdstrandzyga: well, if that is all the meeting is about, we can probably cancel it-- tyhicks and I don't have strong objections16:22
zygajdstrand: ah, in that case +116:22
mupBug # changed: 1606813, 1606815, 1606893, 1606932, 160696116:22
zygajdstrand: do you want to have the security label that requires a security +1 on pull requests?16:22
tyhickszyga: I don't know that we need a meeting for that. We understand the positives and only have a preference for keeping it a seperate project (no hard blockers against it)16:22
zygajdstrand: or some other way to track this?16:23
* zyga nod16:23
* zyga nods16:23
tyhickszyga, jdstrand: I'll leave a +0 comment in the bug16:23
zygathank you16:24
jdstrandzyga: we probably need a way to track things better that need security team awareness/review, yes16:24
tyhickswe will need that16:25
tyhickszyga's idea for labels is probably the best that we'll get16:25
jdstrandzyga: it was easy before to see the changes to snap-confine16:25
jdstrandis there a way to auto-label?16:25
jdstrandlike, if it is in this dir, then it gets a label?16:25
mupBug # changed: 1607121, 1607129, 1607344, 160760416:25
tyhicksoh, that's a nice idea16:26
zygajdstrand: not that I know of, it will require some though on our end16:26
zygajdstrand: maybe with a bot later (it can do this in pull requests)16:27
zygathought*16:27
jdstrandzyga: having it separate in github meant that there was a mental separation that snap-confine was special and needed special attention. I'm not sure how to achieve that once it is merged16:27
jdstrandsometimes the smallest changes can result in disaster in a setuid executable16:27
mupBug #1608608 changed: Snapweb avahi service is still called webdm.local <Snappy:Fix Released> <https://launchpad.net/bugs/1608608>16:28
mupBug #1608807 changed: create-user fails on classic <create-user> <Snappy:Fix Released> <https://launchpad.net/bugs/1608807>16:28
mupBug #1586248 opened: 96boards-kernel need change name <Snapcraft:Invalid> <Snappy:New> <https://launchpad.net/bugs/1586248>16:28
tyhicksI don't see a way to automatically tag PRs like that16:29
tyhicksa bot is likely needed16:29
=== greyback is now known as greyback|afk
mupBug #1609930 changed: Support license acceptance <Snappy:New> <https://launchpad.net/bugs/1609930>16:31
sergiusensseb128 it will be a stable interface yes; if it changes we burn zyga's place down16:34
seb128sergiusens, good! :-)16:34
sergiusens:-)16:34
mupBug #1611063 changed: can't mkdir SNAP_USER_COMMON directory <snapd-interface> <Snappy:Fix Released> <snapd (Ubuntu):Fix Released> <https://launchpad.net/bugs/1611063>16:34
zygajdstrand: note that many things in snapd are already special (all interface reviews)16:37
mupBug #1611384 changed: Change detection not working, have to "snapcraft clean" between builds when modifying snap contents <Snapcraft:New> <https://launchpad.net/bugs/1611384>16:37
mupBug #1616006 changed: clean remove of snapd <Snappy:Fix Released> <https://launchpad.net/bugs/1616006>16:38
zygajdstrand: how do you manage those currently?16:38
zygasergiusens, seb128: AFAIK we're not changing the current symlink in 16 series (it will stay as-is)16:38
seb128zyga, I'm glad to read that!16:38
zygatimothy: hey, you reported bug 1604346 a while ago16:39
mupBug #1604346: snapd apparmor tests fail on ArchLinux <Snappy:Incomplete by zyga> <https://launchpad.net/bugs/1604346>16:39
zygatimothy: can you check if that still happens with latest snapd?16:39
timothyzyga: I had to reboot  with apparmor kernel16:48
attentesergiusens: is there a way to make an exception for a snapcraft integration test to allow network access?16:48
zygatimothy: no rush, if you can please add this to the bug report16:52
zygatimothy: how is arch btw?16:52
seb128where can one find detailed descriptions of interfaces?16:52
seb128http://snapcraft.io/docs/reference/interfaces is a good list16:53
zygatimothy: I didn't do much cross distro work lately and when I did I was stuck on fedora and selinux16:53
seb128but it has no details/example of how to use those16:53
zygaseb128: only in the code for now, I've added one page to the wiki to describe the content interface, I want to do this for all interfaces: https://github.com/snapcore/snapd/wiki/Content-Interface16:54
zygaseb128: (I actually didn't link it from the main list of interfaces yet)16:54
zygaseb128: it's a wiki though so editors welcome, if you have a specific interface we could work on documenting it16:55
zygatyhicks, jdstrand: could you guys have a look at https://github.com/snapcore/snap-confine/pull/18816:56
mupPR snap-confine#188: Add apparmor support module <Created by zyga> <https://github.com/snapcore/snap-confine/pull/188>16:56
seb128zyga, wooot, the content interface was the one I was after so thanks for that ;-)16:56
zygaseb128: :D my pleasure, feedback welcome, this is my first edit on the wiki16:56
seb128k, will do16:56
wxlhow does one add a new group on snappy?16:56
zygawxl: you mean system group?16:57
zygawxl: that's not supported yet16:57
wxlfooey16:57
wxli found an lxd beta snap but it doesn't seem to add the lxd group16:57
zygawxl: but we have some plans to do that, many daemons would like that16:57
zygamvo: ^ did we add lxd hack to snapd?16:57
ogra_hack ? i thought the hacks were gone16:59
ogra_:P16:59
ogra_iirc you need to manually call addgroup if you use the snap on a core image16:59
timothyzyga: I see Fedora uses /var/ directory instead of /snap, did you create a migrate procedure?16:59
ogra_(with the --extrausers option)16:59
zygatimothy: no, we decided not to,17:00
zygatimothy: we didn't publish any packages that use that yet either because of confinement issues17:00
* zyga jumps into a call17:00
jdstrandzyga: usually someone manually pings me are adds @jdstrand. this is not great and I'd want to tie changes to interfaces/ (for example) to be tagged in some way17:01
wxlogra_: --extrausers is a snap option?17:01
ogra_wxl, nope ... passwd/adduser etc17:01
jdstrandzyga: ie, do for interfaces what we do for snap-confine17:01
wxloh right, so you're talking about building the snap then17:01
ogra_nope about the core image17:02
wxloh17:02
wxleven worse XD17:02
seb128zyga, it's a bit confusing in the examples to have the same word used for slots/plugs names and as an attribute17:03
zygaslangasek: hey, do you have the time to attend the gadget call now?17:05
zygaseb128: aha, thanks, I'll see if I can change that or make it more obviou17:05
wxlogra_: i was sure hoping that core→snap juju/lxd→juju deploy mysql/wordpress would do the trick, but i guess i'm still a bit ahead of my time17:05
seb128zyga, yw :-)17:05
seb128zyga, hum, also is it required to have a "interface: content"? your example doesn't have it17:12
mupBug #1639952 opened: When running in unity8 desktop snap, snap application icons aren't found in app scope <Canonical System Image:New> <Snapcraft:Confirmed> <Snappy:New> <ubuntu-app-launch (Ubuntu):New> <https://launchpad.net/bugs/1639952>17:23
sergiusensattente integration tests do have network access, unit tests do not (those are also run on package build which is networkless)17:26
zygaslangasek: can you point me to the official branch?17:31
zygaslangasek: there were some more commits on the vorlon one AFAIK17:34
zygaseb128: interface: content?17:39
* zyga looks17:39
tyhickszyga (cc jdstrand): I'm in the middle of reviewing snap-confine PR 18817:39
zygatyhicks: thanks!17:40
seb128zyga, well other examples I found have an "interface: content" line, I guess it needs to know what interface to use?17:41
mupBug # changed: 1617250, 1617251, 1617264, 161727817:41
zygaseb128: is "interface" there an attribute?17:42
zygaseb128: of a plug or a slot?17:42
zygaseb128: that attribute doesn't mean anything, we only look at "content"17:42
* zyga triple checks17:42
seb128zyga, I don't know, that thing is undocumented, I'm basing my comment on the read of http://askubuntu.com/questions/841004/cannot-get-basic-content-interface-example-working-with-snapcraft17:43
zygaah17:44
zygaseb128: "interface: content" is required when the interface itself is not named "content"17:44
seb128oh17:44
zygaseb128: the plug / slot name can be anything17:44
seb128k17:44
mupBug #1617770 changed: Snap cannot exec tput <Snappy:Fix Released by jdstrand> <https://launchpad.net/bugs/1617770>17:44
zygaseb128: but we create an implicit "interface: $PLUG_OR_SLOT_NAME"17:44
seb128some more magic ;-)17:44
zygaseb128: so when things all match is shorter and more magic17:44
seb128good to know17:44
seb128thanks zyga17:44
zygaseb128: I'll document that, thanks for pointing that out!17:45
zygaogra_, slangasek: can you confirm that17:47
zygahttp://bazaar.launchpad.net/~snappy-dev/snappy-hub/snappy-systems17:47
zygais the place that has all the commits17:48
ogra_yep17:48
zygathanks!17:48
mupPR snapd#2356 closed: cmd/snap: have some completers <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/2356>17:49
seb128zyga, thanks!17:50
mupBug #1619455 changed: classic does not work with connsole-conf created user <Snappy:Fix Released by ogra> <https://launchpad.net/bugs/1619455>17:50
zygaogra_: the latest commit there is17:55
zygatimestamp: Fri 2016-10-28 13:06:29 +020017:55
zygaah, 2016, I read that like 201517:55
zygasorry :)17:55
ogra_heh17:55
ogra_no, i bumped the dragonboard last ... right before release17:55
ogra_adding a second console= kernel option like on all other arches17:55
mupBug #1617232 changed: subiquity goes into endless configuration loop, no way to get out <Snappy:Invalid> <subiquity (Ubuntu):Invalid by mwhudson> <https://launchpad.net/bugs/1617232>17:59
jamespagejdstrand, zyga: are you ok with me proposing pull requests with stacked commits? or do you want me todo them as standalone commits?18:05
jamespagehappy todo either18:05
zygajamespage: to snap-confine?18:05
jamespageto snapd18:05
zygajamespage: in snapd we don't do squashing, so more commits is fine18:06
zygaogra_: this is the first one18:06
zygaslangasek: ^^18:06
zygahttps://github.com/snapcore/pi218:06
ogra_looks good18:07
zygaogra_: no tags?18:07
mupPR snapd#2378 opened: Openvswitch interface <Created by javacruft> <https://github.com/snapcore/snapd/pull/2378>18:07
ogra_nope18:07
zygaah, no tags in bzr either, ok18:07
ogra_dunno if we want to start to have two branches (one for edge, one that migrates through beta->canididate->stable, for the second one i'd use tags18:09
zygaslangasek: master == edge18:10
zygaer18:10
zygaogra_: ^^18:10
zygaogra_: I think the rest is up to you18:10
ogra_yeah, thats what we did in the past18:10
zygaogra_: you can also work with QA on this18:11
ogra_i just dont know if we want to kkeep that setup18:11
ogra_i'd actually like to have a "go wild" branch for edge18:11
ogra_where you can try out the evil stuff without harming the branch that gos later into stable18:11
ogra_*goes18:11
zygaogra_: I think those are pull requests18:12
zygaogra_: if we set this right, pull requests can even go to named channels18:12
mupPR snapcraft#933 opened: _filedir takes an extension, not a glob <Created by chipaca> <https://github.com/snapcore/snapcraft/pull/933>18:12
ogra_you mean a PR would land in edge so you can trigger an img build from it ?18:13
mupPR snapd#2376 closed: docs: document SNAP_DEBUG_HTTP in HACKING.md <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/2376>18:18
kyrofaogra_, no, a PR would land in its own custom channel18:19
kyrofa"here, try this bugfix"18:19
ogra_kyrofa, right ... not what i want18:19
ogra_kyrofa, i want to land a fix and have it show up in tomorrows daily img without me doing anything18:20
ogra_(or land "the test of a fix" ... this is edge ... that is what it is for)18:20
zygaogra_: that's edge18:21
ogra_right18:21
zygaogra_: but even before you land someone's PR you can use a branch channel18:21
zygaogra_: and try that out18:21
ogra_why would i ?18:21
ogra_sounds like we'd have a lot fragementation then18:22
zygaogra_: you see a pull request, you do code review, you check that on a real device with a channel switch18:22
kyrofaogra_, right, reading more backlog your use-case isn't the custom channels thing. You just want a branch essentially assigned to edge18:22
kyrofaThat doesn't necessarily get merged into anything more stable18:22
ogra_zyga, how does a channel switch help me with some initial boot stuff (i.e. gadget)18:23
zygaogra_: you switch and reboot18:23
ogra_i need an imag to dd18:23
zygaogra_: no18:23
zygaogra_: you switch and reboot :)18:23
zygaogra_: maybe with a helper to wipe first-boot logic18:23
ogra_gadgets very very rarely have anything that helps via a channel switch18:23
zygaogra_: if that doesn't do enough it's a bug in snapd, eventually that should be enough18:24
ogra_usually fixes are in the firstboot area etc18:24
ogra_anyway ... whatever works ...18:25
zygajdstrand, tyhicks: https://github.com/snapcore/snap-confine/pull/195/files18:34
mupPR snap-confine#195: Fix creation of $XDG_RUNTIME_DIR and $SNAP_USER_DATA <Created by zyga> <https://github.com/snapcore/snap-confine/pull/195>18:34
zygaI'm still going to add more unit tests and spread tests for this18:35
zygafor $SNAP_USER_DATA18:35
zygaand for chown logic (unit tests)18:35
zygaand for the hint callback18:35
zygabut have a look please for the overall aproach18:35
zygaapproach*18:35
zygaslangasek: I did all the repos, look at github please18:48
zygaslangasek: I'll do all the launchpad repos next (I did pi2 as launchpad.net/snap-pi2)18:48
zygaslangasek: and I'll work on snapcraft.yaml's18:48
zygaslangasek: and publication to edge18:48
zygabut now, some time for my son, ttyl18:49
mterryjdstrand: were you the person that pmcgowan talked to about policykit in the unity8-session snap?  I wanted to discuss that a bit19:13
mterrySpecifically the suggestion to just bundle polkitd.  One problem with that is that we'd need to patch policykit to get rid of the setuid requirement for the libpolkit agent helper.  Which you security folks might not be thrilled with19:14
jdstrandmterry: I'm working on a response to that bug. it is quite a complicated prospect overall19:15
mterryjdstrand: ok cool we can talk in the bug19:15
jdstrandmterry: as for the setuid bit, why is it setuid?19:15
mterryjdstrand: I don't know?  /usr/lib/policykit-1/polkit-agent-helper-1 is setuid and last time I looked, I think it verifies that setuid is set?  Maybe I'm wrong that it verifies, and we could try faking it...19:16
jdstrandmterry: also, it is possible to ship a snap with a setuid binary. it will fail review, but there is a way to override that19:17
mterryjdstrand: not my favorite path but sure  :)19:17
jdstrandmterry: from the security team notes: http://paste.ubuntu.com/23554639/19:20
jdstrandseems it is only needed for password prompts. since iirc Touch didn't have any of those, you could probably skip it. But you'd need to be sure to undo this once you added password prompts19:22
mterryjdstrand: well we only don't have password prompts in Touch because we added a lot of polkit policy files that said "don't ask for a password if the phablet user makes this call"19:23
mterryI'm not sure we want to go down that route again19:23
jdstrandmterry: that's a fair observation. I commented in the bug19:27
jdstrandmterry: you might refresh-- I made two more comments19:38
mterryjdstrand: guh I don't like supporting both classic and all-snap in one  :(19:40
jdstrandI would imagine you wouldn't19:40
mterry:)19:40
jdstrand:)19:40
mterryjdstrand: it might be a better use of eng resources on my side to not implement any of the workarounds until a bit more guidance comes from you snappy folks -- u8 isn't broken without this, we just can't install more snaps through the ui.  But I'll leave that to product folks to decide19:41
mterrylet me put that in the bug19:42
jdstrandmterry: note, I'm not tasked with this. like you, would need product folks to bubble that up. it probably isn't on the snappy team's radar either, so that stakeholder meeting would need to include Ja mieBennett, rat liff and whoever from your side and product19:43
mterryjdstrand: got it.  Thanks for the comments!19:44
jdstrandnp!19:44
mupBug #1645841 opened: Separate Signature Keys topic from Image Building flow <Snappy:New> <https://launchpad.net/bugs/1645841>19:45
jdstrandzyga: fyi, https://github.com/snapcore/snapd/pull/2366#discussion_r9010132020:07
mupPR snapd#2366: interfaces: apparmor support for classic confinement <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2366>20:07
mupBug #1559248 changed: Support unversioned data directory (i.e. data shared between versions) <Snappy Launcher:Invalid by kyrofa> <Snappy:Fix Released by kyrofa> <https://launchpad.net/bugs/1559248>20:39
mupPR snapcraft#934 opened: Migrate from xdelta to xdelta3 <Created by squidsoup> <https://github.com/snapcore/snapcraft/pull/934>21:54
zygajdstrand: thanks, checking22:01
=== greyback|afk is now known as greyback
mupPR snapcraft#935 opened: Utilize MakePlugin build logic within CMakePlugin. (LP: #1645853) <Created by larryprice> <https://github.com/snapcore/snapcraft/pull/935>22:03
=== IznogooD is now known as izzno

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