[00:02] PR snapd#1952 closed: configstate,hookstate: add snapctl set [00:07] PR snapd#1983 opened: ctlcmd: add snapctl get [02:04] Bug #1564076 changed: Can't launch snaps robert-ancell> === gaughen_ is now known as gaughen [02:53] er do tests pass with tip for people right now? [02:55] go test github.com/snapcore/snapd/interfaces/builtin fails for me [03:15] PR snapd#1984 opened: daemon: add logging to help diagnose create-user slowness [05:10] thanks mhall119 jdstrand nessita! that's what I thought, but it'd be nice to get an up-to-date playground example then like I doubt geany/geany-plugins is working at the moment. I guess that the plug and slot need to be named identically instead of specifying the content field. === hikiko is now known as hikiko|off [06:09] PR snapd#1985 opened: progress: use New64 and fix output newline [06:18] PR snapd#1973 closed: tests: ensure HOME is also set correctly [06:19] PR snapd#1986 opened: tests: ensure HOME is also set correctly [06:39] hey hey [06:54] good morning dholbach [06:54] salut didrocks [07:01] o/ [08:18] * ogra_ -> dentist === chihchun_afk is now known as chihchun [08:44] PR snapd#1986 closed: tests: ensure HOME is also set correctly === jamespag` is now known as jamespage [09:15] PR snapd#1984 closed: daemon: add logging to help diagnose create-user slowness [09:16] mwhudson, o/ === rmescandon_ is now known as rmescandon === vigo is now known as vigo-afk [09:25] Bug #1626930 opened: Missing mount-observe slot in Core [09:28] Bug #1626930 changed: Missing mount-observe slot in Core [10:18] Hello guys. Is it or is it not possible to override seccomp by whitelisting syscalls? The documentation and tests in the snapcraft repo seem all wrong [10:30] Was looking in the repo of the fork... So it seems everything is gone. Too bad [10:49] hello. Im building snap and snapcraft prints warning: "grade" property not specified: defaulting to "stable". Where can I find documentation for this option? There is nothing here: http://snapcraft.io/docs/build-snaps/syntax [10:51] PR snapd#1987 opened: daemon,overlord/assertstate: support streams of assertions with snap ack [10:57] mvo, bah, crap, did you note what keyboard-configuration all pulled in alongside ? (initscripts, debconf, lsb-base ... ) we really need to cut that down again [11:05] pitti: can you have a look at https://code.launchpad.net/~morphis/netplan/+git/netplan/+merge/306607 ? [11:15] morphis_: replied [11:16] pitti: the service name is sadly nothing I can influence [11:16] that is what snapd builds for it [11:16] also to avoid intersections with other snaps [11:16] morphis_: right, hence adding Alias= [11:16] pitti: sure but that is still something snapd need to get from somewhere [11:17] WDYM "get"? [11:17] pitti: snapd creates the service unit on the fly [11:17] you just put it in the unit, and when it gets enabled, systemctl creates the alias symlink [11:17] we don't ship it as part of the snap so we can't modify it [11:17] err [11:18] so we would have to add another key in meta/snap.yaml which then gets parsed by snapd and added in the .service unit [11:18] if we are going to snap up core plumbing parts like NM, bluez, cups or whatnot, I suppose that's necessary indeed [11:18] pitti: something to argue with niemeyer about [11:18] cluttering a lot of packages with snapd service aliases is a really bad design [11:18] pitti: I am currently just searching for a way to replace networkd in our images with network-manager which comes from the snap === chihchun is now known as chihchun_afk [11:47] Bug #1626986 opened: snapd should allows snaps to define systemd unit Alias names [12:00] jacekn: I guess the documentation is out of date. grade can be one of stable or devel. aiui, if you set it to 'devel' it ensures it won't accidentally end up in the stable channel [12:01] jdstrand: and can stable end up in devel? [12:01] jacekn: I think so [12:02] sergiusens: can you comment? ^ [12:05] jdstrand: sergiusens: I have some opinions here. For snapscraft.yaml building external code I have to maintain multiple branches with different "version" and "source-tag". This new options means yet another line that needs to be different between those branches [12:06] jdstrand: sergiusens: so really IMO warning is an overkill, I'd prefer not to have that option at all [12:06] jacekn (cc sergiusens): we didn't design the feature. perhaps that would be a good question for the mailing list? [12:07] jdstrand: ack and good point! [12:07] that way you'll get definitive answers on how things work and why [12:07] and I know they are always looking for real world feedback [12:09] lpotter: Your Pi (2? 3?) didn't display HDMI at boot? My pi3 did not either. I worry OG's "hdmi_safe" proposal isn't fixing the right thing. Want to help debug it? [12:12] qengho, you mean you dont see anything after the first boot (i.e. after 5min) apart from the raspberries even with hdmi:safe set ? [12:12] *hdmi_safe [12:13] qengho, also, which image do you use and how big is your SD ... (the daily image is a lot smaller and will talke longer to resize on a big SD) [12:17] ogra_: correct, nothing displayed after 5 or 45, though I'm about to test scientifically and give you real data by end of day. I used the "release" images on a 32GB, fast microSD. [12:17] well, that should resize in 2-3min max [12:17] (likely faster) [12:18] i really cant reproduce it here ... i always get the "please press enter" under the raspberries [12:18] ogra_: And I will want your help. I think the cmdline can have any number of console= lines. You could have serial AND tty0. I think. [12:18] But I can't test the serial one. [12:18] no, then you dont get the actual boot data on serial [12:19] the first console= arg is used for early boot ... the second one is switched to after the kernel ... i.e. initrd and following [12:20] might be first and last (instead of first and second) if you have more than two ... [12:21] during development it is essential that users can give us the full boot log when something hangs ... i'm happy to change defaults for final release but not while we require debug data [12:24] ogra_: In any case, perhaps that configuration tool can display on /dev/ttySwhatever AND /dev/tty0 . [12:24] it does ! [12:24] Oh. Hrm. [12:24] Then something is wrong. [12:24] here at least ... [12:24] PR snapd#1974 closed: snapd: kmod backend [12:25] ogra_: Okay, I'll test and let you know. [12:25] systemd always starts one agetty on each console by default ... console-conf intercepts agetty and displays the "please press enter" message one them [12:26] *on [12:26] qengho, i also dont undersatnd why people want to use HDMI at all. given we do not allow any login except ssh anymore [12:27] so defaulting to HDMI doesnt really make much sense [12:28] ogra_: You connect another computer and *its* display to the computer, instead of just a display? That's dumb. That's why. [12:28] (having avahi and a network based conole-conf by default would make massively more sense) [12:28] Yes, so much. I need some zeroconf. [12:29] well ... except that the image will then explode in size ... we're already way to big for embedded [12:30] ogra_: OTOH, if you have an old DEC VT220 you're plugging in directly, then I apologize. [12:30] i just use the serial cable that was shipped with the board when i bought the "embedded developer" set [12:30] :P [12:32] You sound scornful of it like you're saying "micro-" computer, and wisful of the days when a REAL computer took up several cubic meters. Computers get smaller. This is normal now. This is a real computer. [12:32] qengho, you dont really expect people to attach a monitor to their NAS, AP, router, IoT controller, do you ? [12:33] i'm not saying computer at all [12:33] ogra_: When it comes with a video card and more than one USB port, I think you have to stop pretending it's only a lawnmower device. [12:33] we are targeting IoT here ... at most you will run a single purpose kiosk app in such a device [12:34] when you use HDMI at all [12:34] qengho, it isnt a desktop ... you wont actually use it as one ... beyond probably showing off to people that you can use it as such [12:35] i definitely dont know anyone who actually uses a pi as their default desktop system, sorry [12:36] i agree it makes sense to have HDMI for something like a kido system or any other single purpose kiosk setup thhough, no doubt here [12:36] *kodi [12:37] but after all our current target is IoT and embedded ... once we have a desktop session snap you will run on such a device you will also have a grephical firstboot tool to set it up ... and that wont run on the console at all === tachyons is now known as tachyons_ [12:38] ogra_: ping [12:38] no need to ping me if i talked a line above ;) [12:38] just ask :) [12:39] ogra_: but you have the choice to pong when you're free :-) [12:39] * ogra_ pongs [12:39] heh [12:39] hehe [12:39] ogra_: there are many many millions of RPis sold, and very few are that "embedded kit" version. Throw away your serial cable and become one of the 99.99% of owners for a few days. [12:39] ogra_: we put upgrade for netplan currently in the ppa to include them in the next core snap, right? [12:40] https://github.com/snapcore/snapcraft/blob/master/snapcraft/internal/indicators.py#L33 , This approach of finding content length using content length header is making probelm when using http compression [12:40] Eg github gist [12:40] Lazy to file a bug in launchpad :D [12:40] qengho, yeah, its a sad fact that people picked a dead wood settopbox chip for that hype instead of something proper ... [12:41] morphis_, https://launchpad.net/~snappy-dev/+archive/ubuntu/image/+packages?field.name_filter=&field.status_filter=published&field.series_filter=xenial [12:41] needs to end up there [12:42] morphis_, at least until pitti lands everything that netplan needs in xenial-updates proper :) [12:43] (which i hope is the case for GA, we need to be able to build stable without the PPA) [12:43] ogra_: when is GA? [12:43] pitti, uh, not sure ... several weeks ... jamiebennett knows exact dates [12:43] ogra_: I didn't yet backport it as we don't use netplan extensively yet, and thus it's still in the "find/add missing features" phase [12:44] sergiusens: cc [12:44] ogra_: but we could certainly start to SRU the NetworkManager patches at least [12:44] pitti: GA = 2016-11-03 [12:44] thanks [12:44] now thats exact :) [12:44] morning or afternoon? ☺ [12:44] *g* [12:44] 23:59 [12:45] we need all the time we can ;) [12:45] PST [12:46] ogra_: ok [12:47] pitti: ok, once I give you the go for that patch we talked about can to bring the new netplan package into the snappy-dev ppa? [12:47] morphis_: it's your PPA, go wild :) [12:47] pitti: not really mine :-) [12:48] it's not a long-term solution, but good enough for a beta/demo for sure [12:48] pitti: its for sure not a demo, it goes into production [12:51] pitti: but we can figure out a better solution and migrate to that at a later point [12:51] *nod* [12:51] and the PPA seems fine for those [12:53] morphis_: maybe the snap yaml doesn't even need to be explicit about these aliases -- I mean, you slurp in packages (or upstream builds) that already *have* the systemd and dbus .service files, so it could just scan those and automatically provide aliases (if explicit declarations are unwanted) [12:54] jdstrand, hey, thanks for the review of timedate control interface! === vigo-afk is now known as vigo [12:55] pitti: yeah another option, something we need to discuss with niemeyer [12:55] pitti, that would get tricky ... i have a bunch of snaps that use daemons, none of them can actually use their default init scripts or systemd units ... usually you need to re-define config paths and the like [12:56] but in general, I don't understand why you wouldn't just take upstream .service files as they are, and instead rewrite them [12:56] so i doubt we could make that a generic thing [12:56] jdstrand: hey [12:56] well, then at least provide them under their original name [12:56] because i need a wrapper that creates an initial config, in a non standard place for example [12:56] ogra_: it would be just an alias we need to add to the files you say we're NetworkManager.service too [12:56] they aren't co-installable with the corresponding debs anyway [12:57] pitti, hahaha ... [12:57] (we have nothing that prevents this) [12:57] but it would just mean that dependencies, resource limitations, privilege reductions, aliases, etc. need to be duplicated in the yaml [12:57] PR snapd#1988 opened: Allow system bus access for screen-inhibit-control [12:58] but anyway, that's a SEP :) [13:05] zyga: hey-- so, how does leaving in hello-world cause ubuntu-core to get unmounted (ns discard latest commit). Or did I misread your comment? [13:05] pstolowski: you're welcome :) [13:06] jdstrand: it's not [13:06] jdstrand: I just started realizing what is the problem [13:06] jdstrand: I'm going to just get an ack from chipaca and release stuff [13:06] zyga: heh, ok, cause I was starting to get worried :) [13:06] jdstrand: it seems snapd is doing something crazy wrt cleanup now [13:06] jdstrand: ubuntu-core is unmounted mid tests when some cleanup task fires [13:07] zyga: ack. that is worrisome for other reasons, but glad that the ns discard wasn't causing it :) [13:07] jdstrand: I need a few more changes in snapd (to redesign the branch a little, move the task to other manager) and I got +1 to merge it [13:07] great :) [13:09] tachyons_ we have a bug for that [13:10] jdstrand I just answered an askubuntu question about grade around 30' ago [13:11] zyga: I see you merged that-- should you uncomment the hello-world bit too? [13:11] sergiusens: cool [13:11] jdstrand: I evicted that commit [13:11] * sergiusens goes back to writing unit tests [13:11] jdstrand: it's not commented out anymore [13:12] * sergiusens looks at joc_ and wonders how he got away with it ;-) [13:12] zyga: ok cool. I didn't see that commit, only the one saying you were merging. thanks [13:14] jdstrand: I rebased that commit away (the one that was commenting those bits out) [13:27] PR snapd#1987 closed: daemon,overlord/assertstate: support streams of assertions with snap ack [13:35] sergiusens: link ? [13:38] tachyons_ https://bugs.launchpad.net/snapcraft/+milestone/2.19 [13:38] Hello! Whats the update on diff based snap updates ? [13:45] PR snapd#1989 opened: tests: build once and install test snap from cache [14:07] Whats the password for all-snap image ? After I added my launchpad email, I am not able to login. [14:07] SamYaple hey, I tried to this http://paste.ubuntu.com/23220251/ on an unpatched snapcraft and was able to do this http://paste.ubuntu.com/23220246/ (I am not sure how to expose the current .pth bug) [14:07] om26er only ssh [14:07] ssh in and set a passwd if you must [14:08] "sudo passwd $USER" after you sshed in ... [14:08] ogra_ obviously :-P [14:08] sergiusens, hmm, I think I can't remember my IP [14:09] om26er cannot help you there [14:09] sergiusens, well, yu could just try "passwd" which wont work ... [14:09] IP for the virt manager machine [14:09] nmap might [14:09] so not *that* obvious [14:09] ogra_ because current passwd is unset/unkown [14:09] yeah [14:09] and sudo does the trick [14:09] right [14:12] ogra_, sergiusens I am in. Had to re create the VM to know my IP :) [14:29] jdstrand: there's a chance that the test failures we saw are caused by https://github.com/snapcore/snap-confine/blob/master/spread-tests/regression/lp-1599608/task.yaml [14:30] exactly how I cannot explain yet [14:47] ogra_, pitti: so who should upload https://code.launchpad.net/~morphis/netplan/+git/netplan/+merge/306607 as a patch to netplan to the snappy ppa? === JanC is now known as Guest73904 === JanC_ is now known as JanC [14:52] mvo, slangasek, hmm, the small image size made resize2fs take significantly longer :/ [14:52] i wonder why ... [14:53] (the 128GB card i currently use used to resize in 1-2 min before ... now its 10min and counting with a daily image) [14:58] PR snapcraft#823 closed: plainbox-provider plugin: rewrite python shebangs [15:01] * ogra_ goes and tries the beta image instead [15:01] sergiusens: http://paste.ubuntu.com/23220481/ [15:03] SamYaple ah, so it is python2 that has the issue, got it [15:03] bah [15:03] resizes instantly [15:03] that wasnt even 20sec [15:05] i guesss that means that creating images at minimal size complicates resizing [15:05] :( [15:06] sergiusens: for dogpile.cache, yes python2 is the issue [15:06] ogra_: er... impressive? [15:06] sergiusens: but its on a per project bases. this same thing can happen on python3 [15:06] slangasek, why ? [15:06] *basis [15:07] ogra_: 10 minutes to resize? It shouldn't matter that it's on 128GB. But I'm assuming you don't want us to revert the change to make the image small ;) [15:07] slangasek, i assume with the minimal size the blocksize is not exactly a multiple of 512 or some such [15:07] slangasek, well, i gave up after 15min ... not sure how long it would actualyl have taken [15:07] but using the 3.8GB big beta image resizes absolutely instantly [15:08] slangasek, oooh, and since i'm testing on the dragonboard ... i'm now glaring since 2min at "Contacting server..." [15:08] o this slowness seem to not be arch specific at all [15:08] *so [15:08] *eems [15:08] bah ! [15:10] (right after i typed that the screen changed, but even on the dragonboard it is slow at the user setup tep) [15:11] hmm, but why is the resize so slow, there are no errors in the resize log [15:11] (apart ffrom the one when i ripped out the card it seems resize2fs was chugging along happily) [15:19] PR snapcraft#822 closed: Don't filter .pth files in python plugin [15:20] * ogra_ rolls an image with extra added empty space [15:25] cwayne: you did atom, right? Can you help me with an electron snap? [15:29] elopio: yep, sure [15:29] cwayne: I'm getting Error: spawn electron ENOENT [15:30] have you seen that? I'm trying adding electron to node-packages, but I have no idea what I'm doing. [15:30] elopio: hm, not seen that, i had to usee a custom plugin to just call scripts that atom had, so there wasnt really much dealing with electron itself [15:31] the docs don't help much, but I clearly have nothing called electron in my prime directory. Let's see how it goes. [15:31] slangasek, i must admit in the light of resize times that go into the 20min area (even with an image i made look like one of the former ones) i'm tending to say we should perhaps build them in 1GB size steps instead of "as small as possible" ... this is definitely not suitable [15:32] Can the snap web install beta apps? [15:32] ...which are using devmode [15:33] mvo, where is the ubuntu-image patch you used to create the 3.8GB betas (you obviously didnt use the latest from trunk but also not the default 4GB one) [15:34] (and i cant see any change related to this in your github tree either) [15:34] ogra_: or, if you think this is part of it, we can tune our mkfs.ext4 options to adjust block size / cluster size / bytes per inode / inode size [15:35] ogra_: maybe you want to experiment with those and see which flags might make a difference to the speed? [15:36] ogra_: its not pushed, but its just 4Gb->3.9Gb, i can push the diff if you need it [15:36] slangasek, well, something makes the old images do instant resize ... and even the ones that mvo built as betas which dont use your latest change [15:37] mvo, that would be great ... i want the dailies to not take hours while people like qengho wait for something on HDMI ;) [15:37] i guess *that* is the actual problem [15:37] (regarding the console= discussion) [15:37] ogra_: yes, so since you have a case where you can reproduce slow resize (is this on the BBB?), can you tweak the ext4 filesystem when you build it and see what does or doesn't improve the speed? [15:38] slangasek, thats the dragonboard ... but i bet we'll have iot on all images [15:38] ogra_: I don't have a 128GB SD card to reproduce this with [15:38] (i test the bbb with a 4GB card ... the resize is neglectable there) [15:38] slangasek, well, a 256GB one will do as well :P [15:38] ogra_: also, 'tune2fs -l' output on the filesystem after the resize is done, please [15:39] ok, will do [15:53] PR snapd#1990 opened: many: allow use of the system user assertion with create-user [15:56] ogra_, why might I see this error when doing "snap prepare-image"? : [15:56] error: cannot fetch and check prerequisites for the model assertion: assertion not found [15:57] how does your assertion look like ? [15:57] ogra_, http://paste.ubuntu.com/23220732/ [15:58] hmm, looks fine [15:58] and you specified the path to it correctly in the ubuntu-image command line ? [15:59] ogra_, yes, this it the command that fails: [15:59] $ sudo snap prepare-image --channel=beta --extra-snaps=network-manager_1.2.2-5_armhf.snap --extra-snaps=modem-manager pi3.model /tmp/tmpqfqroa0f/unpack [15:59] pi3.model is in the folder === bschaefer_ is now known as bschaefer [16:00] what is /tmp/tmpqfqroa0f/unpack supposed to be [16:00] ogra_, the actual command that is executed is: [16:00] * ogra_ has actually never used snap prepare-image directly ... [16:00] $ sudo /snap/bin/ubuntu-image --channel beta --extra-snaps network-manager_1.2.2-5_armhf.snap --extra-snaps modem-manager -o pi3.img pi3.model [16:01] ogra_, but in the end what fails is the prepare-image step [16:01] hmm [16:02] does it work if you call it completely without --extra-snaps ? [16:02] no, not in that case either [16:03] did you try with edge yet instead of beta ? [16:03] * ogra_ wonders if self signed assertions somehow block building from non-edge [16:03] ogra_, let me try [16:06] alright, now I don't get any errors. But also I don't get any window :( [16:06] any electron expert around? [16:07] ogra_, I have [16:07] elopio check if one of the threads is crashing (font-config for example), glib/gtk makes many assumtions and doens't fail cleanly [16:07] ubuntu-core 16.04.1 423 canonical - [16:07] doing [16:07] $ sudo snap install --channel=edge ubuntu-core [16:07] error: cannot install "ubuntu-core": snap "ubuntu-core" already installed [16:08] is that fine? [16:08] abeato, i thik 423 is the last stable [16:08] sergiusens: ok, how do I check that? [16:08] I have nothing about fonts or gtk, but I can copy them from atom [16:09] ogra_, how do I install a new one? "sudo snap install --channel=edge ubuntu-core"does not work [16:09] elopio strace in a snap shell [16:09] abeato, hmm, whats the error, it should [16:09] ok! I've never done that, let me find the instructions. [16:10] error: cannot install "ubuntu-core": snap "ubuntu-core" already installed [16:10] ogra ^^ [16:10] abeato, though edge is quite brave, i'd go with beta [16:10] weird [16:10] thsi is how i got mine onto edge back then [16:11] hm... [16:11] but that should have no influence on ubuntu-image [16:12] ogra_, ah... I must use "refresh" instead of "install" when installed, even when trying to use a different channel :) [16:13] ah [16:13] 660 rev [16:13] yeah, beta is fine :) [16:14] geez ... this resizing thing is insane ... still going ... [16:14] i wonder why i havent hit it earlier [16:18] sergiusens: am I doing this right? https://paste.ubuntu.com/23220881/ [16:18] it just seems to do nothing. [16:19] PR snapd#1991 opened: overlord,store: clean up serial-proof plumbing code [16:23] PR snapd#1992 opened: overlord/state: introduce cleanup support [16:27] YAY !!! [16:27] so this was 50min for the resize [16:28] finally it moved [16:28] PR snapd#1993 opened: snap: move/clarify Info.Broken [16:32] slangasek, http://paste.ubuntu.com/23220928/ [16:32] slangasek, also, confirmed that resizing is slow on pi3 with the small images [16:33] ogra_: thanks. interesting, you have there a block and fragment size that's smaller than what I saw locally in a pi2 image... which way did you create this with ubuntu-image? the snap, the yakkety deb? [16:33] (or is this the official image?) [16:34] slangasek, trunk calling ./ubuntu-image [16:34] ogra_: against what release? [16:34] are you using xenial or yakkety e2fsprogs? [16:34] on a xenial host with tghe PPA ext2fsprogs version installed [16:34] ok [16:35] elopio track the forks and make it output to separate files, much easier [16:36] i havent checked an actual image yet, i'll do some builds with workdir so i can inspect the img files on the weekend ... currently my machine is busy actually re-building the dailies [16:36] sounds easy, let's see if stackoverflow knows how to do it. [16:39] slangasek, oh, and here is the resize log http://paste.ubuntu.com/23220950/ [16:39] ogra_: ok. your block size, fragment size, blocks per group, fragments per group are all smaller than what I have in the last pi2 image I created here, *with* the size minimization; so that's definitely something different, I'll see if I can reproduce this [16:41] PR snapcraft#824 opened: Add `snapcraft create-key` [16:41] ogra_: you said "the PPA" for e2fsprogs... which ppa? I don't see e2fsprogs in snappy-dev/image or snappy-dev/tools [16:41] slangasek, and the resize code http://paste.ubuntu.com/23220956/ ... perhaps i'm doing something unsuitable here [16:42] slangasek, your ubuntu-image ppa :) [16:42] ogra_: I think the problem is in your initial fs creation, which doesn't match the one we had here and that yes, will have poorer performance (not just during resize, but overall) [16:42] ogra_: ok, I didn't assume you were using our ppa ;) [16:42] sergiusens: https://bugs.launchpad.net/snapcraft/+bug/1583259 can we have that in the next milestone? [16:42] Bug #1583259: Snappy needs to influence environment variables in applications [16:42] [16:43] well, i didnt want to blindly install the yakkety package here :) [16:43] * zyga has unexpected guests for the past two hours, sorry for being laggy [16:43] zyga, how dare you to have a social life ! [16:44] ogra_: that should definitely give me enough to try to reproduce the problem here, thanks. One last thing, could you kpartx -a the original image and tune2fs -l that as well, just to confirm that the weird block sizes are in the source image? [16:44] ogra_: and are you using the official pi2 model assertion for this or another one? [16:44] slangasek, yeah, waiting for my machine to be done with the image build, then i'll do the kaprtx [16:45] slangasek, official but you are looking at dragonboard data there [16:45] not pi2 [16:45] thje only non-official assertion i use is the bbb one [16:46] ogra_: well, social life friends just flew in from spain, on their way elsewhere, with night overlap through warsaw :) [16:46] ogra_: when stuff is on fire like it feels now I don't like having a social life TBH [16:47] zyga, well, you are around til 10pm on normal days and start at 8 ... and hang around here on weekends ... if friends come you should simply end your day [16:47] ogra_: .... are you saying I should re-consider having a social life for a change [16:47] at times :) [16:48] ogra_: I'd like to, at least, finish the week knowing that I know how the fire started [16:48] ogra_: otherwise I will just think about it all the time anyway [16:48] well, go and do the fire inspection then :) [16:49] ay :) [16:50] Does snap web work? Is there documentation for it? Can it install beta snaps? Does it support devmode? [16:51] slangasek, http://paste.ubuntu.com/23220991/ for the kpartx bit [16:51] oparoz_: I know some people have been working on it again lately [16:51] oparoz_: perhaps jamiebennett knows better [16:52] Thanks zyga. I'm trying to figure out how to push new apps to users of the Nextcloud Box. I'm guessing the only way right now is to tell them to use SSH? [16:53] oparoz_: push as in remotely install? [16:53] oparoz_: I didn't try lately, does snapweb do anything useful after being installed? [16:53] zyga, Well, more as in making it available somewhere so that they can push a button and install it [16:54] zyga, I saw this screenshot and want my snaps to be on there: https://insights.ubuntu.com/2016/09/22/rocket-chat-a-new-snap-is-landing-on-your-nextcloud-box-and-beyond/ === nacc_ is now known as nacc [16:56] PR snapcraft#825 opened: Release changelog for 2.18.1 [16:56] oparoz_: I think that's just the store, if your app is in the store and has the right meta-data it will show up like that in snapweb [16:56] oparoz_: I know there's been a lot of work put into snapweb, I don't know if it is released as stable though [16:57] zyga, thanks. I just don't understand how users will get to see that page with their installed snaps. I never had to register to be able to install snaps [17:07] zyga, oparoz__ I think snapweb is only in edge right now. elopio or lool might know more [17:08] So basically, the screenshot in that article is something which cannot be used by Box' at this stage [17:08] kyrofa, or can you get this view by SSHing and manually connecting the Box to the store? [17:09] And then install Snaps on the box via the store's "Add more snaps" [17:09] oparoz__, yeah, SSH in and try this: `sudo snap install --edge snapweb` [17:10] OK, done. [17:10] oparoz__, I don't remember what port it's on... I want to say 4200 [17:10] :D [17:11] netstat will help [17:11] you were correct :) [17:12] kyrofa, unfortunately, it only lists stable snaps, so not very useful :( [17:12] I mean to ask users to help test snaps [17:13] oparoz__, yeah, stable snaps are the only ones that are easily discoverable in the store === tachyons is now known as tachyons_ [17:13] oparoz__, like what? [17:13] transmission [17:14] But I guess it also filters by arch... and I haven't created the armh yet [17:15] But snap web will be very cool once stable [17:16] Yeah it'd be ideal to be able to say "show me unstable snaps" or something [17:16] kyrofa, yeah, or just pick the minimum level of stability [17:17] I'm OK with stable and beta per example [17:17] Yeah, checkboxes for "show me these channels" even [17:17] Especially since we can't put devmode snaps in stable [17:34] PR snapd#1977 closed: interfaces/builtin: add network-setup-observe interface [17:44] kyrofa, elopio, hi [17:44] hello attente o/ [17:44] :) [17:45] i'm having issues with getting the integration test for the jhbuild plugin working under travis-ci [17:45] PR snapd#1991 closed: overlord,store: clean up serial-proof plumbing code [17:46] mostly because the tests are run as a root user in a docker instance [17:46] PR snapd#1980 closed: tests: more debug around the create-key test [17:46] but i also saw that the cleanbuild integration test that also uses lxc is specifically disabled [17:47] so i'm wondering if that's ok to do for the jhbuild plugin test as well [17:49] basically i'm in a world of hurt trying to get it working under root when it's only meant to be run unprivileged [17:54] attente, hey there! [17:54] attente, I don't know the specific answer to your question, but note that the launchpad builders all run as root as well. Ideally plugins would work under root [17:54] attente I've been meaning to ask, how does your jhbuild plugin going to work when we switch to containers by default to build most things? [17:55] attente: I thought it used lxc. [17:55] elopio he's thinking lxc inside docker [17:56] sergiusens: yeah... i didn't realize that was the plan. you're switching to lxc containers? there's some support for nesting i believe? [17:56] attente yes there is [17:57] attente I am just waiting for the network setup dilemma in lxd to be solved [18:06] sergiusens: https://paste.ubuntu.com/23221212/ Here's my strace. I see many errors, but I'm not sure what I'm looking for. [18:06] It seems bad that many things in electron/dist are not found. [18:07] PR snapd#1983 closed: ctlcmd: add snapctl get [18:27] zyga: fyi, https://bugs.launchpad.net/snap-confine/+bug/1626019/comments/2 [18:27] Bug #1626019: Docker snap cannot start containers in Classic (but does in Core) [18:29] PR snapcraft#826 opened: Do not depend on Content-Length when Content-Encoding is gzip [18:34] kyrofa: snapweb >> beta + edge actually (beta images, beta snapweb) - but I think it could happily be promoted [18:34] lool, awesome! [18:35] lool, would be great to have it in stable [18:36] kyrofa: yeah; I wish it wasn't too late to ping mvo about it, but I'm totally +1 on it; we could promote it monday [18:36] kyrofa: I'll be at Linaro Connect next week (Vegas), if you get the chance to discuss this with him, that'd be lovely [18:36] I can do it, but I wanted to touch base with mvo before doing so [18:36] lool, making a note now, you got it [18:36] s/can do it/can do the actual promotion/ [18:36] <3 [18:37] lool, I'll tell him you +1d it but wanted to double check with him first [18:37] yeah [18:37] thanks a ton [18:37] Sure thing. Good luck at linaro! [18:38] PR snapcraft#825 closed: Release changelog for 2.18.1 [19:10] qengho, ogra_ wait what? we dont allow normal console login on rpi?!? [19:12] lpotter: We do! We do. Or, rather, we should. We want to. [19:14] I see the rpi as a convergent device, instead of mobile/desktop, its convergent embedded/desktop :) [19:14] lpotter: If it doesn't give a config prompt on the display that is built-in, it is a bug. [19:14] lpotter: I'm trying to figure out details of it now. [19:15] lool: fyi, https://github.com/jdstrand/docker-snap/tree/snappy-interfaces (updated snapcraft.yaml for new interfaces) and https://github.com/jdstrand/docker-snap/tree/workaround-lp1626019 (make docker work on classic) [19:15] qengho: whats the login password? [19:16] lool: the 2nd has everything from the first. You'll still want to upload in devmode I think until snapd with docker/docker-support lands in xenial-updates, but hopefully this helps [19:17] lpotter: there is no password. [19:17] lpotter: did you configure? [19:19] lpotter: Your username is probably your launchpad id. l-p [19:19] I might need to reflash. never got to see the configure screen at first boot. shut it down, changed cmdline.txt [19:20] ahh,ok. so it sets up the user, and no user ubuntu now? [19:20] lpotter: yeah, i think that's correct [19:21] zyga: fyi, see the trello card and bug #1626019. I thought there was some talk with you and st graber on cleaning up mountinfo so that it only head relevant entries-- if that happened I suspect docker would work without the workaround. that said, with the workaround I think the urgency is not world-burning any more [19:21] Bug #1626019: Docker snap cannot start containers in Classic (but does in Core) [19:21] ratliff, tyhicks: ^ [19:23] ogra_: in case you didn't see the mail, https://github.com/CanonicalLtd/ubuntu-image/pull/65 awaits your testing [19:23] PR CanonicalLtd/ubuntu-image#65: Avoid wrong block sizes for an fs we'll resize on first boot anyway [19:26] "CompressionError: unknown compression type 'xz' " I am getting this error when I am trying to install snapcraft [19:26] I installed lzma package , But no luck [19:27] tachyons_: installing snapcraft where? [19:27] nacc: my laptop [19:27] ubuntu 16.04 , 64 bit [19:27] tachyons_: sorry, the release is what i meant, i assume `apt install snapcraft` ? [19:28] nacc: sorry , while installing from github [19:28] tachyons_: ah [19:29] * nacc doesn't know about that, unfortunately [19:29] but you wouldn't need lzma but xz-utils, iirc [19:30] tachyons_, nacc: /usr/lib/python3.5/lzma.py is part of libpython3.5-stdlib, stock in 16.04; sounds like a corrupted python install? [19:32] yeah, seems weird either way [19:33] nacc: I installed xz-util too [19:33] tachyons_: hrm, strange! as slangasek said, it should 'just work', sorry -- you'd have to dig into what is reporting that error [19:34] I have libpython3-stdlib installed , should install 3.5-stdlib too ? [19:35] tachyons_: libpython3-stdlib depends on libpython3.5-stdlib [19:35] https://paste.gnome.org/p3gijqva3 [19:35] ah [19:35] locally compile python? [19:35] *compiled [19:35] seems like error is from python2.7 , Is it an issue with pip ? [19:35] nacc: No ! [19:36] tachyons_: you might need 'python-lzma' [19:36] for 2.7 support [19:37] nacc: Already instaled , no luck [19:38] python2.7> none of this should be using python2 [19:38] I am a ruby guy and don't have much idea about python ecosystem :-) [19:38] don't know how you got things into a state that python2.7 is involved [19:39] slangasek: that was goign to be my next q [19:39] tachyons_: snapcraft is python3 based afaict [19:39] https://github.com/snapcore/snapcraft/blob/master/HACKING.md seems to refer to only python3 deps [19:39] slangasek: Error message showing python 2.7 , that is why I asked about that [19:40] I copied steps from Hacking.md [19:40] tachyons_, you might consider simply installing snapcraft, which will pull in the right deps, then just run from source [19:41] yes, that is the shortest path to get you going with snapcraft on 16.04 [19:41] however, I am worried that these python2 errors imply you have damaged your 16.04 system [19:41] tachyons_: why is your pip local to your user? [19:42] kyrofa: I already have working snapcraft installed from repo , But I need snapcraft sourcecode for some hacks [19:43] tachyons_, right, I understand. I'm just saying snapcraft from source and snapcraft in the archive typically have the same deps [19:43] tachyons_, you could use build-dep if you have source archives enabled, too [19:44] One doubt , command is pip3 is python3 and pip is for python2, right ? [19:44] ogra_: have you ever booted your RPi3 with release image without your serial attached? [19:46] tachyons_: you seem to be right about that, indeed - so HACKING.md ought to be updated [19:48] tachyons_, yeah, you can probably safely ignore the HACKING.md. Just make sure the right deps are installed and run path/to/src/bin/snapcraft directly [19:48] No need to install it in a venv, etc [19:49] replaced pip with pip3 , Now it is working [19:49] Thanks [19:50] Bug #1627175 opened: RPi3 with only HDMI attached never shows subiquity [19:50] lpotter: Check this bug to see if it matches your experiences. ^ [19:51] * qengho afk a while. [20:17] PR snapd#1993 closed: snap: move/clarify Info.Broken [20:44] lool, slangasek how do you turn off autopilot ... I am using custom kernel (for a demo) and the autopilot it causing it to loose the network [20:44] I used to do "snappy config", but I don't see a "snap config" [20:45] dduffey: you cant [20:45] dduffey: config was not readded yet for series 16 [20:55] PR snapd#1992 closed: overlord/state: introduce cleanup support [20:58] PR snapd#1989 closed: tests: build once and install test snap from cache [21:49] jdstrand: I'll check that card next week; what I remebmer about this is that we now properly detach the old root but because old root is still visible we cannot really umount or detach anything else [21:51] jdstrand: offtopic, this branch was there to test if the unexpected unmount of the core snap is caused by the test that was fiddling with cgroups: https://github.com/snapcore/snap-confine/pull/152 [21:51] PR snap-confine#152: Disable failing test [21:51] jdstrand: but as you can see, it failed [21:51] jdstrand: I'll run another pass in qemu locally (I'll switch to linode next) to try to capture syslog and snap changes when this happens [21:51] jdstrand: but it also means that I don't reall know what is causing this to fail [21:58] dduffey: you can disable the snapd.refresh.timer perhaps [21:58] dduffey: (systemd level timer) [23:11] What i can inistall .snap files ( Ubuntu Touch device [23:12] .. What i can inistall .snap files ( for Ubuntu Touch device) on desktop [23:20] evgenijmalanov: I don't understand what you want. [23:28] PR snapcraft#827 opened: Support setting build targets in the maven plugin. Make the maven plu… [23:57] Does "refresh" pick up changes in the beta channel?