/srv/irclogs.ubuntu.com/2016/09/01/#snappy.txt

sergiusensthanks ev, but you have static errors now :-)00:12
evd'oh00:13
evfixing00:13
slangasekev: hey, so I mistakenly clicked the 'unpublish' button for pi2 (what I really wanted was to remove a particular revision from a channel), and I got a gateway timeout, and then when I hit reload I got an EPERM but it seems it actually did unpublish so that seems bad00:32
mupPR snapd#1818 opened: Fix documentation on price - it is a floating point number, not a string <Created by robert-ancell> <https://github.com/snapcore/snapd/pull/1818>00:33
evslangasek: eep. Can I have a bug report?00:53
slangasekev: where at?00:53
evsergiusens: all good00:53
evslangasek: https://bugs.launchpad.net/developer-portal/+filebug00:53
slangasekev: https://bugs.launchpad.net/developer-portal/+bug/161908600:56
mupBug #1619086: 'unpublish' throws errors, but actually worked <Developer registration portal:New> <https://launchpad.net/bugs/1619086>00:56
evthank you00:56
mupPR snapd#1817 closed: Wrapper: create $SNAP_USER_COMMON (LP:#1611063) <Created by brunonova> <Closed by kyrofa> <https://github.com/snapcore/snapd/pull/1817>01:01
=== petevg_ is now known as petevg
mupPR snapd#1818 closed: Fix documentation on price - it is a floating point number, not a string <Created by robert-ancell> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/1818>06:31
=== chihchun_afk is now known as chihchun
dholbachhey hey06:56
davidcalleo/07:22
psivaadobey: re?07:39
psivaadobey: sorry, re: tree, i did not have any issues installing. Let me try and dig more on that error07:40
mupPR snapd#1573 closed: asserts/tool,cmd/snap: introduce hidden "snap sign" <Reviewed> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/1573>07:46
dholbachniemeyer, can you moderate the snapcraft list, I know of at least one good mail sitting in the queue :)07:48
zygao/08:00
zyga\o08:00
zyga\o/ :)08:00
mwhudsonTIL: if you run /var/lib/classic/enable.sh before making your OS snap, snappy thinks you're on a classic system08:03
mwhudsonis there an easy way to run kvm so you can see both serial and the vts?08:22
mwhudsonoh -serial stdio08:23
mvomwhudson: yeah08:24
mvomwhudson: qemu is pretty fantasic, you can also run it as a nc/telnet capable service that you can connect to later, I pushed a branch for spread with that feature to allow easy inspection of boot failures08:25
mwhudsonmvo: qemu's command line is one of those things i've been a bit afraid of for years, but i'm getting there :-)08:25
mvomwhudson: ha! for totally good reasons, the functionality is awesome, the commandline … not so much08:29
mwhudsonhe's a strange systemd question08:37
mwhudsoncan a process find out if it is a main process for some systemd service?08:37
kalikianabest motivation to make a snap: qt update broke my irc08:41
kalikianawas done in 15min :-P08:42
kalikianaalso, awesome to find that cleanbuild now can do remote parts08:42
mupPR snapd#1819 opened: snap: set user variables even if HOME is unset (like with systemd services) <Created by mvo5> <https://github.com/snapcore/snapd/pull/1819>08:43
kalikianaHmm how do I launch a browser a la xdg-open from a confined snap?08:47
morphismvo, ogra_: I've generated a new image for my pi3 yesterday with ubuntu-device-flash core 16 --channel edge -kernel pi2-kernel --gadget pi3 --os ubuntu-core -o test.img08:48
morphismvo, ogra_: when I boot the resulting image now I get no snaps listed when calling snap list08:48
morphiswhere /snap/pi2-kernel/11/ is present08:48
morphisbut no ubuntu-core snap inside /snap08:49
mvomorphis: what does snap changes tell you?08:49
mvomorphis: any error details there? also systemctl status snapd.firstboot08:49
morphismvo: https://paste.ubuntu.com/23119389/08:50
morphishttps://paste.ubuntu.com/23119391/08:50
mupPR snapd#1814 closed: client,cmd/snap: display os-release data only on classic <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/1814>08:56
=== Saviq_ is now known as Saviq
pittimvo: http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#snapd → known?09:01
ysionneauhmm Snappy takes a very long time to boot when not connected to internet09:02
zygakalikiana: you use xdg-open having snapd-xdg-open installed on your host09:02
ysionneaumostly because of [FAILED] Failed to start Wait for Network to be Configured.09:02
ysionneauis there a way to tell snappy to not wait for network to boot?09:02
zygakalikiana: I believe there is an SRU for snapd-xdg-open into xenial, it is also slowly spreading into other distributions09:02
ysionneau( https://www.freedesktop.org/software/systemd/man/systemd-networkd-wait-online.service.html )09:03
zygamwhudson: hey, interesting, no idea really09:03
zygakalikiana: the core snap should now have xdg-open executable that just talks to the service on the outside09:04
kalikianazyga: Ah. So it should start working whenever that new package arrives?09:05
mvopitti: yes, this is why I asked all those autopkgtest question :)09:05
mvos09:05
zygakalikiana: yes09:12
zygakalikiana: I believe so, please have a look at https://github.com/snapcore/snapd-xdg-open/09:12
zygakalikiana: you can build and install that locally09:13
zygakalikiana: and experiment with the special version of xdg-open available here: https://github.com/snapcore/snapd-xdg-open/blob/master/src/xdg-open.c09:13
zygakalikiana: exectutable built from that file should be in the core snap, if not you can add it to your own snap for now)09:13
zygajamiebennett: o/09:14
jamiebennettzyga: o/09:14
mupPR snapd#1820 opened: many: start services only after the snap is fully ready (link-snap was run) <Created by mvo5> <https://github.com/snapcore/snapd/pull/1820>09:15
morphismvo: so really looks like something got broken with the firstboot scenario09:17
morphismvo: want a bug for that?09:17
mvomorphis: its fine, I think this breaks our tests currently so I'm already on it09:19
morphisgood :-)09:19
mvomorphis: very confusing that state.json is there, if you haven't done anything with the thing yet, could you paste that file?09:20
mvomorphis: but only if you haven't ran any command except snap changes09:20
morphismvo: sure09:20
morphismvo: https://paste.ubuntu.com/23119456/09:20
mvomorphis: hm, interessting. looks like a race09:22
morphis:-)09:25
mupPR snapd#1821 opened: ensure snapd.refresh.service waits for snapd.firstboot.services <Created by mvo5> <https://github.com/snapcore/snapd/pull/1821>09:46
mvomorphis: -^ for you09:46
=== matteo` is now known as matteo
=== hikiko is now known as hikiko|ln
mupPR snapd#1822 opened: snapd.refresh.service: require snap.socket and /snap/*/current <Created by stolowski> <https://github.com/snapcore/snapd/pull/1822>10:07
ogra_ysionneau, this might be related to the new netplan network setup (before we covered for this case throughj /etc/network/interfaces.d options (iirc it was "allow-hotplug" and leave "auto" out so that link detection takes precedence)), probably pitti has an idea how the netplan setup now differs from this10:11
pittiogra_: ah, so you want to mark some interfaces as "not relevant for booting" (allow-hotplug), so that network-online.target does not block on those?10:17
pittiogra_: right, that's currently missing; bug report appreciated10:17
mupPR snapd#1823 opened: overlord/devicestate: try to fetch/refresh the signing key of serial (also in case is not there yett) <Created by pedronis> <https://github.com/snapcore/snapd/pull/1823>10:17
ogra_pitti, well, we might have networkless drones that get occasionally connected to a cable for updates etc but are offiline most of the time ... or span up their own AP for a management app on a phone but for updates use ethernet ,... etc etc10:17
ogra_pitti, i guess that also needs an option in console-conf ?10:19
pittiogra_: enabling/disabling it globally is fairly easy; right now netplan always enables systemd-networkd-wait-online.service into wait-online.target, so that booting waits for all declared interfaces; if we want to globally disable that, this is simple10:20
pittidisabling it on a per-interface level is more involved, not sure if you need that10:20
ogra_i guess thats a start ... long term per interface is likely needed10:20
ogra_for such corner cases10:21
pittiogra_: yeah, I think so; quite a lot of services start when network-online.target starts and assume that they can do network stuff; these would be broken wit that setup10:21
pittibut if you have done that until now with allow-hotplug, this won't change10:21
ogra_mvo, do you remember why you created the pi2.moved dir in snappy-systems ? looks like thats a 15.04 setup, i guess i can wipe it ?10:27
mvoogra_: yeah, kill it please10:27
ogra_done10:28
ppisatiso, this morning i created a fresh new amd64 img10:28
ppisatibut when i try to install a kernel on it10:28
ppisatii got10:28
ppisatierror: cannot find signatures with metadata for snap "foobar.snap"10:29
ppisatifunny thing is that i installed a kernel yesterday on my rpi2 board10:29
ppisatiso10:29
ppisatiwhat am i doing wrong?10:29
zygappisati: I believe you are now seeing assertions in place10:35
zygappisati: is the foobar snap something you installed from the store?10:35
ppisatinope10:35
ppisatisomething i rolled10:35
ppisatiis there a way to sideload a custom kernel/snap?10:35
ppisatior to turn off the assertions?10:35
zygappisati: yep, though I don't remember the option name, perhaps pedronis knows as he's working on that10:36
ogra_would be bad if he wouldnt know it then ;)10:40
mupPR snapd#1824 opened: tests: use ubuntu-image for the ubuntu-core-16 image creation <Created by mvo5> <https://github.com/snapcore/snapd/pull/1824>10:40
=== ant_ is now known as Guest4912
ogra_mvo, do you happen to have commit access to ubuntu-image ? ( http://paste.ubuntu.com/23119768/ avoids the sudo calls if we are root already, should fix the snap issues)10:50
pedronisppisati: you need to use --force-dangerous if that kernel is local10:52
pedronisand you don't have store assertions/signatures for it10:52
ogra_uuuuh !10:52
ogra_"force dangerous"10:52
ogra_that makes you feel like indiana jones ... :) ... adventures ;)10:52
ppisatiuse the force-dangeroues Luke!10:53
pedronisogra_: it's quite new but that's what we discussed with Gustavo10:53
ogra_:)10:53
pedronisogra_: the issue is really that there are to cases, you are bing asked/tricked to install  a random snap (the option should tell you maybe you need to know/trust what you are doing), you are installing a snap you just built10:54
pedronisand then it feels a bit silly10:54
pedroniss/to cases/two cases/10:54
ogra_yeah10:54
ogra_i totally understand ... just found the option name funny :)10:54
tvosssergiusens: o/ I'm trying to build a snapcraft package, latest and greatest from git, but package build fails with: http://pastebin.ubuntu.com/23119776/10:55
tvosssergiusens: is that known or "fails on your machine only"? :)10:55
ogra_"root@" ??10:56
ogra_dont build snaps as root ...10:56
mwhudsonuh oh i didn't realize switching to netplan implied waiting for network10:56
mwhudsonpitti: is this a new-ish feature in netplan or something?10:56
mwhudsoni'm sure i wasn't seeing this behaviour a few days ago but i am now10:57
morphismvo: thanks!10:57
pittimwhudson: not really that new: https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/161354810:57
mupBug #1613548: enable systemd-networkd-wait-online.service <nplan (Ubuntu):Fix Released by pitti> <https://launchpad.net/bugs/1613548>10:57
pittimwhudson: since 0.7 (two weeks ago)10:58
mwhudsonpitti: huh10:58
mwhudsonoh man i'm amazed anything ever boots10:58
pittii. e. currently it behaves like ifupdown's "auto", before 0.7 it always behaved like "allow-hotplug"10:59
mwhudsonwhat is it that's waiting for network-online though?11:00
mwhudsonoh sorry never mind i need to sleep11:00
pittimwhudson: not sure, a few services wait for it (or network mounts)11:01
pittimwhudson: but most service indeed aren't blocking on this, so not sure what's actually blocking11:01
=== hikiko|ln is now known as hikiko
pittimwhudson: on my system: lxd.service, rc-local.service, kerneloops; none of those are critical11:02
mwhudsonpitti: ah, it's ubuntu-fan.service here i think11:06
mwhudsonhere as in "on my snappy image"11:06
mwhudsonoh yeah and rc.local.service11:07
ogra_mwhudson, bug #1619245 for your enjoyment ...11:10
mupBug #1619245: console-conf does not allow to create a user for offline devices <Snappy:New> <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1619245>11:10
ogra_(since i noticed there was no bug for that yet)11:10
mwhudsonogra_: fair enough, can you get someone with some architectural-level view to say how that should work?11:11
mupBug #1619245 opened: console-conf does not allow to create a user for offline devices <Snappy:New> <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1619245>11:11
ogra_heh, i'll try to catch niemeyer today11:11
jamiebennettogra_: That bug doesn't look good.11:23
ogra_nope11:23
ogra_pedronis, uuuh, i just noticed that in classic i get the same issue when tyring to install a local snap ... is that wanted ?11:24
pedronis?11:24
pedronisit's for all snap install *.snap11:24
ogra_ogra@styx:~/Devel/branches/ubuntu-image-mvo$ sudo snap install ubuntu-image_0.5_amd64.snap --devmode11:24
ogra_error: cannot find signatures with metadata for snap "ubuntu-image_0.5_amd64.snap"11:24
ogra_ogra@styx:~/Devel/branches/ubuntu-image-mvo$ sudo snap install ubuntu-image_0.5_amd64.snap --devmode --force-dangerous11:24
ogra_ubuntu-image 0.5 installed11:24
ogra_ah11:24
ogra_i thought only for the ones the system marks un-upgradeable in the images11:25
ogra_s/un-upgradeable/un-sideload-able/11:25
pedronisogra_:  we are protecting from two things here11:25
pedronisa) the snap didn't go through the store validation (now containment should do its job but there are still potential issue with bugs that are more likely with a non validated snap)11:26
pedronisb) you will be mounting tha squashfs with the kernel11:27
ogra_mvo, please try http://people.canonical.com/~ogra/snappy/ubuntu-image_0.5_amd64.snap ... should work even with the sudo issues11:27
pedronisso there are potential vulnerabilities that way11:27
ogra_yeah ... but i already use --devmode in a local install anyway11:27
pedronisthat means something else though11:28
ogra_which means i know i'm installing something potentially insecure11:28
pedronisyea, maybe we should conflate devmode to mean that too11:28
pedronisbut not sure11:28
ogra_imho --devmode should just imply --force-dangerous when i do a local sideload11:28
pedronisit's a bit of Gustavo question that one11:28
jamiebennettogra_: Seems others are having issues with this first boot experience, see the email from MikeB on the snapcraft list11:29
jamiebennett(this was with network though)11:29
ogra_jamiebennett, that triggered my bug ... (i had discussed ityesterday with mwhudson and cyphermox already and they said they would discuss it internally, so i refrained from filing a bug ... seeing others have issues too got me to file it)11:30
ogra_well, i guess he has network but no internet access in his case ... thats even more tricky11:30
jamiebennettogra_: Yeah, I guess we will always come across people with no network or without a correctly configured UO account, in this case without a ssh key11:31
ogra_right11:31
jamiebennettogra_, mwhudson: Worth getting back to MikeB on the list11:31
ogra_and we should have a fallback ... even if it is insecure and should probably print a warning11:31
ogra_a typical case is an IoT device that brings up an AP so you can control it via a mobile app, but doesnt have any other connection to the internet11:32
ogra_there you wouldnt set up any network, but would perhaps want a local user to snap install something11:33
jamiebennettogra_: in that case only local sideloaded snaps should be allowed11:38
ogra_well, that would be fine ... the issue is that you dont even get a login console11:38
ogra_console-conf just hogs them all unless you can finish it once successfully11:39
ogra_(though admittedly if there is no user at all you dont need a login console either)11:40
jamiebennettogra_: so we need to teach console-conf to add local users it seems11:41
ogra_yes11:41
jamiebennettIt could use snap create-user but that expects a correctly configured UO account11:42
ogra_pitti, bug 161925811:47
mupBug #1619258: netplan should allow NICs to be disconnected and not stall the boot <Snappy:New> <nplan (Ubuntu):New> <https://launchpad.net/bugs/1619258>11:47
mupBug #1619258 opened: netplan should allow NICs to be disconnected and not stall the boot <Snappy:New> <nplan (Ubuntu):New> <https://launchpad.net/bugs/1619258>11:47
Son_Gokumorning11:53
jamiebennettMorning Son_Goku11:56
jamiebennettogra_: Did you manage to test slangasek's pi2 image?11:56
ogra_ jamiebennett not yet ... in my TODO though ...11:58
ogra_jamiebennett, i think he tested it locally on his pi2 though11:59
junaidaliHi everyone, I'm new to Snappy, can we install libvirt-bin  in Snappy?12:00
jamiebennettogra_: OK, let me know. I've just sent my Pi2 off to iahmad for testing12:00
ogra_will do12:00
jamiebennettogra_: and I believe slangasek said "It has not yet been tested on an actual RPi2"12:01
* ogra_ waits for a free moment where he doesnt find bugs in 5min :P12:01
ogra_*5 bugs in12:01
jamiebennettogra_: your a star :)12:02
ogra_lol12:02
la_juyisjamiebennett: ogra_ are you talking about a new rpi2 image?12:03
sergiusensgood morning12:03
ogra_la_juyis, yes12:03
jamiebennettgm sergiusens12:03
la_juyisi was trying the classic offered in our site but aftr upgrading it didn't have network interfaces :D12:03
la_juyiswell, not nicely named nework interfaces12:03
ogra_la_juyis, well, not sure who maintains the classic pi images, try talking to foundations perhaps ?12:15
ogra_(though most of them are on vacation this week apparently)12:15
la_juyisogra_: thanks :)12:16
ogra_pitti, did you see ysionneau's question on the ML ?12:18
ogra_seems he sees the timing out network on boot when having two properly configured NICs (do they wrangle over the default route perhaps ? )12:19
pittiI followed up on the bug12:27
ogra_pitti, well, i think the thing he describes on the ML is another bug12:28
pittiogra_: maybe bug 1618522?12:28
mupBug #1618522: netplan does not generates .network files just for ethernet <nplan (Ubuntu):In Progress by pitti> <https://launchpad.net/bugs/1618522>12:28
ogra_hmpf ... so building the pi2 image as slangasek describes explodes in snap prepare-image12:28
pittiogra_: it seems we have a "match: *" with dhcp4 rule by default, which is rather demanding (we expect all existing interfaces to respond to DHCP4)12:29
pittinot a fan of this, this is a very strong assumption12:29
ogra_yeah12:29
pittianyway, I'm currently working on restricting this to ethernets, not wifis12:29
ogra_i pointed him to your bug ...12:31
ogra_lets see if he confirms12:31
Son_Gokuzyga, hey12:36
Son_Gokuhave you tried the SELinux policy module with snapd on F24?12:37
ogra_jamiebennett, so i'm not able to build the pi2 image at all :/ ... snap prepare-image seems to fail12:43
ogra_mvo, any idea ? http://paste.ubuntu.com/23120037/12:44
ogra_subprocess.CalledProcessError: Command '['snap', 'prepare-image', '--channel=edge', 'amd64-generic-model.assertion', '/tmp/tmp77onoa5j/unpack']' returned non-zero exit status 112:44
ogra_Crash in state machine12:44
jamiebennettogra_: :(12:44
=== JanC is now known as Guest23252
=== JanC_ is now known as JanC
ogra_ogra@styx:~/Devel$ snap --version12:46
ogra_snap    2.14.1+ppa214-112:46
ogra_snapd   2.14.1+ppa214-112:46
ogra_series  1612:46
ogra_ubuntu  16.0412:46
ogra_i should be on the latest snapd12:46
ogra_mvo, did you manage to boot at least an amd64 image built by ubuntu-image yet ?12:47
sborovkovla_juyis: apt install network-manager and everything works fine...12:49
mvoogra_: but cloud-init stuff is missing so its a bad experience12:53
ogra_mvo, how did you build it at all ?12:53
ogra_i cant mamange to even have snap prepare--image to create one12:53
ogra_COMMAND FAILED: snap prepare-image --channel=edge pi2-model.assertion /tmp/tmpoyu83bsc/unpackerror: cannot decode model assertion "pi2-model.assertion": assertion: "sign-key-sha3-384" header is mandatory12:54
ogra_same for amd6412:54
mvoogra_: try http://paste.ubuntu.com/23119360/12:54
ogra_hmm, more errros in slangasek's model assertion12:56
ogra_wow, so after deleting like 10 extra lines it seems to do something now :)12:58
ogra_(well, it sits there without any output)12:58
mvoogra_: yes, I reported a bug about the long delay12:59
mvoogra_: its snap prepare-image - which has a progress bar12:59
mvoogra_: but u-i is eating it12:59
ogra_well, some "what am i doing" output would be helpful :)12:59
mvoogra_: I also pushed a branch with tweaks12:59
ogra_ah12:59
mvoogra_: yeah, reported a bug about htis12:59
mvothis12:59
ogra_ok, i got an img12:59
mvoogra_:  https://github.com/snapcore/snapd/pull/1824 is something I want - u-i for our tests13:00
mupPR snapd#1824: tests: use ubuntu-image for the ubuntu-core-16 image creation <Created by mvo5> <https://github.com/snapcore/snapd/pull/1824>13:00
mvoogra_: but not quite working yet, but close13:00
ogra_lets see ogra@styx:~/Devel$ kvm -m 512 -redir :8022::22 images/snappy/u-i-amd64.img13:00
ogra_qemu-system-x86_64: -redir :8022::22: Could not open 'images/snappy/u-i-amd64.img': Permission denied13:00
ogra_ogra@styx:~/Devel$ ls -l images/snappy/u-i-amd64.img13:00
ogra_-rw-r--r-- 1 root root 4000000000 Sep  1 14:59 images/snappy/u-i-amd64.img13:00
ogra_wow13:00
ogra_ok, boots after chowning it to ogra13:01
ogra_hmm, or not13:02
ogra_hangs now13:02
ogra_now cloud-init goes mad13:03
ogra_(trying to connect to some http service even though console-conf didnt run/start yet to actually configure the network)13:04
ogra_i also see a lot kernel complaints about /dev/fd0 ... i guess we should blacklist the floppy module13:05
mvoogra_: yeah, cloud-init is going wild13:08
mvoogra_: in a meeting right now, later13:08
ogra_mvo, btw, did you see my ping about the ubuntu-image snap above13:08
mvoogra_: not really,13:08
ogra_seems to work fine here13:08
mvoogra_: cool, I pushed some updates fwiw13:09
mvoogra_: all based on my branch13:09
ogra_yeah, i have a patch to work around the sudo bits13:09
ogra_applied to your PR and then just snapcrafted :)13:09
mvoogra_: nice13:10
ogra_http://paste.ubuntu.com/23119768/13:10
ogra_something in ubuntu-image is actually bringing my machine onto its knees though ... during the last seconds the system goes completely unresponsive13:13
sborovkovHello. What does this error even mean? [Errno 17] File exists: '../tmp/log' -> '/home/kami/build/snaps/full/parts/gstreamer/install/rootfs/dev/log' During snap build. All I do for this part is copying of 1 file with organize  gstomx.conf: viewer/usr/share/gst-omx/13:13
ogra_(when building an image)13:13
* ogra_ takes a break 13:20
ogra_oooh !13:34
ogra_waiting til cloud-init dies helps ...just takes 10min13:34
* ogra_ is logged in to his amd64 image built via ubuntu-image 13:35
ogra_\o/13:35
jamiebennettogra_: ouch13:48
jamiebennettogra_: 10min + boot sounds bad ;)13:48
ogra_well, thats how we know and love cloud-init :P13:48
ogra_(nah, i'm not bitter, i always taste like that :P =13:49
ogra_)13:49
mvoogra_: misfeature in ubuntu-image, we really need a way to feed a inital configuraiton, i.e. a  way to tell it to not look for remote cloud config13:55
ogra_yeah13:55
ogra_well,i'm happy it eventually boots13:56
=== drizztbsd is now known as timothy
ogra_hmpf13:59
ogra_booting isnt enough though13:59
ogra_i end up without resolver ...13:59
ogra_ogra@localhost:~$ sudo snap install htop13:59
ogra_error: cannot install "htop": Get https://search.apps.ubuntu.com/api/v1/snaps/details/ubuntu-core?channel=stable&confinement=strict: dial tcp: lookup search.apps.ubuntu.com on [::1]:53: read udp [::1]:56040->[::1]:53: read: connection refused13:59
ogra_ogra@localhost:13:59
ogra_ogra@localhost:~$ ping web.de14:00
ogra_ping: unknown host web.de14:00
ogra_didnt we have some cdmline option that prevented cloud-init from doing network stuff at all ?14:00
ogra_or some u-d-f thing that put it in place in /var/lib/cloud14:01
* ogra_ seems to remember something like that 14:01
ogra_yeah, chacking /var/lib/cloud/data it definitely is different14:02
ogra_err14:03
ogra_s/data/seed/14:03
ogra_ogra@pi3:~$ cat /var/lib/cloud/seed/nocloud-net/meta-data14:03
ogra_instance-id: nocloud-static14:03
ogra_this is what we're missing14:04
mvoogra_: yeah, there is some stuff stuff my branch14:05
ogra_i think thats the only thing actually ... the other bit we put in place is uder-data which we wont need anymore14:06
ogra_thanks to console-conf14:06
ogra_wow ... and i thought after one successfull boot cloud--init wouldnt kick in anymore ... seems i was wrong14:08
* ogra_ twiddles thumbs14:08
rharperattempting to build a core image with ubuntu-device flash using an updated os-snap I built, I'm getting an error: mkdir /tmp/diskimage470593504/system/var/lib/cloud: read-only file system -- any pointers?14:11
rharperhttp://paste.ubuntu.com/23120293/ is my u-d-f command14:12
ogra_rharper, --kernel pc-kernel14:14
rharperok14:15
ogra_(else you install the gadget as kernel :) )14:15
mvoogra_: trying to replace u-d-f with u-i in our tests, I'm in a world of pain currently14:15
rharperogra_: thanks for that;  I get the same error though;  let me try in a clean Xenial vm14:17
mupPR snapd#1799 closed: asserts,cmd/snap: add "name" header to account-key(-request) <Created by cjwatson> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/1799>14:17
ogra_no idea about the error though ...14:19
ogra_mvo, i can imagine14:19
ogra_damn ... i know i filed a bug once about the pre-creation of the cloud-init data14:20
ogra_i cant find it14:20
ogra_i was listing the exact files and their content14:20
mvoarges: hey, feedback for your branch :)14:22
mvoarges: I'm still keen to land it, delayed the sru for a bit14:23
ogra_there we go14:23
ogra_bug 148530614:23
mupBug #1485306: ubuntu-device-flash should not create data in writable partition <Snappy:Invalid> <https://launchpad.net/bugs/1485306>14:23
ogra_damn ... and it doesnt have the content either14:24
ogra_hah14:25
mvoogra_: what are you looking for?14:25
ogra_but putting both files in place makes it boot in seconds again14:25
ogra_mvo, getting rid of the cloud-init mess14:25
ogra_i have a 20sec boot again now14:25
ogra_http://paste.ubuntu.com/23120339/14:26
mvoogra_: https://github.com/snapcore/snapd/pull/1824/files#diff-556bb7431481e375713ea3e0883a771aR12714:26
mupPR snapd#1824: tests: use ubuntu-image for the ubuntu-core-16 image creation <Created by mvo5> <https://github.com/snapcore/snapd/pull/1824>14:26
ogra_when i turn off the ubuntu user stuff it doesnt work though14:26
ogra_i'd really like to get rid of this14:26
mvoogra_: fwiw, slangasek mentioned that cyphermox will work on a option for ubuntu-image to copy these files in place14:26
ogra_(oh how i wish we could just unseed cloud-init :/ )14:26
mvoogra_: oh, meh :(14:26
ogra_mvo, well, cyphermox is off til next week too14:27
mvoogra_: what happens if you turn off the ubuntu user?14:27
mvoogra_: meh, ok14:27
ogra_it does the 10min boot again14:27
nessitaogra_, hi! I read your response, when you have some time would you please let me know so we can find alternatives for you?14:27
ogra_let me try to drop sigle lines from user-data14:27
rharpercloud-init is searching for user-data, including nocloud seed gives it a source and to moves on;14:28
ogra_nessita, well, its not only me, i guess mvo would also like to be able to look up which revisions he released to stable :)14:28
argesmvo: ok no problem, yea looking at the comments now14:28
ogra_rharper, so just the existence of the file shoould be enough ?14:28
rharperogra_: you may only need the meta-data file14:28
ogra_well, that definitely didnt work14:29
mvoogra_: I use pen and paper for this14:29
ogra_mvo, lol !14:29
mvo(SCNR)14:29
rharperogra_: it needs a meta-data file to declare the instances;   it may need the user-data file as well (but empty)14:29
ogra_mvo, living in the future, eh ?14:29
cyphermoxogra_: how am I off till next week?14:29
ogra_cyphermox, oh, you arent ? i thought everyone working on u-image was14:29
cyphermoxthanks for giving me some extra vacation, good day! :D14:29
ogra_sorry, then i missed something :)14:29
ogra_haha14:29
mvocyphermox: he said so! off you go :)14:29
cyphermoxhehe14:29
cyphermoxnah, I'm indeed doing this today14:30
cyphermoxI would write an empty user-data I guess, so no ubuntu user by default?14:30
mhall119zyga: ping, have you had a chance to finish reviewing my blog?14:30
* ogra_ hugs rharper 14:30
rharperso the presence of 'passwd' triggers the creation14:31
ogra_you are right ! an empty user-data is ennough14:31
rharperno ubuntu user is created by default but if you set the passwd, then that triggers the creation of the default user14:31
rharperogra_: nice!14:31
nessitaogra_, we'll definitely fix the issue, but right-right now, it may take a few days14:31
cyphermoxwell, actually we still want the ssh settings I think14:31
rharpercyphermox: right14:31
ogra_though i'm not sure if it works with a virgin image ... this one was configured now14:31
nessitaogra_, so until then we wanted to give you an alternative, like curling the results from the package index14:31
cyphermoxrharper: what is the syntax if I want to create a user other than ubuntu?14:31
nessitaogra_, so what do you need to know? what revision is in the stable channel for each arch?14:32
rharperhttps://git.launchpad.net/cloud-init/tree/doc/examples/cloud-config-user-groups.txt14:32
rharpercyphermox:14:32
ogra_cyphermox, do you actually want to ? you should only need proper host keys14:32
rharperand we need my branch/patch to enable use of --extrausers when running under snappy14:32
rharperwhich is what I'm trying to test right now  =)14:32
ogra_nessita, yeah, i guess that would be a good first step14:32
cyphermoxogra_: then at least ssh_genkeytypes: ['rsa', 'dsa', 'ecdsa', 'ed25519'] seems good.14:32
ogra_yeah14:32
cyphermoxmaybe pwauth we don't need for the default images, but you'll probably want it for the testing14:33
rharperif you drop the user-data keys 'password' and 'chpasswd'; no user should be created14:33
ogra_user wise you already get the key from SSO ... so only the host keys shoudl be needed14:33
mupPR snapcraft#752 closed: Ant properties, build target, and destination directory options <Created by evandandrea> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/752>14:33
cyphermoxogra_: well, for testing I would expect you don't run console-conf ?14:33
ogra_cyphermox, well, yes and no ...14:34
mvoslangasek: I also added a bug about that we need to be able to create local users via console-conf otherwise people are stuck when there is no network14:34
nessitaogra_, what package name? ubuntu-core?14:34
ogra_i'd like to see console-conf to work with offline devices too14:34
mvoslangasek: (this came out of the team meeting today)14:34
ogra_which means we'd need a fallback to actually create a local user anyway14:34
mvois it just my or is myapps.developer.ubuntu.com not responding?14:34
cyphermoxmvo: I know about that too, we should be able to fix that today hopefully14:34
ogra_hah14:34
ogra_*snap*14:34
ogra_mvo, is faster than me14:34
mvocyphermox: excllent14:34
ogra_(and i wasnt even in that meeting :P )14:35
cyphermoxie. there already existed code to do that, we just need to dig for the corpse and hook it up to the lightning rods.14:35
ogra_nessita, currently only ubuntu-core, yeah14:35
mvocyphermox: I have a slightly messy branch up for review that contains one important trunacte() vs dd fix, testing that right now14:35
cyphermoxok14:35
mvocyphermox: sorry for the messyness, its a very busy world right now14:35
cyphermoxyeah, I know14:35
cyphermoxubuntu-image got in my hands today as a rush rush rush job :)14:35
ogra_mvo, mind adding http://paste.ubuntu.com/23119768/ to your snapcraft.yaml PR too ? then i dont need to crete an extra one14:36
mvobut *hopefully* with that branch we can kill u-d-f for our own tests14:36
mvoogra_: I'm a bit confused about this one tbh, sudo should already do this, i.e. if sudo is run with uid=0 it will just do nothing, so I'm not sure how what it fixes14:36
ogra_that makes ubuntu-image fully working as a snap14:37
ogra_mvo, the issue is that you cant exec sudo from inside a snap14:37
ogra_so sudo has no chance to fall back14:37
ogra_when the snap binary is execed with uid 0 it should just not attempt sudo14:38
ogra_(i know that could be coded cleaner though)14:38
mvoogra_: aha, you installed this without --devmode?14:38
ogra_but with that change i can use ubuntu-image as snap just fine14:38
ogra_nope14:38
ogra_with --devmode14:38
rharpercan anyone else get to search.apps.ubuntu.com ?  u-d-f queries that and is failing now for me14:38
ogra_ogra@styx:~/Devel/branches$ snap list ubuntu-image14:39
ogra_Name          Version  Rev  Developer  Notes14:39
ogra_ubuntu-image  0.5      x1              devmode14:39
ogra_thats what i'm using here14:39
ogra_http://people.canonical.com/~ogra/snappy/ubuntu-image_0.5_amd64.snap14:39
mvoogra_: hm, http://paste.ubuntu.com/23120379/ works for me14:39
ogra_weird14:39
mvoogra_: maybe somethng else?14:39
ogra_yeah, strange14:40
* mvo scratches head14:40
ogra_perhaps my patch isnt actually needed ...14:40
ogra_did you try without it ... can you run it ?14:40
mvoogra_: yes, as long as I run it via sudo14:40
ogra_and if you dont it doesnt do the sudo call ?14:41
ogra_(the in-code one)14:41
ogra_well, then ignore my patch14:41
mvoogra_: it does and the sudo calls fails with "can not get pty"14:41
ogra_ah14:41
ogra_the old buddy pty :)14:41
ogra_well, then ignore my patch ... should be fine then14:42
ogra_mvo, do you also see your machine grind to a halt at the end of image creation ?14:43
ogra_i think there is still something worng in the final steps of ubuntu-image14:43
mvoogra_: haven't seen that yet14:45
ogra_must be my laptop then14:45
ogra_strange14:45
ogra_reproducable though14:46
mvoogra_: maybe I have it and just did not notice14:46
morphisniemeyer, jdstrand, mvo: any further comments for https://github.com/snapcore/snapd/pull/1688 or can we merge it?14:46
mupPR snapd#1688: interfaces: add fwupd interface <Critical> <Reviewed> <Created by timchen119> <https://github.com/snapcore/snapd/pull/1688>14:46
tedgkgunn: I keep getting this when doing your mir build image instructions: https://paste.ubuntu.com/23120407/14:47
tedgkgunn: Have you seen that? Not sure what a partitioning error 1 is.14:47
ogra_mvo, any objections in me blacklisting the floppy module inside ubuntu-core ?14:48
ogra_(the floppy errors on boot are annoying in kvm)14:48
niemeyermorphis: I will look into it14:49
mvoogra_: not at all14:49
morphisniemeyer: thanks14:49
* ogra_ does so then14:49
niemeyermorphis, joc: Do you have a moment to talk about snapd#181114:49
mupPR snapd#1811: interfaces: serial-port: udev slot definition <Blocked> <Created by jocave> <https://github.com/snapcore/snapd/pull/1811>14:49
niemeyerjoc_: ^14:50
nessitaogra_, roadmr my bash is poor but this will do https://pastebin.canonical.com/164527/14:50
mvomorphis: its in14:50
mupPR snapd#1688 closed: interfaces: add fwupd interface <Critical> <Reviewed> <Created by timchen119> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/1688>14:50
ogra_nessita, whats json_pp ?14:50
ogra_(you pipe to it)14:51
mvopretty print14:51
ogra_ah, perl14:51
nessitaogra_, something that pretty prints json14:51
ogra_yep ... adds linewraps, i see14:52
nessitaogra_, can use any other json printing tools or just read the raw json14:52
ogra_yup14:52
joc_niemeyer: i have a moment yes14:52
nessitaogra_, does that work for a couple of days as workaround?14:52
ogra_yeah, i guess14:52
niemeyerjoc_: The point you raise there is a valid one, and I think we want a general fix so we don't hit this on other interfaces14:53
nessitaogra_, let me know if not, we have someone assigned to the bug but RTM and GA priorities are tough (well you would know :))14:53
ogra_:)14:54
joc_niemeyer: ok, is it reasonble to attempt that fix now or do we need to do something to workaround it in the short term?14:55
niemeyerjoc_: The special case there is len(slot.Apps) == 0..14:56
tedgsergiusens: Do you have any idea what I could be doing wrong here? https://paste.ubuntu.com/23120407/14:58
kgunntedg: no that's news to me....might ask mvo14:58
niemeyerjoc_: I'm looking at that code and wondering if it would be sensible to inject a security tag that matches the snap in that case, and whether that'd have the proper results14:58
rharpercyphermox: so I think the os-snap I'm trying to install during the build is the issue; if I specify --os ubuntu-core instead of my local snap; it builds fine.14:59
rharperhow do we debug the install of the os-snap I built (which just added my ppa to pull in an updated cloud-init deb)14:59
niemeyerjoc_: For udev, I think it'd clearly solve your problem.. I'm wondering if it'd have the intended consequence for other cases as well15:00
joc_niemeyer: so that section is called as many times as there are slots15:00
niemeyerjoc_: and whether we want that in the plug side too15:00
joc_niemeyer: what key would you use so that multiple different rules files could be created with their possibly different requests for symlinks? currently appname prevents clashes there15:02
ogra_ogra@anubis:~/datengrab/images/snappy$ sudo snap install ubuntu-image_0.5_amd64.snap --devmode15:02
ogra_error: cannot find signatures with metadata for snap "ubuntu-image_0.5_amd64.snap"15:02
ogra_niemeyer, ^^^15:02
niemeyerjoc_: Each slot needs a unique name15:02
ogra_could we prehaps make --force-dangerous implicit when i use --devmode ?15:03
ogra_i already explicitly say i want to do something bad here, so i should not need to additionally say "i'm a bad guy"15:03
niemeyerogra_: Sounds like different things15:03
niemeyerogra_: What15:04
niemeyerogra_: 's missing15:04
ogra_well, i turn off all confinement15:04
niemeyerogra_: on that picture is the generation of assertions for your devmode snap15:04
sergiusenstedg I am not involved in u-d-f anymore, but I am guessing it failed once and you have leftover mapped loops15:04
ogra_so why not also make it implicit set --force-dangerous so i dont need to extra specify it on the commandline15:04
ogra_feels like duplication and unnecessary annoyance for developers to me15:05
niemeyerjoc_: Makes sense?15:05
joc_niemeyer: so something like securityTag := snap.AppSecurityTag(snapName, slot.Name)   ?15:06
niemeyerogra_: --force-dangerous ignores checksum errors, ignores the lack of signatures on that snap, etc15:06
ogra_right ... which is what i want when installing a local snap15:06
niemeyerogra_: It's turning off confinement for something that is completely unknown vs. turning off confinement for something known15:06
niemeyerogra_: But will discuss that to see what others think15:07
ogra_probably it shouldnt be bound to --devmode but to "this snap is local anyway"15:07
niemeyerogra_: No, local snaps is yet another axis on that picture15:07
niemeyerogra_: A snap can be local and be properly signed15:07
ogra_oh ?15:07
ogra_hwo is that ?15:07
ogra_*how15:07
mhall119signed by the store, or by the developer?15:08
ogra_if i have a local snap it should be considered insecure by default imho15:08
tedgsergiusens: I don't see any, but let me reboot to be sure :-)15:08
niemeyermhall119: Either.. more likely both15:08
niemeyerogra_: "local" is not indicative of it being insecure15:09
ogra_the only snaps i trust shoudl come from the store ... all others are developer meterial ... IMHO15:09
ogra_*materiel15:09
ogra_bah15:09
niemeyerogra_: Downloading a snap and installing it with the proper assertinos, or downloading from the store, has the exact same result15:09
* ogra_ signs up for the anonymous dyslectics15:09
niemeyerogra_: In fact, when you install a local snap, snapd will eventually attempt to get assertions for it15:10
ogra_hmm15:10
niemeyerIt's not about where the data is obtained from, but about whether the data is trusted or not.. assertions give an async way to convey that15:11
ogra_well, i'd just like to have something more convenient than an additionall cmdline switch for that usecase15:11
ogra_which is  a typical thing ... i develop a snap and first install it locally before it has ever seen the store15:12
niemeyerogra_: Yeah, I get it.. I think we'll have something slightly more subtle than simply have --force-dangerous behavior by default15:13
ogra_well, fine with me too :)15:14
ogra_i just feel that once we have more bits you need to turn off to test a dev snap you will have a very long commandline with lots of options :)15:14
jdstrandmorphis: regarding fwupd. I gave my +1 yesterday15:15
niemeyerYep.. we want to solve that without opening the door for eaiser social exploits15:15
ogra_right15:15
niemeyerogra_: There's also some subtlety here that indeed we need to account for.. maybe --force-dangerous indeed doesn't protect much compared to --devmode, which means we could make one imply the other as you suggest15:17
niemeyerogra_: Will discuss this with pedronis15:17
ogra_thx :)15:17
niemeyerjoc_: Ok, here is a strawman proposal to get us unblocked:15:19
jdstrandogra_: regarding building kernel snap> thanks. I have two bbbs that I'd like to have run series 16 and will have to figure out something. was hoping for the generic armhf kernel... is that still going to be a thing?15:20
jdstrandogra_: btw, I saw you say you might need me to approve something?15:20
ogra_jdstrand, i learned that gadgets go magically through now !15:21
ogra_so no, you're not needed ... go on vacation :)15:21
niemeyer- If there are interfaces (slots or plugs) and no apps on a given snap, we pretend there's a single app with the snap name, which means a security tag of snap.AppSecurityTag(snap.Name(), snap.Name())15:21
jdstrandogra_: heh, not on vacation today. tomorrow, yes :)15:21
niemeyerjdstrand: Just tomorrow?15:22
niemeyerjdstrand: Not next week?15:22
jdstrandmonday is a us holiday so then too15:22
niemeyerAh, ok15:22
ogra_jdstrand, the generic armhf kernel wont be an official thing ... but i think mvo will go on maintaining the BBB gadget as "community maintained" so then we'll need a matching kernel that i can set up an auto-build for15:22
jdstrandbut working tue-fri next week15:22
niemeyerjdstrand: Ack, thanks15:22
jdstrandmon-thu this week, tue-fri next week15:22
niemeyerjdstrand, joc, morphis: we need to sort all of these interfaces today then15:22
niemeyerAs we'd like to cook a pre-image on Monday15:23
jdstrandthat was what I was thinking15:23
niemeyerjoc_, morphis: I think this will sort out the issue15:24
niemeyerI mean, this:15:24
niemeyer- If there are interfaces (slots or plugs) and no apps on a given snap, we pretend there's a single app with the snap name, which means a security tag of snap.AppSecurityTag(snap.Name(), snap.Name())15:24
niemeyeron len(slot.Apps()) == 0 on the slot side, and len(plug.Apps()) on the plug side15:25
niemeyerWe can do that both for permanent and connected slots, I believe15:26
joc_niemeyer: so 4 changes to securitySnippetsForSnap one for each snippet function?15:26
niemeyerYeah, I think so15:26
=== chihchun is now known as chihchun_afk
morphisniemeyer: we still need to sort the remaining issue with the udisks interface15:27
niemeyermorphis: Indeed.. can we have that ready today?15:28
niemeyermorphis: So that jdstrand can review15:29
morphisniemeyer: the interface is fine, we the thing we have to solve is the mount propagation in snap-confine15:29
morphiss/we the/the/15:29
jdstrandniemeyer: so, on my list is serial-port/hidraw (in progres), fwupd (+1 from me, seems ready to merge), udisks2/removable-storage (close). systemd-control was another, but I thought we were going to go for a much simpler 'reboot-control' interface (or whatever it would be named-- I asked in the PR)15:30
niemeyermorphis: Okay, let's talk about this in a bit, with mvo15:30
niemeyermorphis, mvo: Can we have a call in ~45 mins on this?15:30
jdstrandniemeyer: fyi, zyga was the one advising ssweeny on the mount bits for snap-confine for udisks215:31
jdstrandhe seemed to know the issue15:31
niemeyerzyga is off due to some family needs and I'm not quite sure he'll be back soonish15:32
niemeyerSo we cannot count on him before we hear more details15:32
morphisniemeyer: ok, meeting for that?15:32
niemeyermorphis: Yeah15:32
niemeyerI'll step out for lunch.. back in a bit15:33
morphisniemeyer: ok, need to finish a meeting here15:33
morphisssweeny, jdstrand: ok with a meeting in 30-45 min?15:34
ssweenysure15:35
jdstrandsure15:37
ogra_mvo, on pi2 http://paste.ubuntu.com/23120588/15:49
ogra_image creation worked though ... cloud-init timeout took a little longer than in kvm (more like a 20min boot) ... but no snaps found is worrying15:49
ogra_jamiebennett, ^^^ FYI15:50
mvoogra_: woah, nice15:51
ogra_otoh cyphermox will be happy to hear that console-conf worked just fine :)15:51
mvoogra_: oh, no snaps found15:51
mvoogra_: sucks15:51
ogra_yeah15:51
mvoogra_: could you do snap changes please?15:51
mvoogra_: and systemctl status snapd.firstboot?15:51
ogra_ogra@localhost:~$ snap changes15:51
ogra_error: no changes found15:51
ogra_ogra@localhost:~$15:51
mvooh15:52
ogra_ogra@localhost:~$ systemctl status snapd.firstboot15:52
ogra_● snapd.firstboot.service - Run snappy firstboot setup15:52
ogra_   Loaded: loaded (/lib/systemd/system/snapd.firstboot.service; enabled; vendor preset: enabled)15:52
ogra_   Active: failed (Result: exit-code) since Thu 2016-09-01 15:43:20 UTC; 8min ago15:52
* mvo scratches head harder15:52
ogra_  Process: 2584 ExecStart=/usr/bin/snap firstboot (code=exited, status=1/FAILURE)15:52
ogra_ Main PID: 2584 (code=exited, status=1/FAILURE)15:52
ogra_ogra@localhost:~$15:52
mvoogra_: :( no ouput why it failed15:52
ogra_well, it resulted in an exit code :P15:53
ogra_(the most silly error message of all)15:53
mupPR snapd#1825 opened: interfaces: snippet creation for snaps without apps <Created by jocave> <https://github.com/snapcore/snapd/pull/1825>15:53
mvoogra_: do you have "error need a model assertion"?15:54
ogra_ogra@localhost:~$ ls /var/lib/snapd/snaps/15:54
ogra_pi2-kernel_11.snap  ubuntu-core_414.snap15:54
ogra_i dont have a gadget snap !15:54
mvoogra_: you have, just under seed/snaps15:54
ogra_mvo, where would i find that ?15:54
ogra_(tghe model assertion error)15:54
joc_niemeyer: let me know if PR snapd#1825 matches expectation15:55
mupPR snapd#1825: interfaces: snippet creation for snaps without apps <Created by jocave> <https://github.com/snapcore/snapd/pull/1825>15:55
cyphermoxmvo: I have some issues with the assertions for ubuntu-image?15:55
ogra_ogra@localhost:~$ sudo journalctl |grep model15:55
ogra_Sep 01 15:43:09 localhost.localdomain kernel: Machine model: Raspberry Pi 2 Model B Rev 1.115:55
ogra_Sep 01 15:43:20 localhost.localdomain snap[2584]: error: need a model assertion15:55
ogra_mvo, ^^^15:55
ogra_cyphermox, http://people.canonical.com/~ogra/snappy/amd64-generic-model.assertion use that one15:55
mvoogra_: yeah, I think this is it15:55
cyphermoxfirst it complained about a sign-key, and now about the gadget.yaml15:55
ogra_cyphermox, tseves is porked15:56
ogra_*steves15:56
ogra_*borked15:56
ogra_mvo, asny hit how to fix it ?15:56
ogra_*any15:56
ogra_(my god ... typing is hard today)15:56
ogra_mvo, http://people.canonical.com/~ogra/snappy/pi2-model.assertion is what i used15:57
cyphermoxogra_: Steve's isn't missing 'core', 'class' and 'store' ;)15:57
ogra_cyphermox, yes, these are the keys that break everything :)15:57
cyphermoxCOMMAND FAILED: snap prepare-image  /home/mtrudel/Téléchargements/amd64-generic-model.assertion.1 /tmp/tmpol1xbe71/unpackerror: cannot decode model assertion "/home/mtrudel/Téléchargements/amd64-generic-model.assertion.1": assertion model: "class" header is mandatory15:58
ogra_uuuh15:58
ogra_works for me15:58
cyphermoxI'm using the code from master15:58
ogra_using the latest ubuntu-image rolled as snap15:58
ogra_http://people.canonical.com/~ogra/snappy/ubuntu-image_0.5_amd64.snap15:58
jdstrandmorphis: so, I really think zyga should be in that meeting if it is about how to fix snap-confine. otherise, I'm not prepared to speak to the fix (I would have to come up to spead on the problem, etc)15:58
ogra_cyphermox, ah, i built it from mvo's PR15:58
cyphermoxnah, I'm trying to work on the git code; to modify ubuntu-image ;)15:59
ogra_there might be more fixes than just the snapcraft.yaml15:59
morphisjdstrand: zyga is out15:59
mvocyphermox: that PR keeps growing fixes15:59
mvojust saying15:59
morphisjdstrand: that is why I invited you, or is there anyone else who can speak to mount namespace issues?15:59
ogra_cyphermox, well, i thought it was master with snapcraft.yaml added ... seems there are more fixes15:59
mvoogra_: yes, almost ready to use it for our image tests16:00
cyphermoxmvo: oh, is that already ready to be merged?16:00
ogra_cyphermox, https://github.com/mvo5/ubuntu-image16:00
ogra_there os a PR16:00
ogra_*is16:00
mupPR snapd#1808 closed: many: add snap set and snap get commands <Created by kyrofa> <Closed by kyrofa> <https://github.com/snapcore/snapd/pull/1808>16:00
jdstrandmorphis: well, there is no one that knows *this* issue. zyga knew the specific problem. tyhicks or I can look into it, but aiui this was a code ordering thing16:00
mvocyphermox: definitely for a review, I plan to make more noise once I get a successful image test in our infrastructure16:00
ogra_cyphermox, https://github.com/CanonicalLtd/ubuntu-image/pull/4616:01
mupPR CanonicalLtd/ubuntu-image#46: add snapcraft.yaml & --extra-snaps <Created by mvo5> <https://github.com/CanonicalLtd/ubuntu-image/pull/46>16:01
mvocyphermox: but some of the bugs I reported are fixed there16:01
morphisjdstrand: yeah, then lets take this as briefing session for you guys, is that ok?16:01
jdstrandmorphis: but the point is, neither one of us is ready to comment on the fix cause we haven't studied the issue16:01
cyphermoxmvo: none of that looks like it would help in finding a gadget.yaml though :/16:01
jdstrandtyhicks: are you able to meet in 10 minutes?16:01
ogra_mvo, so for the pi, is there anything i can fix in my model assertion ?16:01
ogra_or do i need to wait for your side16:02
jdstrandtyhicks: I can give you some context before (what little I have)16:02
morphisjdstrand: yeah I see, I am sorry for that but from somewhere we need to get help for ssweeny on this16:02
ogra_cyphermox, well, i just built a kvm image 5 min ago here and it worked fine16:02
mvocyphermox: finding a gadget yaml? you mean ogras bug? or something else. sorry, a bit confused16:02
ogra_(apart from the known cloud-init issue)16:02
cyphermoxlet's back up for a second16:03
cyphermoxwhat version of ubuntu-image is currently snapped up?16:03
jdstrandmorphis: no I get that. I just want you to know we are as far along on diagnosing/suggesting a fix as yourself :) I think one of us could look at it, but we need time. a briefing meeting is fine16:03
mvocyphermox: my branch16:03
ogra_cyphermox, https://github.com/mvo5/ubuntu-image16:03
morphisjdstrand: thanks!!16:03
ogra_snap is at http://people.canonical.com/~ogra/snappy/ubuntu-image_0.5_amd64.snap16:03
ogra_using the model assertion from http://people.canonical.com/~ogra/snappy/amd64-generic-model.assertion gets me a working kvm image16:04
cyphermoxhuh, it works there16:05
cyphermoxoh well, I won't pretend I know how all this works yet ;)16:05
ogra_just merge mvo's PR and we're all good :)16:05
mvocyphermox: heh, do not merge just yet, lets wait for slangasek or barry first16:06
ogra_mvo, so next week ?16:06
ogra_they are off16:06
cyphermoxmvo: yeah, I know16:06
mvoogra_: is steve off today16:06
ogra_i thought til monday ?16:06
cyphermoxI wasn't going to merge, but I'm forking my own branch to merge in yours + my changes16:07
cyphermoxbarry should be around tomorrow to do the mergings16:07
ogra_mvo, "I'm on vacation Thursday through Monday, returning Tuesday. "16:07
jdstrandniemeyer: how important is docker interface for monday? I ask but I suspect there is no way that will be ready due to another snap-confine issue that needs zyga (the pivot_root lxd bug)16:07
tyhicksjdstrand, morphis: I can meet in a few minutes but have a hard stop for another meeting at the half hour16:07
lazyPowerjdstrand - thanks for driving that conversation forward. i've been tracking it16:07
ogra_mvo, well, anything i can do for the pi2 ? while we wait for merges ...16:08
jdstrandtyhicks: it is briefing meeting only. let's join this second so you and I can coordinate16:08
mvoogra_: not sure, I think not, sucks a bit16:08
ogra_quite, yeah16:08
mvoogra_: we will have real signed assertions for themodel16:08
jdstrandtyhicks: if you can16:08
ogra_but why ddoes it work with the fake amd64 one16:09
tyhicksjdstrand: ack16:09
ogra_i dont get that16:09
cyphermoxogra_: what do you need merges for? just mvo's PR?16:10
ogra_cyphermox, well, that is what is working currently16:10
ogra_so yeah, i havent used more than that16:10
mvoogra_: not sure, need to look16:11
ogra_k16:11
cyphermoxanything else needs fixed in ubuntu-image?16:11
ogra_only the bugs :)16:11
* ogra_ just filed bug 161936216:12
mupBug #1619362: images should not be largely bigger than the actual content <Ubuntu Image:New> <https://launchpad.net/bugs/1619362>16:12
ogra_i'm really tired of 20min dd runs ;)16:12
morphisniemeyer: joining us?16:13
mvoogra_: fixed in my branch16:13
ogra_mvo, the size thing ?16:13
mvoogra_: yes, I create a sparse file, so it looks big but is not16:14
ogra_nooo16:14
ogra_dd will still write zeros16:14
ogra_cxant we just check the size of the snaps, add a certain wiggle room and be fine ?16:14
mvoogra_: it will be exactly the same as with u-d-f, or was u-d-f not fine?16:14
ogra_no16:14
ogra_udf was a pain too16:14
ogra_the pi2 image can be 200MB16:15
mvoogra_: fair enough16:15
ogra_that takes 30sec with dd16:15
ogra_since we resize on first boot anyway the img doesnt need to be bigger than the actual content16:15
ogra_also releasing images is a pain if you have so many zeros to xz :)16:16
ogra_you know that16:16
morphistyhicks: thanks!!16:30
tyhicksnp!16:32
cyphermoxmvo: ogra_: even with that PR (things look a little bit better) it still fails to find gadget.yaml16:35
cyphermoxhttp://paste.ubuntu.com/23120867/16:35
mvocyphermox: what is the full output? do you use --channel edge?16:35
cyphermoxI did not set --channel16:35
mvocyphermox: that should help16:35
cyphermoxright, it's just not very discoverable ;)16:36
cyphermoxyup, that works, finally16:38
cyphermoxthanks!16:38
ogra_well, once the gadget is in stable you wont need it anymore :)16:41
cyphermoxright16:42
cyphermoxwell, now to test the crack I just added :)16:42
ogra_:D16:42
cyphermoxQ'apla!16:48
mupPR snapd#1804 closed: tests: use the spread tests with the adhoc interface inside autopkgtest <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/1804>16:51
mupPR snapd#1812 closed:  image,overlord/boot,snap: metadata from asserts for image snaps <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/1812>16:57
joc_jdstrand: note that i just push a couple of commits that change the allowed symlink path on serial-port17:06
jdstrandack17:06
cyphermoxogra_: mvo: https://github.com/CanonicalLtd/ubuntu-image/pull/4717:08
mupPR CanonicalLtd/ubuntu-image#47: Preseed cloud-init and allow further preseeding when building the image <Created by cyphermox> <https://github.com/CanonicalLtd/ubuntu-image/pull/47>17:08
ogra_cyphermox, hmm, but that requires the user to have a local cloud-init config, no ?17:10
ogra_ahm no, i see you write defaults17:11
ogra_ignore that :)17:11
mvoogra_: could you trigger a ubuntu-core build once snapd 2.14.2 is published in the PPA? that would be super nice, the resulting core-snap will become the new candidate snap17:11
mvocyphermox: I think we want something like --cloud-init-file some-file too so that we can create images that are actually useful in the cloud, but that is for later17:12
ogra_mvo, no prob17:12
cyphermoxogra_: are there any fixes needed to console-conf?17:13
ogra_mvo, oh ... i3386 FTBFS17:13
cyphermox(asking if anything transpired last night while I was away)17:13
ogra_cyphermox, not sure yet ... sabdfl_ said in my bug that a special assertion should create local users for offline devices (no idea how that will work and it sounds really complex for someone doing a port and initial device bringup etc) ... in that light it seems console-conf is fine for the moment17:14
niemeyerogra_: next week devmode will get over dangerous as you suggested17:14
cyphermoxok17:14
sabdfl_yeah yeah17:15
* ogra_ hugs niemeyer 17:15
cyphermoxwell, --cloud-init will let you create an offline user17:15
ogra_oh, right ...17:15
cyphermoxthen I will also add back the local-user magic in console-conf17:15
ogra_now that we can just inject config ...17:15
sabdfl_the basic guidance is that "all snap users are associated with the private or public store that the device is getting updates and apps from"17:15
cyphermoxwell, injecting config is nice, but it's not proper experience for a random appliance someone would buy17:15
sabdfl_if you are offline, then the way to do that is to have an assertion from that store saying "user joe has these ssh keys"17:16
mvoogra_: yeah, super confusing17:16
cyphermoxhrm17:16
ogra_FAIL17:16
ogra_FAILgithub.com/snapcore/snapd/overlord/state0.385s17:16
ogra_=== RUN   Test17:16
ogra_seems it faisl this test17:16
sabdfl_cyphermox here's the experience as I would like it17:16
ogra_*fails17:16
sabdfl_ - you go to your web-based management system ("my.ubuntu.com" or a corporate equivalent)17:17
sabdfl_ - you get a text file on a USB key17:17
sabdfl_ - you stick that USB key into your appliance17:17
sabdfl_ - it is now securely registered to your account17:17
sabdfl_that's pretty friendly17:17
cyphermoxthat covers what I was going to ask: "sabdfl_: I'm just not clear on how an offline system would get the information for user joe?"17:17
sabdfl_it's in that text file17:17
cyphermoxyup17:17
sabdfl_it's signed (an "assertion" is a signed piece of text)17:18
sabdfl_et voila17:18
sabdfl_ogra is just being difficult :p17:18
cyphermoxI suppose all these should be parsed by snapd, not by console-conf; and rather get console-conf to be skipped, perhaps17:18
ogra_sabdfl_, nah, i'm lazy :)17:18
sabdfl_old-fashioned :p17:18
ogra_heh17:19
sabdfl_in a good way!17:19
sabdfl_we are building on fine traditions ;)17:19
cyphermoxsabdfl_: so should we have a method to create a user manually in console-conf; aside from the 'enter your email' form?17:19
ogra_sabdfl_, though a way to inject that assertion during ubuntu-image run would be nice so i dont need additional HW when i roll my own offline rpi image17:19
sabdfl_console-conf is a console front-end to this experience17:19
sabdfl_cloud-init is a metadata front-end17:19
sabdfl_both of them can essentially steer the process17:20
sabdfl_one is for humans on a console17:20
sabdfl_the other is for orchestrators spinning stuff up remotely in clouds17:20
sabdfl_but yes, snapd is the steward of device state, so ultimately both of those pathways drive things through snapd17:20
ogra_hmm, but cloud-init can currently completely circumvent the assertion process ... if i tell it to add a local user it will do so ... sounds like we should block that17:21
sabdfl_the base *primitive* for users is "dear snapd please create a user on this device associated with such-and-such a user in such-and-such a store"17:21
sabdfl_ogra_, possibly, yes17:21
sabdfl_we have to understand the gray area of classic, too, where you have both snap-friendly users and legacy UNIX-only users17:21
cyphermoxogra_: sound like we should make sure you can specify the store credentials for a user cloud-init would create.17:23
ogra_cyphermox, right ... and find out how to block the standard adduser cloud-init does17:23
ogra_else you could just randomly abuse that17:24
ogra_the prob now is ... we dont have that magic assertion creator yet ... even console-conf just downloads the ssh key from LP without further stuff17:25
cyphermoxsabdfl_: I guess what I'm asking is if we should have the UI to create UNIX-only users in console-conf at all, or if the current behavior of using the email address is all we want.17:25
ogra_cyphermox, no17:26
ogra_it is either "you are online" -> console-conf ... or "you are offline" -> provide an assertion via cloud-init17:26
cyphermoxok, so only "preseeding" via store assertions or17:26
cyphermoxskip the 'or' there.17:27
ogra_right ...17:27
ogra_but we dont have that store side bit yet ... so only online devices for now i guess17:27
cyphermoxok, in that case we'll want these assertions to be able to tell snapd that console-conf has run.17:27
ogra_we should probably have an "ubuntu" user assertion for now and make that publically available until the sotre can generate real ones :)17:28
ogra_*store17:28
ogra_i.e. some fake placeholder so people with offline devices dont get blocked in their development17:29
cyphermoxwho will be doing that?17:29
ogra_no idea17:29
ogra_i yet have to understamd assertions properly :)17:29
ogra_(only slowly understanding the machine part of it since today)17:30
ogra_cyphermox, i guess the core team together with the stroe team should be able to provide us something17:30
ogra_mvo, should i just retry the i386 build ?17:33
ogra_seems amd64 passed the test17:33
* ogra_ just tries 17:33
ogra_mvo, i386 retry worked17:40
ogra_weird ...17:40
jdstrandzyga: please ignore my irc highlights from earlier today17:42
joc_jdstrand: thanks for reviews, i think i have addressed all comments (including ones just made), i'm going to start copying this over to a hidraw interface17:51
mupPR snapd#1819 closed: snap: set user variables even if HOME is unset (like with systemd services) <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1819>17:52
slangasekmvo: "create local users via console-conf" - that's contrary to the design we've been given; can we please discuss that on the list?  If you are mastering an image and want a local user created, that should be via cloud-init preseeding and not via console-conf17:55
cyphermoxslangasek: we've already reached that conclusion, I think.17:56
slangasekmvo: so, please explain where you're seeing non-sparse images17:56
slangasekcyphermox: ok ;)17:56
cyphermoxalso, what are you doing here?17:57
cyphermox;)17:57
jdstrandjoc_: I made a comment on your most recent commit17:57
joc_jdstrand: i think what you are asking for is there, just not in an else block18:00
jdstrandmvo (cc ogra_): is it known that on all snaps images the ip address keeps incrementing? I think netplan isn't sending the dhclient hostname or something so the dhcp server isn't reusing the ip for the mac. I didn't investigate, just a hunch18:01
jdstrandjoc_: oh, maybe I read to fast18:02
* jdstrand rereads18:02
jdstrandjoc_: yeah, sorry, you're right. thanks!18:03
* jdstrand deleted the comment18:03
joc_np18:03
ogra_jdstrand, doesnt happen for me on pi2, pi3 or dragonboard ... where do you see that ?18:06
jdstrandogra_: amd64 vm18:06
jdstrandogra_: that I generated yesterday18:06
ogra_ah, something i rarely use18:06
jdstrandnote, this is with libvirt's dnsmasq. that is a configuration that worked in earlier series 16, which is why I thought of netplan18:08
jdstrandanyway, I can't focus on that right now, but thought I'd mention it18:08
ogra_yeah, could be ... talk to pitti or mwhudson then ...18:08
ogra_i assume you went through the console-conf stuff to actually have the setup ready ?18:09
mvojdstrand: aha, thank you - I think the righ people for a question like why netplan keeps increating the ips is pitti or mwhudson, your idea about the missing hostname makes sense18:12
ogra_ooooh !18:14
ogra_the arm builders finally made their mind up18:14
jdstrandogra_: I did go through console-conf. fyi, static ip address didn't seem to work at all (always got incrementing dhcp)18:17
ogra_yeah, that sounds like either console-conf or netplan18:18
ogra_ststic should surely work too18:18
jdstrandpitti, mwhudson: ^ fyi (also, I can't debug this right now. easy to see with this image: sudo /snap/bin/ubuntu-device-flash core --size=8 --enable-ssh --channel=edge --output=snappy-20160831-amd64.img --gadget pc --kernel pc-kernel --os ubuntu-core 1618:19
jdstrandpitti, mwhudson: I saw it after importing that image into libvirt, but bet it would happen with any dnsmasq dhcp server (or possibly isc)18:20
cyphermoxjdstrand: do you mean you configured static and don't get a static IP?18:20
elopioyou are not funny ogra_18:20
* ogra_ hugs elopio 18:20
elopio:)18:20
ogra_:)18:20
cyphermoxbecause otherwise I wouldn't be surprised if the leases for DHCP were all wrong18:20
jdstrandcyphermox:yes. after I saw the incrementing dhcp ip I tried to workaround by setting static ip18:20
jdstrandcyphermox: and that didn't work18:21
cyphermoxinteresting18:21
cyphermoxI'll give it a shot here18:21
ogra_--size 8 .... how excessive18:21
jdstrandogra_: not really-- I'm helping with docker interface :)18:21
ogra_heh, k ... thats explains a lot :)18:21
jdstrandthough not this second. now I'm working on udisks/snap-confine18:22
jdstrandssweeny: fyi, I left a note in your snap-confine fork but that isn't for you to do anything at this time. just now starting to look and will sync when I have more info18:22
ssweenyjdstrand, sounds good. I'll have to step out around 3-4PM EDT but I'll be back later in the afternoon18:23
ogra_mvo, sigh, who is that overlord guy ... arm64 FTBFS in the same test ... retrying18:36
jdstrandssweeny: can you make the udisks2 snap available?18:40
cyphermoxjdstrand: ok, the IP issue is a bug that is fixed, just need a newer nplan / console-conf I think18:51
cyphermoxI'm double-checking18:51
jdstrandthat's great! :)18:51
ogra_mvo, and arm64 built too ... this overlord is an evil overlord for sure :P18:55
cyphermoxjdstrand:  ah, not fixed, but we did run into the same issue once before, it needs to be changed again :/18:55
* ogra_ waits for the publisher now18:55
mupBug #1619420 opened: snappy removal of dpkg-query breaks lsb_release --all <Snappy:New> <https://launchpad.net/bugs/1619420>18:56
mupBug #1619423 opened: snappy does not include ssh-import-id preventing cloud-init user-data from importing ssh-keys <Snappy:New> <https://launchpad.net/bugs/1619423>18:59
=== sabdfl_ is now known as sabdfl
sabdflogra_, cyphermox, assertions are coming along, latest snapd added a few, user ones will be there in good time, i would not worry too much19:03
sabdflfor the current image test and dev just.... be online ;)19:03
ahoneybunthis : http://snapcraft.io/docs/reference/snapcraft links to this : https://linuxcontainers.org/lxd/getting-started-cli/19:04
ahoneybunwhen talking about cleanbuild but there is no “Ubuntu Desktop and Ubuntu Server” section on that page19:05
cyphermoxsabdfl: great, I'm glad people are happy so far with console-conf and all :)19:07
mupPR snapd#1825 closed: interfaces: snippet creation for snaps without apps <Created by jocave> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/1825>19:08
SamYaplesergiusens: hey. question for you. what is the reason of _get_python2_include and why does python3 not also need that?19:08
SamYapleim unifying the two plugins and just coming across some inconsistencies19:09
sergiusensSamYaple hey19:09
sergiusensSamYaple non, but look https://github.com/snapcore/snapcraft/pull/77119:09
mupPR snapcraft#771: Python plugin improvements <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/771>19:09
SamYapleoh..19:10
cyphermoxmvo: where is ubuntu-device-flash source? could it be writing a netplan config?19:11
ogra_ARGH19:14
SamYaplesergiusens: cool. looks good. i just switched jobs so ive been a bit busy :)19:14
ogra_so console-conf breaks the classic mode19:14
mupPR snapd#1826 opened: interfaces: add interface for hidraw devices <Created by jocave> <https://github.com/snapcore/snapd/pull/1826>19:15
SamYaplesergiusens: ill let you handle that then and ill work on some other python improvements that ive had in mind then19:15
joc_jdstrand: hidraw PR opened ^ should be fairly familiar19:15
ogra_hmm ...19:16
ogra_ogra@dragonboard:~$ sudo classic19:16
ogra_sudo: unknown user: ogra19:16
ogra_sudo: unable to initialize policy plugin19:16
ogra_ogra@dragonboard:~$ sudo -u ubuntu -i19:16
ogra_ubuntu@dragonboard:~$ sudo classic19:16
ogra_(classic)ubuntu@dragonboard:~$19:16
ogra_fun19:16
sergiusensSamYaple yeah, I took a completely different approach and a lot happier with it; a much needed improvement over the older python plugins19:16
sergiusensSamYaple I would like to know if you can run it through any test subjects you might have or point me to them19:16
ogra_cyphermox, for some reason the sudo user that console-conf created is different19:17
SamYaplesergiusens: agree. much nicer. like the unified approach too. wasnt looking forward to duping work to add python features19:17
SamYaplesergiusens: i will start using it locally, but i don't have any projects or test suites around snappy yet. still working on a POC for openstack19:18
sergiusensSamYaple sounds good!19:22
mupPR snapd#1827 opened: #1802 + #1823 <Blocked> <Created by pedronis> <https://github.com/snapcore/snapd/pull/1827>19:26
sergiusensjosepht seems the parser tests are leaving the /tmp dirs behind. Mind adding a cleanup task for that?19:31
sergiusensI guess elopio could help19:31
josephtsergiusens: sure, file a bug :)19:32
elopiooh, just use the tmp dir fixture.19:32
sergiusensjosepht trololol19:32
cyphermoxogra_: groups, I bet19:33
cyphermoxthere's nothing I can really do about that, we just use snap create-user to create the user (but I'll double-check)19:34
cyphermoxresult = run_command(["snap", "create-user", "--sudoer", "--json", self.email.value])19:34
cyphermoxlet's see, self.email.value contains...19:35
cyphermoxdoh, reading it the wrong way around19:35
cyphermoxself.email.value is obviously just an email address, and we expect a result in json format from snap19:35
ogra_cyphermox, yeah, that wont work ... the user needs to be in adm and sudoers19:36
ogra_ogra@dragonboard:~$ groups19:37
ogra_ogra19:37
ogra_else he cant even open logfiles19:37
cyphermoxso somethign to fix in snap create-user I guess19:37
ogra_oh CRAP !19:37
ogra_no, that wont work at all19:37
ogra_the sudo group lives in the readonly /etc/groups19:38
ogra_and i doubt sudo gets along with moving that to extrausers19:38
cyphermoxwhy is that an issue?19:38
cyphermoxsudo works fine on the system19:38
josephtsergiusens: where can the name and version variables be used? in the wiki and in the part?  Or just one or the other?19:38
ogra_because you cant write to it ?19:38
ogra_well, not when i try to spawn a classic chroot19:39
ogra_as you can see above19:39
cyphermoxI don't disagree that something is wrong, I'm just saying it's not the fact that the user is in sudo group or not19:40
cyphermoxclassic might not know about extrausers?19:40
josephtsergiusens: I guess either way I can just do the substitution on the parsed part to cover both bases.19:40
ogra_i thought it gets bindmounted19:40
cyphermoxwill outside the chroot maybe19:40
ogra_yeah,, it doesnt ...19:41
sergiusensjosepht in the snapcraft.yaml19:41
ogra_i guess i should bind mount it then19:41
ogra_sigh19:42
sergiusensjosepht only19:42
josephtsergiusens: ack19:42
ogra_(classic)ubuntu@dragonboard:~$ cat /var/lib/extrausers/passwd19:43
ogra_ubuntu:x:1000:1000:ubuntu,,,:/home/ubuntu:/bin/bash19:43
ogra_(classic)ubuntu@dragonboard:~$19:43
sergiusensstokachu hey, would you mind looking at this https://github.com/snapcore/snapcraft/pull/771/files I built conjure-up successfuly after changing a tinsy thing in the `snap` entry s|/usr/bin/conjure-up|bin/conjure-up|19:43
mupPR snapcraft#771: Python plugin improvements <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/771>19:43
ogra_cyphermox, ^^19:43
ogra_so extrausers is there19:43
ogra_but does not contain added users19:43
sergiusensstokachu I really hope that is ok and not have to support the backwards compatible dist-packages anymore.19:43
cyphermoxI have no idea what to tell you; my understanding of classic is that it extracts a tarball, that must furthermore include any users created outside that tarball19:44
stokachusergiusens, so does this not use requirements.txt any longer?19:44
cyphermoxit's really as simple as extrausers, we don't do anything special to create the user in console-conf19:44
stokachusergiusens, looks ok to me19:45
ogra_ogra@dragonboard:~$ sudo cp /var/lib/extrausers/* /var/snap/classic/common/classic/var/lib/extrausers/19:46
ogra_ogra@dragonboard:~$ sudo classic19:46
ogra_(classic)ogra@dragonboard:~$19:46
ogra_cyphermox, theer we go19:46
ogra_i'll fix the classic wrapper to copy it every time you invoke the classic shell19:47
cyphermoxok19:49
SamYaplesergiusens: when do you think that python plugin will be done? i dont want to make you rebase but i need to change teh constraints part around a bit19:51
SamYaplesergiusens: also, it builds everything i need it to so far :) good job19:51
sergiusensSamYaple good to hear19:52
sergiusensSamYaple somewhere around today/tomorrow most likely19:52
SamYapleoh yea. perfect.19:53
sergiusenscprov did grade make it to the store review?19:53
ogra_mvo, ok, finally all snapd package built ... ubuntu-core build running ...19:53
ogra_*packages19:53
cprovsergiusens: yes, in production.19:53
SamYaplethe constraints should also accept a url, so i just need to adjust how it processes the option19:53
mvoogra_: cool! thats will be the new candidate snaps for core :)19:54
ogra_yay19:54
ogra_mvo, note that the store UI is borked regarding channels (you cant open the list of uploads)19:54
ogra_so it might be a bit tricky to get that moving through the channels19:55
ssweenyjdstrand, hey sorry for the delay. Do you need an armhf or amd64 snap?19:56
ogra_mvo, ad classic will need a fix ... i'll prepare a Pr for tomorrow19:57
ogra_*and19:57
BirchyCan you do unionfs with Snappy?19:57
BirchyI'm thinking of a fancy system for Wine19:57
ogra_Birchy, well, there is a fuse interface ... so a fuse-unionfs might be possible19:58
ogra_but that will crawl indeed19:58
mvoogra_: uh, ok19:58
Birchyogra_, just how slow?19:59
ogra_you have to try ... i know it wasnt really usable when we tried it for livecds several years ago19:59
SamYaplesergiusens: youll be happy to know your python plugin also fixes an issue with some python package installs (try installing uwsgi python package with the python2 plugin)20:10
SamYaplesergiusens: so you are fixing bugs you didnt know about with just overall better code20:10
mupBug #1619455 opened: classic does not work with connsole-conf created user <Snappy:New> <https://launchpad.net/bugs/1619455>20:21
sergiusensSamYaple good to know, I knew I'd be fixing bugs along the way and just switched to use pip for everything20:21
sergiusensSamYaple stage-packages from python are also taken into account when calculating deps (that was a peeve of mine)20:21
SamYaplesergiusens: yea i saw that. awesome! very happy youve had the time for this. i have not20:25
mupPR snapd#1828 opened: cmd/snap,client: add snap set and snap get commands <Created by kyrofa> <https://github.com/snapcore/snapd/pull/1828>20:25
sergiusensSamYaple it is my job and this was long overdue so I gave it priority ;-)20:26
SamYaplesergiusens: yea this is my free time stuff, so slightly different. still glad for your help here20:26
sergiusensSamYaple the pleasure is mine20:32
mupPR snapd#1829 opened: interfaces: fix interface handling on no-app snaps <Created by niemeyer> <https://github.com/snapcore/snapd/pull/1829>21:03
mupPR snapcraft#773 opened: parser - Handle project name and version variables <Created by josepht> <https://github.com/snapcore/snapcraft/pull/773>21:03
niemeyerjdstrand: snapd#1829 contains that idea we discussed21:07
mupPR snapd#1829: interfaces: fix interface handling on no-app snaps <Created by niemeyer> <https://github.com/snapcore/snapd/pull/1829>21:07
niemeyerjdstrand: Evolved a bit since then21:08
niemeyerjdstrand: Less hackish now21:08
awecan anyone help me with a signatures error when trying to sideload a snap on my rpi2 running latest core?21:18
aweI get the same error with and without --devmode ( which I didn't think would help )21:18
aweerror: cannot find signatures with metadata for snap21:19
awesnap was built by lp earlier today21:19
pedronisawe: yea, that's not released/announced but snap install -h mentiones --force-dangerous (it's going to change again and devmode will imply it but as master stands it's like that)21:20
awethanks pedronis; I see that now when running 'snap install --help' on my rpi.  I initially checked on my desktop, and I guess I need to update there21:22
awe;)-21:22
aweand that works21:22
awecool21:22
pedronisawe: it's a follow up for locally installing snaps for the fact that since 2.13 we are verifying assertions/signatures when we install from the store21:24
awegot it21:24
pedronisflags will change a bit again (likely already tomorrow --devmode will sort of imply it , and will be just --dangerous)21:25
aweit'd be nice if there was a shortened paramater ( eg. -f ), as --force-dangerous is a mouthful, and bash completion doesn't work on the rpi21:26
aweah, cool21:26
* awe likes --dangerous21:26
mupPR snapd#1830 opened: firstboot: only configure en* interfaces by default <Created by mwhudson> <https://github.com/snapcore/snapd/pull/1830>21:35
jdstrandniemeyer, ssweeny: status update: the snap-confine changes for udisks2 are not done. tyhicks and I are investigating. there will not be a patch for snap-confine today. that should not block udisk2 merge and Monday's image (but this is a bug we need to fix and are looking at it with priority)21:35
niemeyerjdstrand: Okay, let's please aim at having this fixed on Tuesday the latest, as it's a bug worth fixing for RTM21:36
jdstrandniemeyer: that is the goal21:37
niemeyerjdstrand: Thanks for looking into this on short notice21:38
niemeyercc tyhicks21:38
jdstrandit's unfortunately a bit thornier than we expected21:39
ssweenyjdstrand, thanks for the update21:39
mupPR snapd#1829 closed: interfaces: fix interface handling on no-app snaps <Created by niemeyer> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1829>22:07
antipsychiatryA23:17
antipsychiatryN23:17
antipsychiatryT23:17
antipsychiatryI23:17
antipsychiatryP23:17
antipsychiatryS23:17
antipsychiatryY23:17
antipsychiatryC23:17
antipsychiatryH23:17
antipsychiatryI23:17
antipsychiatryA23:17
antipsychiatryT23:17
antipsychiatryR23:17
antipsychiatryY23:17
antipsychiatry.23:17
antipsychiatryO23:17
antipsychiatryR23:17
antipsychiatryG23:17
mwhudsonhey so https://launchpad.net/ubuntu/+source/golang-github-coreos-pkg needs to be MIRed as it's now a dep of golang-github-coreos-go-systemd23:26
mwhudsonso can the snappy-dev team subscribe to bugs?23:26
mwhudsonhm that needs mvo asac or slangasek, all not here23:27
wililupyHA! I finally figured out why my custom images were not coming up showing the three basic snaps installed....23:39
wililupyMy kernel snaps were being built with confinement: devmode. I switch it to strict and now I get the kernel snap, the gadget snap and the os snap.23:40
mwhudsonhm is there a good document on assertions?23:53
mwhudsoni've read a spec ages ago, but i wonder if details have changed23:53

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