[00:03] is there a getting started guide to snappy on the dragonboard? [00:12] oh, it works! [00:12] slowly [00:12] and i still don't have serial [01:35] PR snapd#1700 closed: add mir to implicit for running gui snaps on unity8 classic desktop [02:02] PR snapd#1948 opened: add run/udev/data paths to mir interface [04:06] blargh [04:07] where is the/a dragonboard model assertion? [04:07] ah http://people.canonical.com/~vorlon/official-models/ [04:07] mwhudson: right, obviously ;) [04:07] slangasek: where else could they possibly be! [04:08] slangasek: actually the hardest part was remembering your unix username [04:08] hahaha [05:26] o/ [06:38] hey hey [06:39] good morning dholbach [06:40] happy snappy playpen day: https://daniel.holba.ch/blog/2016/09/get-your-software-snapped-tomorrow/ :-) [06:43] * zyga works on snap-confine SRU paperwork [06:51] hey dholbach, happy snappy day to you ;-) [06:57] and the same to you seb128! [07:10] nice to see we have a bunch of new bits added to the sandpit: https://github.com/ubuntu/snappy-playpen/wiki/SandPit [07:11] ^ can you add your almost-fully-working snaps to that list too? [07:24] Bug #1624963 changed: pulseaudio interface (still) missing permissions [07:42] seb128, is https://github.com/wandrewkeech/snappy-playpen/blob/gimp-git/gimp-git/README.md easy to fix? do you know? [07:43] diddledan, does corebird work with devmode? [07:45] dholbach, no idea sorry, I didn't try to use gobjectintrospection in snaps [07:45] ok [07:48] ogra_: hey i pushed a new probert / subiquity into the canonical-foundations/ubuntu-image ppa today [07:48] ogra_: copy to snappy-dev/image? [07:48] quite a lot of fixes === chihchun is now known as chihchun_afk [07:51] dholbach: I can't remember. I'll need to check this evening [07:56] cool, thanks diddledan === chihchun_afk is now known as chihchun [08:36] mwhudson: I'm pushing through the 1.0.41 SRU process, that will probably take all my day; As a part of that I will have to upload it to yakkety [08:36] mwhudson: do you think you could do the yakkety upload? [08:37] zyga: you don't want to upload it to debian and wait until we can sync it, i guess? [08:37] mwhudson: no, because we're running out of time [08:37] zyga: ok [08:37] mwhudson: mainly on the SRU overhead [08:38] mwhudson: I pushed packaging to git.launchpad.net/snap-confine [08:38] mwhudson: the master branch there can be merged into the 16.10 branch for yakkety [08:40] zyga: want to put the 1.0.41 release on github? [08:40] mwhudson: it's there already [08:40] oh wait you did [08:40] mwhudson: yep :) [08:40] * mwhudson pokes uscan with a stick [08:40] hehe [08:40] mwhudson: fedora has a live system where it detects the tag and files an update bug [08:40] it's pretty damn impressive [08:41] s/damn/darn/ [08:41] but fedora will be more complex as I need to work on the /snap move there as well and this needs some more handholding [08:41] zyga: oh, there's no snap-confine-1.0.41.tar.gz [08:41] zyga: just the 1.0.41.tgz [08:42] zyga: do you usually do a make dist & upload that or something? [08:42] dholbach: I'm writing a snap that uses autotools and doesn't have an install step, how do I get everything in parts//build into the snap? [08:42] mwhudson: oh? that's odd [08:42] mwhudson: oh right!!! [08:42] mwhudson: let me upload it, I forgot :/ [08:42] davidcalle, custom plugin and copy over? :-( [08:42] mhall119: ping [08:43] dch, mhall119 lives in the US to it might take a while until he responds [08:43] aha [08:43] anything anyone else could help with? [08:44] dholbach: hmmm, I already did one to get rid of the Install step of the default autotools... Yeah, I guess that's the way to go [08:44] dholbach: thanks. I'm one of the committers for apache couchdb & am working on the debian packages as well atm. so I'm quite interested to pair up wrt snaps. I'm pretty sure I can save him quite a bit of time with questions [08:44] mwhudson: done [08:44] mhall119: ^ I'm in EU time zone but will be online tonight ~ 20h00 UTC if we can cross paths. I'm usually in #couchdb-dev of course [08:45] dholbach: one of the questions I did have was is it possible to allow a snap to access data dirs from the previous debian-style package [08:45] hello, i would like to install Niagara Supervisor on Ubuntu Core. Supervisor need librariers with dependencies, how i can do use APT manager or can i use another manager? [08:46] dch, nice! did anyone of the two of you start the snap journey for couchdb yet? [08:46] specifically /var/lib/couchdb/ and /var/log/couchdb and /etc/couchdb/ [08:46] dholbach: apparently he is already underway [08:46] zyga: so there's no non-trivial packaging changes this time? [08:46] I have a customer who does medical appliances, so snaps are a little *too* new for them -- updates are very very hard to do, the whole thing needs re-certification. But I hope we can get the community underway very soon. [08:47] dch, yes, that sounds like a good plan :) [08:47] dch, http://snapcraft.io/docs/reference/env explains the world view of a snap quite well [08:47] mwhudson: no, it should be a relatively smooth ride [08:48] mwhudson: there's a new executable [08:48] mwhudson: but nothing else [08:48] mwhudson: oh wait [08:48] mwhudson: maybe there is [08:48] mwhudson: I believe we need to bump our dependency on apparmor [08:48] zyga: that doesn't seem to be in your packaging? [08:48] zyga: debian/patches/0001-Don-t-shellcheck-files-spread-prepare-script.patch can be dropped i take it [08:48] mwhudson: the packag contains it automatically, no change was required [08:48] oh ok [08:49] mwhudson: (spread tests ran against this packaging all the time so if it wasn't packaged it would not be possible to test it) [08:49] dholbach: the main issue is /var/lib/couchdb as people have 100gb upwards in these and "just" copying them around is dangerous & slow. from what I've read so far, I've not seen anything about making that possible to access. [08:49] zyga: heh [08:49] mwhudson: since I change spread to use packaging and real dist tarballs releases should be relatively painless [08:49] mwhudson: let me grep for the right apparmor version to depend on [08:49] zyga: and 0001-Stop-using-deprecated-readdir_r.patch too? [08:50] mwhudson: all patches are dropped [08:51] cool [08:52] mwhudson: 17:44 < tyhicks> zyga: you should depend on 2.10.95-0ubuntu2.2 or newer [08:52] mwhudson: please merge that change into master if you can [08:52] mwhudson: do you have commit access to git.launchpad.net/snap-confine? [08:52] zyga: i doubt it [08:52] * zyga looks [08:53] zyga: 'master' ? [08:53] in my tree master is upstream master [08:53] there is a debian branch, and i guess i'm about to create one called ubuntu, or ubuntu-yakkety or something like that :) [08:53] mwhudson: you need to request access https://launchpad.net/~snappy-dev [08:53] mwhudson: [08:54] zyga: restricted team, i can only be added [08:54] mvo: ^ can you please add mwhudson there [08:54] dch, I'm not quite sure - I'll ping the snapd guys to get an answer on this one. :) [08:54] mwhudson: so that repo is a bit weird; it contains just the debian directory and has branches for each distro version [08:54] * mwhudson updates his schroots [08:55] mwhudson: I found this easier to work with than a few separate repos for the "traditional" approach [08:55] ah ok [08:55] mwhudson: I'm happy to change it as long as we can also use it in spread [08:56] mwhudson: note that spread just branches the appropriate branch and builds the package against the debian directory there and the tarball [08:56] mwhudson: if we had the full git tree it would probably work as well but might be less obvious that only the debian directory is relevant [08:56] mwhudson: and no dedicated tooling seems to work with this approach [08:57] zyga: uupdate? [08:57] mwhudson: (because it is uncommont to maintain many distro revisions in the debian world; I suspect) [08:57] uupdate? [08:58] you could use that with the debian branch from alioth i think [08:58] bah i have too many chroots [08:58] mwhudson: I want to include debian in this repo [08:58] mwhudson: and merge those [08:58] mwhudson: (those repositories) [08:59] yes, makes sense [08:59] mwhudson: ideally there'd be one repo with a branch per release and master where all new things get added [08:59] mwhudson: we can keep it on alioth, that's perfectly fine, I just need to finally do that paperwork for it [08:59] zyga: branch per distro, surely? [08:59] mwhudson: yes [08:59] good :) [08:59] mwhudson: branch per distro*release [08:59] well distroseries, in launchpad terminology [08:59] yeah [09:00] mwhudson: nice :) [09:00] zyga: what i do for go (and i don't know if this really makes sense here) is to have the debian bits on alioth but i only push the ubuntu bits to git.lp.net [09:01] (except occasionally when i screw up and have to delete 10s of tags from alioth) [09:01] mwhudson: I guess we might do that, it is per-branch after all [09:01] :D [09:03] zyga: where are the spread bits that make the packages? [09:16] zyga: ok, builds fine in my yakkety and sid chroots, just waiting on that apparmor version :-) [09:20] mwhudson: ^ [09:20] zyga: oops [09:20] mwhudson: I pasted it above [09:20] sorry, on a call [09:21] mwhudson: in snap-confine master, look for spread-prepare.sh [09:23] zyga: i guess i'll depend on >= 2.10.95-0 for the debian upload [09:23] er -1 [09:24] actually no, the ubuntu version should be fine there [09:24] no sense carrying a delta for no reason [09:26] zyga, lost you :) [09:27] zyga: ok, ready to upload, do you want to look at a debdiff or do you trust me? :) [09:32] zyga: http://paste.ubuntu.com/23206344/ [09:42] re [09:42] * zyga looks [09:42] mwhudson: I trust you but I can review it :) [09:42] :) [09:43] ouch :) [09:43] I stopped at ~1000 [09:43] let's get it in [09:43] zyga: heh maybe search for debian :) [09:43] but ok [09:43] PR snapd#1911 closed: snap: add additional checks for snap run symlinks [09:44] PR snapd#1774 closed: tests: add test for current snapd with ubuntu-core/edge interactions [09:47] zyga: uploaded to yakkety & sid [09:50] mwhudson: woot, thank you [09:51] when I install a snap that I packaged and uploaded some time ago on the latest image, I got this error: [09:51] - Fetch and check assertions for snap "shadowsocks" (5) (cannot verify snap "shadowsocks", no matching signatures found) [09:51] what does that mean? [09:55] Try --force-dangerous [09:55] trying now [09:56] kalikiana, doesn't work :( [09:56] ypwong: upload it again to the store [09:57] ypwong: store will sign it now [09:57] zyga, thx, will try that [10:10] PR snapd#1949 opened: ensure http{,s}_proxy is defined inside the fake-store [10:25] zyga: ftbfs https://launchpadlibrarian.net/285513548/buildlog_ubuntu-yakkety-amd64.snap-confine_1.0.41-0ubuntu1_BUILDING.txt.gz [10:25] zyga: possibly old kernel on the builders? [10:32] mwhudson: possibly [10:32] mwhudson: hmm [10:33] mwhudson: but perhaps not [10:33] zyga: only failed on intel fwiw [10:33] mwhudson: intel as in i386? [10:33] zyga: i386 & amd64 [10:33] zyga: https://launchpad.net/ubuntu/+source/snap-confine/1.0.41-0ubuntu1 [10:34] mwhudson: NSFS_MAGIC is taken from an include file, I don't hardcode it [10:34] mwhudson: hmm hmm, thanks, let me see if I can reproduce it [10:34] zyga: kernel version is just my go-to blame target when a build fails on the builders but not my machine [10:34] mwhudson: but it builds for you in sbuild, right? [10:34] yes [10:34] just building again to be sure... [10:35] mwhudson: right, so I'm not going crazy [10:35] * zyga does the same [10:35] zyga: well, not for this reason anyway [10:35] yeah, built fine here again [10:36] mwhudson: what kind of options do we have? [10:36] zyga: the failing kernels are much older, 3.13 vs at least 4.2 for the others [10:36] mwhudson: disable that test or .. dunno? [10:36] zyga: i guess disabling the test for now if uname -r < whatever [10:36] mwhudson: can you please look at the test and tell me if the code there makes sense to you? [10:37] zyga: i hear people want snappy to work on trusty, so some lucky person gets to figure out if this matters :-) [10:37] mwhudson: that's tvoss but the solution is to use new kernels [10:37] hey ogra_ :) i'm not able to boot the latest dragonboard beta image http://paste.ubuntu.com/23206434/ it hangs in the last line, is this a known issue? [10:37] ah ok [10:37] mwhudson: as for 3.1X for devices, lots of backporting I guess [10:37] mwhudson: so wait, what is the kernel version on the builders? [10:37] we have a ticket open to upgrade builders to xenial, but it will take a while [10:37] zyga: it's on the third line of the build log mwhudson pasted above [10:38] zyga: it's the first or second line in the build log [10:38] mwhudson: Kernel: Linux 3.13.0-96-generic amd64 (x86_64) [10:38] is that i? [10:38] it [10:38] yes [10:38] yeah [10:38] okay, that might explain it [10:38] let me try that kernel locally [10:38] that's trusty kernel with xenial/yakkety chroot? [10:38] yes [10:38] yakkety, in this case [10:38] perfect [10:38] mwhudson: I guess we'll need a patch but let me explore it first [10:39] NSFS_MAGIC changing between kernel versions would be ... something [10:39] mwhudson: can you fild a bug for tracking this with the relevent part of the log [10:40] maybe older kernels just didn't set it at all or something [10:40] zyga: on github or lp? [10:40] mwhudson: on launchpad please [10:44] 40864 seems to be PROC_SUPER_MAGIC [10:44] zyga: https://bugs.launchpad.net/ubuntu/+source/snap-confine/+bug/1625565 [10:44] Bug #1625565: 1.0.41-0ubuntu1 ftbfs on amd64, i386 [10:44] mwhudson: thanks [10:45] and NSFS_MAGIC was only added to the kernel in a commit from Sat Nov 1 10:57:28 2014 -0400 [10:45] so that's not going to be in the 14.04 release kernel [10:46] 3.19+ [10:46] mwhudson: so even the kernel headers have that macro, the relevant files in the kernel don't use it? [10:47] zyga: well the kernel headers you are building against are from yakkety presumably [10:47] mwhudson: yes, I just checked that :/ [10:47] mwhudson: the mount namespace file in the kernel is indeed procfs [10:47] mwhudson: I guess this test needs to be skipped [10:47] mwhudson: and we might need a separate check for this in snap-confine proper [10:48] so that if we open and see PROC_SUPER_MAGIC we can die() [10:48] mwhudson: I'll work on a patch, can you still upload it in £30 minutes? [10:48] ~ [10:49] zyga: getting pretty late, i'm sure you can find another core dev [10:49] ok [10:49] thanks, I'll talk to you tomoror :) [10:49] tomorrow :) [10:49] zyga: ttyl! [10:49] o/ [11:02] mvo, how hard would it be to make snap prepare-image alo print the revision number when printing the "Fetching $package" ? [11:02] *also [11:03] (that would really help regarding getting the manifest) [11:06] possible to use a ppa in addition to whatever snapcraft uses to install debs? [11:06] yes, just have it in your hosts sources.list [11:07] ogra_, okay, that's great [11:08] (not sure how you do it with cleanbuild though, i guess you need a pre-made lxc image for that) [11:08] ogra_, what uses cleanbuild? [11:08] ogra_: I like the idea [11:08] you ? [11:08] mvo, i'll file a bug [11:09] ogra_, I use $ snapcraft [11:09] jgdx, to build a snap you can call "snapcraft cleanbuild" ... while a normal call of snapcraft will just use the host, cleanbuild does the build inside a clean lxc container [11:11] good to know, thanks [11:14] ppisati, hmm, more OOPS fun on bbb ... http://paste.ubuntu.com/23206676/ === hikiko is now known as hikiko|ln [11:14] it seems to hang in resizing the disk and eventually oopses after a few min [11:20] To install a snap locally, do I always need to provide --force-dangerous argument? [11:20] mwhudson: if around by any chance: https://github.com/snapcore/snap-confine/pull/150/files [11:20] PR snap-confine#150: Skip tests that require Linux kernel 3.19+ [11:20] * zyga needs a reviewer for a simple patch ^^ [11:21] ypwong, the option will soon change to just be --dangerous ... and --devmode selets it automatically ... if you install a local snap you always need it (but dont need to specify it when using --devmode) [11:23] ogra_, [11:23] ogra_, will plugs be automatically connected? [11:23] seems when i use --force-dangerous, it doesn't [11:23] the auto-connect ones will, sure ... [11:23] hmm [11:23] strange, let me dig deeper then [11:24] I use network and network-bind, these should be auto-connect [11:24] yes === Michaela is now known as Mikaela [11:25] though i'm not sure actually ... zyga should know if --dangerous kills auto-connect [11:25] ogra_: I don't think so but let me grep [11:26] mwhudson, http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ has the latest probert/subiquity [11:27] ogra_: no, it has no inpact on this [11:28] thought so ... [11:28] thanks [11:28] ypwong, ^^^^ [11:29] ogra_, zyga: thx, i will investigate what's wrong [11:30] ogra_: i'm looking into the previous one [11:31] ogra_: i stuck some debug code in the sysfs code, but i still can't find where it writes [11:31] ppisati, heh, yeah, i was just hoping that brings perhaps more hints [11:31] ogra_: my bet is that it removes all the network devices [11:31] PR snapcraft#808 closed: Don't litter /tmp with test artifacts [11:31] i've seen quite some fixes about PM code and TI device removal [11:32] so i'll give that a shot too [11:32] but this one is new [11:32] doh! [11:32] :P [11:32] ogra_: btw, is is so difficult to roll a new image for BB? [11:32] you need a signed assertion and the snap that you want to replace locally [11:34] ppisati, see pm [11:36] ogra_: ok, i'll give it shot later on [11:36] * ppisati is accumulating later shots [11:43] jdstrand: hey [11:43] jdstrand: could you please add a comment to https://github.com/snapcore/snap-confine/pull/97 that confirms you are okay with the change that lowers the restriction on encrypted home directory (we drop the owner stanza) [11:43] PR snap-confine#97: Restore creation of $SNAP_USER_DATA [11:43] jdstrand: just some paperwork for SRU [11:43] jdstrand: I recall you +1'd it but I need a paper trail for the whole process [11:44] jdstrand: and I cannot see that +1 on the pull request there [11:47] zyga: I don't recall ever giving a +1 on that. I recall a +1 on the 'new-style encrypted $HOME' [11:47] zyga: why doesn't owner match work? shouldn't we have already dropped privs to the user when creating SNAP_USER_DATA? [11:49] jdstrand: beuse we run as root via sudo [11:49] *because [11:49] jdstrand: this is just for the sudo case [11:49] the bug https://bugs.launchpad.net/snap-confine/+bug/1612291 has a lot more details now [11:49] Bug #1612291: cannot create $SNAP_USER_DATA when using ecryptfs and sudo [11:50] (this is in xenial for a while FYI) [11:51] OH GEEZ !!!!! [11:51] ogra_: ?!? [11:52] so i wasted a full day trying to fix a prob that wasn't actually one, just because i missed that the store did unset the channel for a manually published snap ! [11:53] (well, it was actually auto-published, but failed the review ... seems the manual review approval auto-unsets the channel that had been originally selected for the package) [11:53] so the uploaded fix never made it into the image ... since it caused snap list to not work i couldnt actually find out that the fixed snap was a revision behind ... [11:54] what a mess [12:00] niemeyer: let me know if I am not using the 'Reviewed' tag correctly. I see you like to mark things 'Reviewed' after you leave feedback. If I respond to your feedback, I remove 'Reviewed'. If the process is different, please let me know [12:00] jdstrand: the reviewed tag is gone now [12:00] jdstrand: with new github features it is not required [12:01] jdstrand: same as blocked [12:01] zyga: well, maybe, but it showed up with a review from last night/this morning [12:02] zyga: no, after futher thinking, we are still using the labels [12:02] zyga: you don't see the other stuff in the PRs list for one [12:02] pedronis: yes? [12:03] pedronis: I think gustavo wrote about this yesterday but perhaps I didn't see a follow-up that undoes it [12:03] zyga: right, so I read that bug but I think this is just papering over the larger issue of sudo creating things in the user's dir rather than /root [12:03] zyga: he wrote something else, we are using the features and we are using the labels [12:03] the discussion about the labels was in chat [12:03] jdstrand: that's interesting, I think we could consider switching to /root when sudo is used but I don't think we made that choice yet [12:04] pedronis: ah, that explains it, I only read my mail about that [12:04] pedronis: thanks! [12:04] zyga: I maintain we should not be doing that. HOME should be set to the root user if run under sudo because we will never get the permissions right in the user's directory cause half the time we will be right and half the time wrong regardless of the decision, but if creating in /root at least it is consistent [12:05] zyga: I was literally just going to ask if an architect took a definitive stance on that [12:05] I thought someone did, and I thought it was for /root, but I may be misremembering [12:06] jdstrand: I think we did that for /root and *services* [12:06] 'it is consistent and we aren't creating permissions problems for the user' [12:06] jdstrand: well, FYI this is in xenial :/ [12:06] jdstrand: I'm just massaging the paperwork now [12:07] jdstrand: I think there's a strong distinction between servies and sudo [12:07] jdstrand: but still, regardless, I wonder how to proceed now [12:07] * zyga is *sure* we talked about this [12:07] * ogra_ grumbles and files bug 1625605 [12:07] Bug #1625605: manual review should not unset the channel for auto-uploaded snap [12:07] perhaps that was tyhicks [12:08] Bug #1625605 opened: manual review should not unset the channel for auto-uploaded snap [12:10] zyga: I gave a +0 that at least gives you a "won't block" from the security team [12:10] zyga: (see comment in the PR) [12:12] jdstrand: thank you [12:12] jdstrand: I'll raise this today with gustavo [12:12] jdstrand: I'm happy to change it if we so desire though I wonder if we should just change sudo [12:12] jdstrand: after all, this is sudo's code that preserves HOME [12:12] there is a bug on that [12:13] jdstrand: and that was a vert conscious choice on our end (our == ubuntu) [12:13] yes [12:13] jdstrand: can you share the bug please? [12:13] s/vert/very/ [12:14] the difference is that in ubuntu running the sudo command, the command most often does not create files in the user's home dir (it is highly application dependent). in snappy, running a snap command 100% of the time creates the directories and files with root ownership [12:14] (when they don't already exist) [12:14] mvo, bug 1625607 for you [12:14] Bug #1625607: snap prepare-image should print the revision used in the "Fetching $package" output === hikiko|ln is now known as hikiko [12:17] jdstrand: that's true though I'd say that "it is application dependent" is very common [12:17] Bug #1625607 opened: snap prepare-image should print the revision used in the "Fetching $package" output [12:17] zyga: https://bugs.launchpad.net/snappy/+bug/1466234/comments/6 [12:17] Bug #1466234: Apparmor denial for access to SNAP_APP_USER_DATA_PATH as root [12:18] zyga: in fact, it looks like we decided on option #1 (using /root) but no one implemented it [12:18] zyga: seems it was undone at some point [12:20] jdstrand: interesting, I wasn't aware of it [12:21] zyga: so yes, it came up, options were presented, one was decided on, it was implemented, then reintroduced later [12:21] s/then reintroduced/then the issue was reintroduced/ [12:30] cjwatson: crazy idea, let launchpad bugs affect snap names [12:31] cjwatson: like packages in a distro or upstream projects [12:31] zyga, awesome idea ... but would indeed only work for snaps that are built in LP [12:32] ogra_: no, why? [12:32] Conceptually useful, but we'd have to model the snap names somehow, which is complex since LP doesn't own them. [12:32] ogra_: just any snap [12:32] ogra_ is incorrect [12:32] cjwatson: I bet we can eventually figure it out [12:32] If we did this we'd do it by syncing snap names from the store [12:32] cjwatson: just realized that more and more of what I do will be fixed in a given revision of a given snap [12:33] cjwatson, well, you just said yourself that LP doesnt own them ... except for a snap LP builds, there it knows the store name [12:33] ogra_: See the last thing I said. [12:33] It doesn't own them, but it could know them. [12:33] ogra_: launchpad doesn't own other things it can track [12:33] right, i was just referring to the ones it already knows :) [12:34] It won't be soon, but by all means file a bug. [12:35] cjwatson: with pleasure [12:36] pstolowski: ok, I gave my +1 on the kmod backend, but think you want to have niemeyer take a quick look. that could happen in the PR if you prefer [12:36] It might be easier to do if we didn't try to overlap the namespace with the existing "ubuntu", though. [12:37] pstolowski: I can't help wanting to not require the json file, but understand why you have it and can't come up with a cleaner solution that doesn't introduce parsing metadata in /etc/modules-conf.d [12:38] or loading modules twice [12:38] cjwatson: https://bugs.launchpad.net/launchpad/+bug/1625617 [12:38] Bug #1625617: Allow bugs to affect snap (snap names) [12:38] jdstrand: json? [12:38] pstolowski: where's the pull request? [12:39] zyga: https://docs.google.com/document/d/1-kSrNGLxIeSHJOZJBdumAL8QQIt0DBa_TLMzYDQEPM4/edit# [12:39] zyga: no pull request-- design doc [12:39] pstolowski: This database is persistent and stored in /var/lib/snapd/kmod-state.json (restored on startup). [12:39] ogra_: got a pi handy with classic enabled? libssl-dev seems broken on arm:- libssl-dev : Depends: libssl1.0.0 (= 1.0.2g-1ubuntu4.2) but 1.0.2g-1ubuntu4.3 is to be installed [12:39] pstolowski: why do you think this is needed? [12:39] zyga: see my comments [12:40] jdstrand, thanks for your time! [12:40] (in the doc) [12:40] popey, only half eaten pi's here (all broken atm) ... but i'll check once i get to one ... which image is that ? [12:40] zyga: basically, it boils down to disconnect [12:40] zyga: if two snaps are connected and one isn't, you need to know if other snaps are connected [12:40] pstolowski: this database is redundant information, it is completely derived from connections, am I missing something? [12:41] jdstrand: snapd knows all of this [12:41] that didn't come out right [12:41] ogra_: previous beta (not yesterdays) [12:41] ogra_: with classic enabled. [12:41] zyga: if two snaps are connected and one of those is later disconnected, you need to know if other connections are available [12:41] popey, there was an issue that we used to build ubuntu-core against -proposed which got fixed after first beta [12:41] ok [12:41] s/available/still in effect/ [12:41] am about to try yesterdays [12:41] with a pi3 [12:41] popey, well, snap refresh should theoretically just get you all the latest snaps [12:42] theoretically there is no need to ever reinstall [12:42] jdstrand: to be more accurate, since we restore this on startup we can just keep this in memory [12:42] jdstrand: so no computational overhead on disconnect [12:42] (practically there are differences in the setup process ... but not in the runtime) [12:42] jdstrand: unless someone proves me wrong I'd -1 the extra json file [12:42] zyga: so, if I snap disconnect foo:firewall-control, then snapd will be able to know that bar is still connected and make decisions? where is an example of that, cause I only see the snap name in current code [12:43] jdstrand: yes [12:43] jdstrand: specifically snapd knows about all the backends and all the connections [12:43] jdstrand: we need a channel to convey this to the backend [12:43] zyga: hey, I'm fine without the json file-- I don't like it :) [12:43] ogra_: well, i was gonna test the new one anyway, so neat to have them side by side to compare [12:43] jdstrand: but the extra json file does not help there [12:43] pstolowski: ^^ [12:43] if i can find my pi 3 [12:43] i'm happy to get rid of it too [12:43] pstolowski: look at the startup sequence in overlord/ifacestate [12:43] jdstrand, zyga need to digest that [12:44] ogra@anubis:~/datengrab/images/snappy$ LC_ALL=C df -h /dev/sdc1 /dev/sdc2 [12:44] Filesystem Size Used Avail Use% Mounted on [12:44] /dev/sdc2 475M -32T 33T - /media/ogra/writable [12:44] /dev/sdc1 127M 23M 104M 19% /media/ogra/system-boot [12:44] wow ... [12:44] -32T [12:44] pstolowski: think about it, perhaps I am missing something but if not we just drop some complexity [12:44] (thats definitely not what they printed on this SD card) [12:44] ogra_: that's a nice SD card you have there [12:44] yeah ! [12:44] ogra_: care for a copy of the internet? [12:45] haha [12:45] don't foret to unmount before ejecting [12:45] ;D [12:45] right ... on the beaglebone i use it in ... [12:45] seems it doesnt really get along with SDXC [12:46] * ogra_ tries to find out if he even actually owns plain old SD ones still [12:47] ogra_: to quote hrw "no sata, meh" [12:47] LOL [12:47] zyga: so you are suggesting that pstolowski use getConns() from helpers.go to see if there are still connected interfaces. if so, on connect, do nothing, on disconnect, do nothing? [12:47] zyga: something along those lines? [12:48] jdstrand: without any deeper understanding the json file can be just maintained in memory [12:48] zyga, all I need is to know if I should rmmod module(s) or not, depending on whether there are other connected interfaces needing them [12:48] jdstrand, ^ [12:48] jdstrand: this is all an in-memory problem [12:48] jdstrand, zyga also, note there may be overlapping modules for different interfaces [12:48] jdstrand, zyga interfaceA needs module1 & module2, interfaceB needs module2 [12:48] pstolowski, please "modprobe -r" not rmmod ... else the dependencies stay in ram [12:48] pstolowski: well, you need to know if to rmmod and to update the file in /etc/modules-conf.d to remove the modules [12:48] pstolowski: just track this on connect/disconnect, the persistent file gains you nothing [12:49] jdstrand, yes, sure [12:49] ogra_, noted, thanks! [12:49] pstolowski: and if you need persistent state you have one already, the extra file will be likely NAKed by gustavo [12:50] zyga: ok, so you can either reconstruct the 'json file' in memory on startup like you said, or you could query the state of interfaces connections (getConns()(?)) each time [12:50] jdstrand: yes [12:51] jdstrand: in either case the file is redundant and overlaps in responsibilty with state.json [12:51] ok cool [12:51] jdstrand: state tracks connections today [12:51] jdstrand: (that's why they exist on restart) [12:51] jdstrand: the interface repository has in-memory representation of this [12:51] I think that querying getConns() each time will be easier to implement than trying to maintain a global map [12:52] (a separate global map) [12:52] pstolowski: FYI, you will probabl have to introduce some changes as currently backends are stateless [12:52] ie, no need to recreate the map if we can query an existing one [12:52] pstolowski: so either make them stateful (perhaps not desired) or let them peek at the state (easy) [12:53] dch: pong, and good morning :) [12:54] zyga, jdstrand one bit i'm missing with getCons() is that i'm actually interested in their security snippets [12:57] pstolowski: if you want I can talk to you about this after the standup [12:59] zyga, okay [13:01] pstolowski: well, are you? consider the firewwall-control interface. you need only ask getConns() if anything other than you is using the interface. then maintain a file called /etc/modules-conf.d/snapd-firewall-control.conf. then for the ppp interface, you ask what else is using the ppp interface and maintain a file called /etc/modules-conf.d/snapd-ppp.conf. that said, do talk to zyga-- he has thought about it more than I [13:01] sigh ... so setting up the store account on the bbb takes almost 20min [13:02] this is below sub-optimal [13:03] mhall119: hey [13:04] ogra_: cpu bound? ram bound? ? [13:04] zyga, python bound i bet ... (which indeed boils down to only single core CPU and 512MB [13:04] ) [13:05] remember why we re-wrote snappy from python initially ? :) [13:06] great ... and it seems console-conf was still busy in bg, even though it had "finished" [13:06] [ 937.295627] systemd-shutdown[1]: Remounting '/' read-only with options ''. [13:06] [ 937.304326] systemd-shutdown[1]: Remounting '/writable' read-only with options 'data=ordered'. [13:06] [ 937.314808] systemd-shutdown[1]: Unmounting /writable. [13:06] [ 937.320368] systemd-shutdown[1]: Could not unmount /writable: Device or resource busy [13:06] ogra_: tried pi3 image, it just sits at 4 raspberrys and heartbeat blinks at me... should it take a long time first boot? [13:06] * ogra_ has about 1000 lines of that on the console now [13:07] popey, whats on the serial ? [13:07] serial? [13:07] i only have ethernet and hdmi connected [13:07] yes, you are using an embedded board ... so i expect you to have a serial console attached :P [13:07] hahah, olde ogra_ [13:07] hello, welcome to 2016 [13:07] this is really essential [13:08] le sigh [13:08] (how else would i get any debug info from you :P ) [13:08] ogra_: from python!? really?! [13:08] ogra_: wow [13:08] ogra_: I didn't know this [13:09] zyga, we dropped the pythjon based snappy back then because even installing a package could take 20min on the bbb (which back then was still an official target) [13:09] ogra_: this is the first time I have ever had someone ask me about a serial cable on the pi.. ever. [13:09] ogra_: ouch [13:09] ogra_: lesson learned [13:09] so forgive me if I don't own onw :( [13:09] *one [13:10] popey, well, because the pi foundation makes you think that this embedded board is a PC :P [13:10] ogra_: that board is x100 faster than linus' first pc [13:10] popey, anyway, you can hack cmdline.txt on the sysstem-boot partition of the SD ... and change the console= arg tp point to tty1 [13:11] though i would suggest doing a fresh flash first ... the beta images are no safe against rebooting before console-conf finished (thats fixed in the dailies) [13:12] it is a fresh flash [13:12] from 20 mins ago [13:12] did you power on the pi with the SD plugged in ? [13:12] (then it is tainted if you were not able to finish console-conf) [13:13] ok [13:13] * popey reflashes [13:13] the dailies are already miles ahead (new console-conf today) but well ... use edge ... [13:14] will flash, edit cmdline.txt and try again [13:20] jdstrand, i think we need more awareness, down to individual modules, because some modules can be used by different interfaces and we need to know when it's safe to unload them from kernel. i'm happy to get rid of the persistent json file but I need to derive this information from somewhere else (all connections + their list of modules returned by SecurityKMod snippet). [13:20] PR snapd#1641 closed: interfaces/builtin: implement systemd-control [13:22] mhall119, hi [13:22] pstolowski: that sounds good [13:22] pstolowski: I'm not disputing the data that is needed to complete this [13:24] ogra_: tried that, now I get perma green and red light and no display :( [13:24] gonna try again after meetings, but any other suggestions welcome [13:25] i dont have any [13:25] it works fine to run it without HDMI on a serial console [13:30] * zyga finished paperwork for 1.0.40 update [13:30] https://launchpad.net/snap-confine/+milestone/1.0.40 [13:30] pstolowski: or you could skip the modprobe -r altogether... starting to think that it might always fail cause of modules that depend on those [13:30] now time for 1.0.41 :/ [13:30] jdstrand: hmm, good point [13:30] pstolowski: always in practice that is. [13:30] jdstrand: so just modprobe [13:30] jdstrand: and just reboot to alter [13:30] eg, firewall control will for sure [13:30] jdstrand: the module might not be possible to remove perhpas [13:30] yeah [13:31] hello csutherl [13:31] jdstrand, the kernel shoudl know which deps are stiull in use and modprobe -r should actually leave them alone [13:31] pstolowski: ^^ I think simplifies your problem a lot [13:31] zyga, it does but i'm not convinced :/ [13:31] ogra_: should we fail when modprobe -r fails? [13:32] i'd check if the module you called -r on is still there ... and then fail ... but only then [13:32] no, i'd say we try to unload modules, but never fail [13:32] why? [13:32] well, or warn [13:32] who cares if it doesn't unload [13:32] exactly [13:32] and there may be users of the modules outside of snap world. we don't know [13:32] yes, good point [13:33] mhall119, i figured it's probably easiest for me to talk to you in real time :) im a bit busy, but im always on irc [13:33] perhaps the admin add a file to /etc/modules-load.d that happens to overlap [13:33] mhall119, i created a snap from your config, but haven't tested it or anything yet. the idea of snaps seems similar to containers, right? [13:33] added* [13:33] similar in spirit, not in implementation [13:33] then we just go and unload it [13:33] that wouldn't be good [13:33] snaps are run on the local host, but confined with apparmor (and selinux in the future) [13:34] jdstrand, hmm, that's a valid point & case [13:34] mhall119: s/and/or/ (nitpick, but it won't ever be both at the same time) [13:35] jdstrand, zyga no unloading then? that simplifies it quite a lot [13:35] pstolowski: I think I just convinced myself no unloading [13:36] mhall119, csutherl, well, a container means your snap would actually be installed in / and run against a VM or chroot or some such ... snaps dont do that, there is no such path mangling like in chroot or VM environments [13:37] ogra_, ah. thanks for the explanation. i haven't had much time to look into it other than to install and run snapcraft :) [13:37] the paths are actually all underneath $SNAP ... [13:37] interesting [13:37] csutherl: snaps integrate with the system and with each other and we use some container technologies to do that [13:38] neat [13:38] so why would i use a snap instead of docker, for instance? [13:38] im just trying to get an overview of use cases [13:38] right, but we do not make it look like $SNAP/usr/bin is actually /usr/bin ... which a container does [13:38] csutherl: it is easier to let one snap to work with other snaps and with the system [13:38] csutherl: and the snap might be smaller as it re-uses the core snap [13:39] there is strict separation in our setup [13:40] csutherl: it depends on what you want. with docker, you manage the app with docker and it doesn't integrate with the system (maybe that is your workflow, that's fine). with snappy, normal tools like ps, top, ls, etc all work as expected for the snap and that snap might connect to another snap-- eg, download the bluez snap and then another snap that uses it [13:40] csutherl: snanps also integrate better with regular users on the system and allow them to have per-user state [13:40] csutherl: that is harder to do with docker [13:41] csutherl: it just depends on what you want and what your workflows are [13:41] gotcha [13:42] jdstrand, zyga ogra_ thanks for the responses :) [13:42] :) [13:42] you're welcome :) [13:44] mhall119, ok. back to you. what exactly were you looking for help with ? just testing your snap or something more? [13:44] pstolowski: do you have everything you need at this point? [13:44] jdstrand, yes! thank you for feedback! [13:45] pstolowski: you're welcome and thanks to zyga for reminding me that the state is right there at your fingertips :) [13:48] jdstrand, fyi.. i've already made some progress on the impl (well, it's 90% ready the way I described it in the doc with persistent state). so now i only need to rework it a bit ;) [13:48] csutherl: I'm really looking for help testing and improving the snap right now, and getting it upstream once it's in a good state [13:49] jdstrand, so I hope to have something ready for review this week [13:49] pstolowski: nice! [13:49] mhall119, what does 'getting it upstream' mean? [13:49] i dont know anything about the infrastructure, etc atm, so assume i know nothing :) [13:49] in the not to distant future I wanted to make it possible to deploy .war files as snaps that connect to the tomcat snap, or to make tomcat a snapcraft "part" that developers could use to bundle it with their webapp [13:50] csutherl: getting the snapcraft.yaml into the upstream source code, and building snaps as part of the normal CI process rather than as a one-off manual task [13:51] mhall119, upstream as in asf tomcat or some snap store type thing? [13:51] asf tomcat [13:51] b/c asf afaik doesn't generally accept distribution stuff :) [13:51] which is why im the only person that responded to you [13:51] i maintain fedora/rhel tomcat [13:51] who could then upload it to the snap store or make it available as a download (or both) [13:52] csutherl: it would be more inline with asf project packages for windows or mac, rather than distro-specific [13:53] mhall119, you can always give it a shot and see [13:53] since the snap could be installed on to Arch or Debian, for example [13:53] yep [13:57] csutherl: if you can help me figure out why the JSP views aren't working, that would be a huge help :) [13:57] my guess is that it's trying to write the compiled pages somewhere that is read-only, but I've forgotten where Tomcat tries to do that [14:00] mhall119, gotcha. sure [14:00] mhall119, it writes the compiled jsps into the work dir (or temp, i dont remember) [14:00] mhall119, do the example apps fail? [14:00] only on the JSP side, the servlet works fine [14:01] it's created $CATALINA_BASE/work/Catalina/localhost/sample just fine [14:02] so maybe it's trying to use a temp directory it doesn't have [14:02] probably [14:02] ill pok earound with it when i get freed up later today [14:02] thanks csutherl [14:02] mhall119, np [14:16] PR snapcraft#814 opened: Make source-depth a parameter and opt-in [14:18] PR snapd#1949 closed: tests: ensure http{,s}_proxy is defined inside the fake-store [14:25] PR snapcraft#809 closed: make plugin: improve artifact copying (LP: #1624798) [14:28] PR snapcraft#792 closed: Fix `git clone` when transport is http and it does not support --depth [14:31] PR snapcraft#802 closed: Add the TEST_STORE environment variable to the travis script [14:32] ogra_: FYI, i think i fixed the BB panic [14:32] awesome ! [14:32] what was it ? [14:34] PR snapcraft#761 closed: Remove dangling symlink from JDK plugin [14:36] ogra_: the PM code tried to suspend (IOW access) a device that was already removed [14:36] and kaboom! [14:36] but i'm running another test now [14:36] lovely ! [14:36] fingers crossed [14:37] sadly i didnt get much firther with console-conf on the bbb nor with making the FS resize operate at a bearable speed :/ [14:38] using a 64GB SDXC card takes about 30min to resize the writable partition :/ [14:38] it works all fine using something like a 4GB SD though [14:39] though the fact that console-conf is python bites badly :( setting up the user account is also in the tens of minutes [14:39] but if you can live with the inital slowness the board works quite well after the first setup :) [14:41] PR snapd#1871 closed: snap: lessen annoyance of implicit interface tests [14:47] Ubuntu Community Q&A with Michael Vogt starting in 15m (15 UTC) on http://ubuntuonair.com [14:47] ooo [14:47] way to go mvo! :) === JanC is now known as Guest12202 === JanC_ is now known as JanC === dpm_ is now known as dpm [14:58] PR snapd#1950 opened: store,snap: initial support for delta downloads [15:03] hi all, any idea about http://pastebin.ubuntu.com/23207400/ ? I'm trying to follow https://developer.ubuntu.com/en/snappy/guides/mir-snaps/ but can't even create the image... grub-install is obviously there on my machine [15:04] grub-install ??? [15:04] * ogra_ reads the paste [15:05] hmm, if it would open [15:05] Saviq migt want to tell kgunn to update that guide to use ubuntu-image [15:05] sergiusens, ~same args? [15:06] Sano, completely diffferent [15:06] *Saviq [15:06] yay [15:06] Saviq I have been completely decoupled (finally) from image building :-) \o/ !!! [15:06] where do I get ubuntu-image? snap find doesn't yield anything [15:06] sigh .. so this was 12min waiting for console-conf to set up the user ... go python [15:07] use --edge [15:09] Saviq, see PM ... though whats the reason to actually create an image instead of using either the beta or daily ones that we already have ? [15:11] * ogra_ points to http://cdimage.ubuntu.com/ubuntu-snappy/16.04/current/ (for beta) and http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ for dailies [15:11] there shoudl really be no reason to build your own image [15:12] jdstrand: Super easy one (I hope), for when you have a few seconds: snapd#1948 [15:12] PR snapd#1948: interfaces/builtin: add run/udev/data paths to mir interface [15:12] ogra_, I suppose to give it more space or something? [15:12] yeah, that is. we discussed it [15:12] niemeyer: fyi, pushed the docker change [15:12] jdstrand: Thanks! [15:13] dunno, really - will try with the published image [15:13] Saviq, well, the beta ones have 3.8G ... the dailies around 3G ... [15:13] ogra_, ack, trying the daily [15:13] (at least for kvm ... ) [15:13] 500 kBps on a 600Mbps link... why, oh why!? [15:14] PR snapd#1948 closed: interfaces/builtin: add run/udev/data paths to mir interface [15:15] jdstrand: Don't see the docker change..? [15:15] there is a new PR [15:16] (for docker) [15:16] * ogra_ noticed it in the mail spam ... [15:16] ogra_: That's the one we're discussing, I think/hope [15:17] ogra_: tried both pi 2 and pi3 images from http://cdimage.ubuntu.com/ubuntu-snappy/16.04/current/ and neither gives any output on HDMI [15:17] ah [15:17] i set console=tty1 and nothing [15:17] popey, they do for me [15:17] kgunn, do you know if we still need the self-built image for https://developer.ubuntu.com/en/snappy/guides/mir-snaps/ ? ogra_'s proposing either http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ or http://cdimage.ubuntu.com/ubuntu-snappy/16.04/current/ [15:17] ah d'oh [15:18] * Saviq needs to read better, is all [15:19] popey, i always test using HDMI for one of them to run the console-conf wizard ... (and the other i test purely via serial) [15:19] usually alternating between them for each test ... [15:19] it might be that the boot stalls if there is no serial at all though ... i doubt anyone of us has ever tested without serial attached [15:20] how do I resolve something like this? [15:20] daniel@daydream:~/dev/snappy/snappy-playpen$ snap remove sayonara [15:20] error: cannot remove "sayonara": snap "sayonara" has changes in progress [15:20] daniel@daydream:~/dev/snappy/snappy-playpen$ [15:20] dholbach, snap changes [15:20] find the change in progress [15:21] then "snap abort $changenumber" [15:21] nice one [15:21] thanks [15:22] let's see how this goes [15:24] ogra_: it brings up IP and no hdmi, but ssh with ubuntu@ the password 'ubuntu' fails. I don't understand this [15:25] popey, there is no ubuntu user anymore [15:25] ok, can i ssh in at all? before any setup? [15:25] no [15:25] ssh is running though [15:25] well, the network setup is also interim [15:25] so, what's a way forward here? [15:26] you only get proper configs in place after you ran through console-conf ... [15:26] I am using an announced image on commodity hardware and I get nothing on the screen [15:26] jdstrand: There's probably a push missing on the docker branch [15:27] popey, it is an IoT image ... use it in this context ... really ... [15:27] oh, I did! [15:28] (read: there will most likely *not* be any 20" HDMI screen on top of your robot or drone) [15:28] this is quite possibly the most frustrating I have felt for some time. [15:29] I give up [15:29] niemeyer: ok, pushed for real [15:29] well, i cant really help you if you dont use a serial cable [15:29] jdstrand: Thanks! [15:29] don't worry, I'll put them in a box and forget they exist [15:29] how am i even supposed to knwo whats going on without you being able to give me any debug info from the console [15:29] this worked with a previous image [15:30] my expectations clearly need a reset [15:30] it works every day here on my Pi's [15:30] I am happy for you. [15:30] and i cant tell if your SD has issues or anything if i cant get your serial output [15:31] the sd card worked fine, then i had to reflash because of the libssl issue I mentioned earlier [15:31] I have tried two sd cards and two generations of pi [15:31] do you see the rainbow square on screen when waiting for it to come up ? [15:31] no [15:31] nothing [15:31] then it just idles [15:31] i see heartbeat and network flash [15:31] and ssh on that port [15:31] how big is your SD ? [15:31] 32GB [15:32] hmm, that should take less than a minute to resize [15:32] ogra_, have you seen anything like this before? http://paste.ubuntu.com/23207556/ [15:32] dholbach, oh, nope,. thats new [15:33] dholbach: yes, i have, make sure you kill all shells in that directory [15:33] dholbach: probably a bash running or something in there [15:33] ok, I'll restart after the hangout :) [15:34] popey, you can try something else and completely dumb down HDMI ... edit config.txt on the system-boot partition and add hdmi_safe=1 ... see if that helps in any way [15:34] and as before ... if you dont use the daily image, re-flash before first boot [15:34] else the setup is likely messed up [15:35] ok [15:36] (or just use the daily, thats way more robust) [15:36] (and 10x faster to flash) [15:37] where is the pi3 daily image please? [15:37] http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ [15:38] before I flash, here's the syslog http://paste.ubuntu.com/23207584/ [15:39] fwiw [15:39] Bug #1625698 opened: console-conf on beaglebone takes unbearable long [15:40] matteo, morphis : i am using the current xenial pi3 image and when it boots i configure the network (just accept the defaults, it gets a dhcp address on eth0), and then enter my david.duffey@canonical.com. I then can ssh into the pi3 ... but as soon as i reboot it goes back into "configure" first boot and then fails to create the existing user [15:41] popey, looks all fine ... it is most likely sitting theer waiting for input on the console [15:41] Sep 20 14:52:52 localhost systemd[1]: Started Ubuntu Core Firstboot Configuration tty1 [15:41] that is what i see close to the end [15:41] matteo, are you using the current pi3 for your openwrt testing, or daily / edge? [15:42] I made an image witu ubuntu-device-flash [15:43] PR snapcraft#742 closed: Handle missing source type packages in the parser [15:46] dduffey, is that daily or the beta image from cdimage ? [15:46] ogasawara_, the beta image from cdimages [15:47] hmm [15:47] ogasawara_, dates sept 19 [15:47] yes [15:47] ogasawara_, it may have something to do with on first boot it doesn't see wlan0 [15:47] and then when you reboot it finds wlan0 [15:47] (you should use three chars for your autocompletion ... though i guess leann is happy to collect pings) [15:47] ogasawara_, sorry [15:48] dduffey, yes, most likely ... that should be a bit better in the daily image ... [15:48] ogra_, the daily image pulls snap from the edge channel, right? [15:48] but even if the wlan0 issue is at fault, it should never bring you back to the config screen [15:48] yep [15:49] there landed a new console-conf today in the ubuntu-core snap in edge [15:49] so todays daily might not have that issue anymore (i havent tested pi's today, so ui cant really tell) [15:50] * ogra_ was battling with the beaglebone images ... [15:50] ogra_, okay, I will try ... another question ... in the past the snappy list -v showed all the snaps (including the prior installed snap) ... what is the 16 equivalent [15:50] snap list ... [15:51] but i dont think it shows former snaps ... [15:51] but the new snap keeps logs ... you can check with "snap changes" [15:51] I ask because on this image yesterday a "snap refresh" downloaded an ubuntu-core, today it said there was no updated but i think that is because it already snap refreshed on it's own ... I just want to verify [15:51] cool [15:51] and you can see details with "snap change $number" [15:52] (with the number listed in "snap changes") [15:52] you read my mind ... thanks! [15:52] yes, i see that it did update ubuntu-core on it's own [15:53] ogra_: so, cmdline.txt:- dwc_otg.lpm_enable=0 console=tty1,115200 elevator=deadline [15:53] right? [15:53] (also hdmi_safe) [15:54] ogra_, so this is where you would recommend downloading from? (and I'm assuming this will move out of your account someday): people.canonical.com/~ogra/snappy/all-snaps/daily/current/ [15:54] popey, yeah, that should work ... and in config.txt you set the hdmi option from above [15:54] yeah [15:54] dduffey, yeah, for the dailies use that url for now ... once infinity has set up dailies on cdimage i will shut that place down [15:55] ogra_: i get output! [15:55] great [15:56] thanks. [15:56] sadly the Pi will now never read your EDID :) [15:56] or any useful info from your monitor [15:56] matteo, once I try the pi3 daily, what do you recommend I do before installing the openwrt snap ... i.e during the first boot config ... dhcp on eth0 (so service it an ip address and browse to luci) ... and what about wlan0 setup? [16:00] ogra_: now it's been sat at "random: nonblocking pool is initialized" for 3 mins [16:00] when you start openwrt it will always configure eth as wan interface, and wlan as lan [16:01] so, dhcp on eth0 [16:01] an access point will bringed up on wlan0 [16:05] matteo, okay thanks ... should i pre-setup a static config at first boot ... it seems like ubuntu core doesn't let me leave wlan0 "unconfigured" (i.e. it wants me to fill out the ssid) === chihchun is now known as chihchun_afk [16:14] popey, whats above that ? [16:15] ogra_: it finally finished :) [16:15] (there should be some info abnout resizing ... that might take a few mins) [16:15] was doing the resize for aaaaaaaaaaaaaaaaaaaaages [16:15] yeah, 32GB ... [16:15] the image is only like 300MB ... [16:16] and now I have lots of space :) [16:16] * popey presses enter to configure, as told [16:16] it seems to only be that slow on non GPT installs ... [16:17] i wonder if we could switch the Pi's to GPT [16:17] but i guess that will make the proprietary bootloader fall over [16:18] I *love* this console setup thing [16:18] properly LOVE it [16:18] who made it? [16:18] yeah, it is great if it works :P [16:18] (still has a good bunch of issues, but getting better with every release) [16:19] popey, thats mwhudson ... and a bit cyphermox [16:19] "subiquity" [16:19] even if the keyboard layout isn't right :) [16:19] (i saw the thread) [16:19] the new installer [16:19] well and it cant realyl be right [16:19] we dont ship any keymap [16:19] s [16:21] the advantage is that the current install is only 160MB big :) ... and given you always only log in via ssh, the console keymap only kicks in at the config tool [16:21] ssh will use your hosts keymap and we dont set up local logins [16:21] but first setup the layout is wrong, for logging into the store [16:22] so I get my password wrong [16:22] although this time wasn't needed I guess because it recognised my device from last time? [16:22] your password ?!? [16:23] * ogra_ has never seen a password prompt [16:23] it used to ask for pw/2fa? [16:23] or am I imagining that? [16:23] well, if it does, it has not asked me since i know that tooL (about a month now and i use it daily) [16:24] it should only ask for your LP email ... [16:24] ok [16:24] pretty sure I typed my 2fa in at least once [16:24] which means the @ is an issue [16:24] will see on the pi3, which I haven't ever setup like this [16:25] it really shouldnt ask for anything [16:25] ok [16:26] are you on the daily now or on beta still ? [16:26] daily [16:26] good [16:26] and the pi3 where you think you saw that, was that an official release or something rolled with ubuntu-device-flash [16:27] daily from same place [16:28] i havent set that up yet, doing now [16:28] btw bug 1621378 [16:28] Bug #1621378: console-conf should tell the user that the keyboard is US only [16:29] well, we'll actually make it do proper keyboarding [16:29] ta [16:29] cyphermox, how ? [16:29] US only is bad for the fr_FR [16:29] there is a way to pick keyboards, and to apply keyboard settings [16:29] we dont have any keympas, locales or other language related bits on the image ... [16:29] deliberately [16:29] I'm sure you have enough [16:30] pretty much zero [16:30] or I'll find out that I'm wrong and cry myself to sleep [16:30] :) [16:30] not sure, can you generate one on the fly ? [16:30] or let mwhudson to do all that, if it happens that I'm pulled into somethign else [16:30] without any of the ablev [16:30] I'm not sure [16:30] *above [16:30] I need to go steal code from console-setup to do that [16:31] well, even that has input files [16:31] my problem :) [16:31] ship a free US keyboard with every image [16:31] well, if you grow by more than 1MB it becomes mine :P [16:31] I mean, US-only keyboard is really bad when your keyboard keys really don't have anything to do with US [16:32] ogra_: I don't think it will have to grow by that much [16:32] i'll quote you on that :) [16:32] from what I see right now, maybe 22k? [16:33] oh, thats good [16:33] bet ogra_ is sucking air over his teeth now... "oooh.. 22k.. can't do that guv" [16:33] that's assuming I need all that console-setup currently needs, which is probably not quite true [16:33] haha [16:33] * ogra_ looks around fro the hidden mic [16:33] the truth is, I don't know right now how much we'll need, so we'll have to do some testing to find out [16:34] well, d-i doesnt need much either ... i guess you can steal from there [16:34] yeah, that's the initial plan, I would say [16:34] that should be even less than console-setup [16:34] well, it *is* console-setup [16:34] unless it switched to it nowadays [16:35] console-setup-udeb; but still console-setup, minus some weight [16:35] (i remember there were times before console-setup ) [16:35] yeah, that should be fine [16:35] I think I can get away with a subset of that, where we don't deal with as many corner-cases and migration from old things [16:35] and probably no keyboard detection [16:35] * ogra_ is just scared to having to add locales back or some such [16:36] it doesn't include locales [16:36] no, "... now that we have proper keyboard support, couldnt we also have localized firstboot setup ?" [16:36] this is the line that scares me :) [16:37] and boom, the install is back from 160MB to 500 or so [16:37] ogra@localhost:~$ df -h /writable [16:37] Filesystem Size Used Avail Use% Mounted on [16:37] /dev/mmcblk0p2 3.5G 168M 3.1G 6% /writable [16:37] ogra@localhost:~$ [16:37] :D [16:37] i really like that :) [16:37] heh [16:38] what can you do really [16:38] (and there is still stuf ui could rip out) [16:38] or we can decide that it should just be US-only and that's it [16:38] but this is a policy decision that is not mine to take [16:38] right, but we need a note on screen if we do that [16:38] yes [16:39] * ogra_ guesses if he would be super-size-nazi we could go down to half of the above [16:39] my question is, is this just an appliance thing, so we don't need to care much about the keyboard and ssh and VT access ? [16:39] i.e. *really* rip out everything that is not used [16:39] well, it is an IoT image ... [16:40] but ... [16:40] or is it already targetting more hands-on access where the keyboard matters more? [16:40] it migth be the base for other stuff [16:40] sure [16:40] ogra_, morphis just an update that I tried the daily and don't see the same issue (first boot config comes up a second time after reboot) [16:40] but we can ship keymaps and locales as separate snaps later [16:40] if there is a unity8 snappy image for the dragonboard one day, it might use the current image underneath [16:40] ie. we can later have a french pack that give you all the magic. [16:41] dduffey, awesome to hear ... does the IP setup persist too ? [16:41] cyphermox, yeah, and given the image sitze we could perhaps even have per-country images :) [16:41] ogra_: pi 2 and pi 3 all setup, thanks for the help, sorry for the grumpyness [16:42] popey, well, you are totalyl correct to be grumpy ... after all kgunn wants to run mir on all these boards one day [16:42] ogra_: who would make that policy decision on keyboard? [16:42] ogra_, yes ... although first boot did not show wlan0, there is a similar bug already filed (you pointed to it in your announcement) [16:42] popey, i'm pondering to use hdmi_safe by default, but i am scared we lost to much on proper monitors then [16:43] cyphermox, dunno, lets bring it up at the sprint [16:43] s/lost/lose/ [16:44] ogra_: is there a new way to enable classic? [16:44] cyphermox, given that mark ran into it, it will surely get some more attention :) [16:44] ogra_, it looks like your daily is actually using the stable store (had to snap install --edge snapweb) [16:44] ogra_: is that a sprint I'm going to? do you need to get this by email or something so that it's not forgotten? [16:44] popey, sudo snap install classic --devmode --edge && sudo classic [16:45] ta [16:45] cyphermox, the le hague sprint in oct ... i would expect you to go there ... its also the final snappy sprint [16:45] before final release [16:47] ogra_: is this a subjet you could bring up for us? I don't think I or mwhudson are going. [16:47] hmm [16:47] you realyl should be there, given you work on an essential part of snappy [16:47] or tell me if I can put it down somewhere so it comes up [16:48] well, feel free to abuse bug 1621378 for it [16:48] Bug #1621378: console-conf should tell the user that the keyboard is US only [16:48] as a whishlist item [16:48] i guess we could wlak on from there [16:48] *walk [16:50] ack [16:51] yeah, i dont see you on the attendees list ... not even slangasek ... but infinity is listed (without any dates thoguh) [16:52] ogra_, yeah, foundations are not in UES anymore so not invited [16:53] invited->included [16:53] seb128, well, given it is the final snappy sprint before we release golden images i was expecting anyone who works on snappy related bits to be invited alongside [16:53] no p_itti either [16:53] paolo is there as well ... semmingly as the only kernel team person ... [17:03] hello [17:04] quick question, does snap use LXD? [17:06] normally not, but they can [17:07] i.e. there is an lxd snap that you supposedly can use in your snap through an interface ... and also a docker snap ... both would need special setup for your snap though ... by default snaps dont use any container technology [17:08] thanks ogra_ [17:08] I was reading "is confined from the OS and other apps through security mechanisms" [17:08] but it's not very detailed :) [17:09] lucacome: https://developer.ubuntu.com/en/snappy/guides/security-whitepaper/ might have more details [17:09] i thihnk there is some online docs ... [17:09] ah, nacc is fast :) [17:10] :) [17:10] thank you [17:11] wow, compared to the sikipages we had in 15.04 that became a "rainy sunday afternoon reading" [17:11] *wikipages [17:14] * ogra_ EODs --- [17:20] PR snapcraft#815 opened: Replacing deprecated API for searching snaps [17:32] PR snapcraft#791 closed: Enable crosscompilation for dump and copy plugins [17:32] PR snapcraft#816 opened: Report the proper line number on bad yaml errors [17:38] Can we install snappy on rpi3? [17:39] Can we install [17:40] Snappy on rpi3 [17:40] ? [17:41] Can i install snappy on raspberry pi 3? [17:41] ? [18:05] PR snapd#1951 opened: interfaces/builtin: improve testability and add regression test for LP: #1625291 [18:06] launchpad seems to fail on writes for me [18:09] Bug #1625291 changed: ConnectedSlotSnippet not invoked when connecting two snaps === chihchun_afk is now known as chihchun [18:36] jdstrand: hey, do you think you could add something here https://bugs.launchpad.net/snap-confine/+bug/1621624 [18:36] Bug #1621624: /dev/pts/# denial when running snap-confine under sshd configured for pam-apparmor [18:36] jdstrand: speciically to the [Test Case] section, this is a part of the SRU paperwork [18:38] zyga: the test case requires a pretty advanced setup. I think so long as the policy compiles and you can login via and use hello-world, then you are good. I can then do the pam-apparmor testing on my system to mark it as verification done [18:38] login via ssh* [18:41] jdstrand: thanks I'll think of something [18:42] zyga: well, I'm trying to save us time :) [18:42] PR snapd#1942 closed: store,snap: initial support for delta downloads [18:42] PR snapd#1950 closed: store,snap: initial support for delta downloads [18:42] eh, three more bugs to describe [18:42] this is a _lot_ of work [18:42] zyga: all it does is expand access in a corner case configuration. all that is needed for that with SRUs is to prove it didn't regress [18:42] zyga: that's how we normally do apparmor policy SRUs [18:43] zyga: if it compiles and you only added access, the SRU is fine. ping me when verification-needed and I'll verify it works for my configuration [18:47] jdstrand: thanks :) [19:03] one bug to describe left [19:08] * zyga is starving, brb [19:08] I left the hardest bug till the end [19:38] jdstrand: I'm EOD now but if you want to add anything to https://bugs.launchpad.net/snappy/+bug/1611444 please do [19:38] Bug #1611444: Cannot share a namespaces created with 'ip netns' between apps in a devmode SNAP [19:39] jdstrand: I've added SRU information to each bug in the 1.0.40 and 1.0.41 milestones and I will see what's the next step tomorrow [19:39] jdstrand: I suspect I need a version of snap-confine from yakkety that has a long changelog entry that includes two dozen bug numbers [19:39] jdstrand: and have someone upload that [19:39] mwhudson: (perhaps you can do that?) [19:40] jdstrand: I've done my part for today, I really need to take a break now [19:40] zyga: thanks! [19:41] zyga: I think I'll treat that bug the same as the other and demonstrate that ip netns works when it gets the verfication-needed tag [19:41] zyga: enjoy your evening :) [19:58] Spread has been updated. Please report any fires. [20:03] PR snapd#1925 closed: tests: adjust regex after changes in stat output [20:08] just informational: corebird snapped by github.com/diddledan/corebird-snap in devmode launches but cannot open browser windows to login to twitter with error: Error org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.SafeLauncher was not provided by any .service files [20:08] PR snapd#1930 closed: many: support snapctl -h [20:09] PR snapcraft#817 opened: lxd: use built-in image streams === beisner is now known as beisner-food === beisner-food is now known as beisner [20:18] PR snapd#1872 closed: tests: use in-tree snap{ctl,-exec} for all tests [20:21] PR snapcraft#816 closed: Report the proper line number on bad yaml errors [20:30] PR snapcraft#811 closed: Support deb files as sources [20:34] Bug #1625805 opened: arm64 kernel panic for l2 mmu with unity8 session snap [21:01] Bug #1625813 opened: hardware-observe does not allow reading temperatures [21:03] * mwhudson waves at zyga [21:16] Bug #1625817 opened: Document snap prepare-image options [21:17] ogra_, you around? [21:19] ogra_, n/m, nothing urgent, i'll pester you tomorrow if i have a chance :-) [21:29] Hello, have people tried to snap dockers yet? [21:51] mwhudson: hey [21:53] mwhudson: I did some untold number of SRU paperwork bug updates, if you want to collect them in a xenial upload that would help me a lot [21:53] mwhudson: each bug from 1.0.4{0,1} qualifies, some are already in xenail and I marked them as such [21:59] oparoz, might be worth emailing the list [22:06] kyrofa, you're probably right [22:07] argh does the systemd journal not persist between boots on snappy systems? [22:07] zyga: so you want me to write the changelog entry and upload? [22:10] PR snapd#1952 opened: configstate,hookstate: add snapctl set [22:25] mwhudson: you'd have to mkdir /var/log/journald AFAIK [22:25] mwhudson: yes, please add a changelog entry, link to the gazillion bugs and upload if you can [22:25] PR snapd#1785 closed: many: add vendoring of dependencies by default [22:25] mwhudson: we'll fight the SRU dragon :) [22:25] zyga: ok [22:26] heh i seem to spend a lot of time doing that [22:31] PR snapd#1862 closed: tests: add tests for the classic dimension [22:44] PR snapd#1640 closed: tests: add gsettings interface spread test === bschaefer_ is now known as bschaefer