[00:28] sergiusens: there should be a new image for both rolling and 15.04 [00:28] including your changes [00:28] sergiusens: do we need any extra udf change for azure or is it going to consume the grub data from the rootfs? [00:33] rsalveti: I already tested in the card [00:34] rsalveti: https://trello.com/c/YkdrYyX6/79-rootdelay-300-for-azure-images [00:34] oh, great [00:34] sergiusens: for udf just do one of the options slangasek gave and we should be fine [00:36] rsalveti: I'm going with this one http://paste.ubuntu.com/11659708/ [00:36] great, easy enough [01:38] slangasek: rsalveti I think it needs manual intervention still http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html [01:38] delete the powerpc binaries I guess [01:42] right, hopefully slangasek can give us a hand with that [02:00] sergiusens, rsalveti: correct; looking at it now [02:01] binaries removed [03:59] qrl? [04:00] hello? [04:01] good moaning [04:02] how can I begin porting snappy to my desktop [04:03] not like running it virtualized, but actually standalone, with mir or something [04:44] Chipaca: replied to the MP, LGTM [07:03] hey there, does anyone know how to build a working image from device and rootfs tarballs? [07:04] seb128: ubuntu-device-flash will do that, but it will use the system-image server, so it needs to be imported there first [07:04] mvo_, no way to do that locally? [07:05] mvo_, we got a working desktop-next build [07:05] mvo_, https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/wily/ubuntu-desktop-next/+build/29166 [07:05] seb128: that is a good question [07:05] not sure what to do from the generated files though now ;-) [07:06] seb128: sergiusens will know if thats possible to do it locally you could shove it into system-image (create a temp channel or something) [07:08] mvo_, well *I* can't I guess, somebody needs to do it for me [07:08] but it's not very handy for local testing [07:09] seb128: agreed [07:09] mvo_, when is sergiusens usually online? [07:09] seb128: sergio will be around in ~4h or so [07:09] k, thanks [07:17] good morning [07:18] hey dholbach [07:18] dholbach, https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/wily/ubuntu-desktop-next/+build/29166 for you [07:18] thanks seb128! :) [07:18] popey, ^ [07:18] dholbach, here is a first working personnal build, good luck trying to make an image from it to put on a device :p [07:19] dholbach, joke aside, waiting for sergiusens now to see how to transform those tarballs in an img that one can dd to a stick [07:19] cool [07:23] good morning [07:24] hi fgimenez, hi willcooke [07:25] hey dholbach [07:28] hi dholbach [07:39] seb128: we need to talk about how we can share code, I am about to fix a bug in one of the hook scripts for ubuntu core and you will have to do exactly the same fix - maybe you can simplify symlink for hooks that are unchanged? [07:39] mvo_, which ppa am I supposed to be using, is it beta? [07:39] with beta I get this: [07:39] ubuntu-snappy : Hängt ab von: ubuntu-snappy-cli (= 1.0.1-0ubuntu1build1) aber 1.0.1-1+439~ubuntu15.04.1 soll installiert werden [07:39] dholbach: yeah ppa:snappy-dev/beta (confusing, right) [07:39] dholbach: please only install ubuntu-snappy-cli [07:39] ok [07:54] good morning mvo_, have a minute? [07:54] fgimenez: sure [07:54] fgimenez: good morning! [07:55] mvo_, :) i'm getting today this output from u-d-f http://paste.ubuntu.com/11666666/ [07:56] mvo_, not sure if it may be related to some misconfiguration on my side? [07:57] fgimenez: *ick* let me see if I can reproduce. what version of ubuntu-device-flash are you using right now? I wonder if there was a new version recently [07:57] fgimenez: this looks a lot like "upstream" [07:57] fgimenez: I'm curious about the version and the ppa you use so that I can try to figure out more [07:58] mvo_, yeah, symlink would make sense, Colin had some comments about that on the merge request for desktopnext, unsure why didrocks didn't do it though [07:58] mvo_, http://paste.ubuntu.com/11666692/ no ppa, just wily [07:59] fgimenez: aha, I think thats the culprit then, hold on a sec, Chipaca fixed this probably but u-d-f will need a rebuild [08:00] mvo_, ok thx! can i use some ppa in the meantime? [08:00] fgimenez: yes - https://launchpad.net/~snappy-dev/+archive/ubuntu/tools should work [08:01] fgimenez: I will do a rebuild in the meantime in wily [08:02] mvo_, ack, i'll try it thanks! :) [08:05] fgimenez: uploaded, should be in the archve later today [08:05] (the fix) [08:15] mvo_, mm i'm not able to install the package from the ppa, it seems that there was a problem with the build https://launchpad.net/~snappy-dev/+archive/ubuntu/tools/+packages [08:18] mvo_, this is what i get from apt-get update after adding the ppa repository http://paste.ubuntu.com/11666876/ [08:29] fgimenez: one sec, let me see if I ca nfix it [08:34] mvo_, thx, no rush at all [08:35] fgimenez: should be in the ppa now [08:36] fgimenez: well, might take some minutes until its published but I copied it to the wily pocket now [08:48] Morning folks, maybe now somebody here to point me to the head tree of Apparmor3 / latest version / patches? [08:49] Good morning all; happy Cars Day! 😃 [09:03] asac, FYI http://paste.ubuntu.com/11667823/ (needed a depmod run, i need to see why thats not in the package) [09:05] mvo_, ok, i have u-d-f 0.22-1+177~ubuntu15.04.1 properly installed :) but i'm still getting the same error http://paste.ubuntu.com/11667736/ [09:06] hmm, owncloud has a broken icon in webdm [09:06] ogra_: phenomenal :) ... yay! [09:06] just ping me and ricmm when the new image up :) [09:06] that works great [09:06] how do i test it ? i have never used owncloud [09:06] thanks so much [09:06] fgimenez: meh, ok, let me try harder [09:06] just check the website is working [09:07] on which port ? webdm doesnt show any info [09:07] oh [09:07] * ogra_ notes 80 in the docker cmdline [09:07] bah, lies [09:09] aha 443 works [09:10] nice ! [09:10] fgimenez: hm, odd. this appears to be working for me (wily with u-d-f from ppa:snappy-dev/tools). anything unusual on your system? ecryptfs? tmpfs for /tmp or anything that you could think of thats might give a clue? [09:13] mvo_, nothing special, this was working as of yesterday [09:14] fgimenez: ok, maybe you can downgrade to the version in ppa:snappy-dev/beta? thats 0.20-something ? and then we tak to sergiusens if he has a idea [09:15] ogra_: can you point me to the git tree i should use for backporting Apparmor3 to my kernel. I would use http://kernel.ubuntu.com/git/jj/ubuntu-vivid.git/log/?h=apparmor , but the tree at http://kernel.ubuntu.com/git/ppisati/ubuntu-vivid.git/log/?h=snappy_odroidc seems to contain a bunch of additional patches. Any idea? [09:15] longsleep: it needs the additional patches [09:15] well the backport does [09:16] jjohansen: Thanks! But where do they come from? [09:16] mvo_, ok thanks [09:16] longsleep, well, i always used ppisati's tree for that [09:16] git clone -b snappy_odroidc git://kernel.ubuntu.com/ppisati/ubuntu-vivid.git [09:16] (see http://people.canonical.com/~ogra/snappy/odroidc/README) [09:16] how the apparmor backport works, is it starts with the base apparmor patchset and then on top of that the backport patches are applied [09:16] ogra_: Right, but i would prefer to understand where the patches actually come from first. [09:16] but i guess that has fallen behind a bit [09:17] longsleep, that you have to ask ppisati ... i was only a consumer of his tree [09:17] yes we need to update the backports kernel tree, I just haven't found the time to do it yet [09:17] (for my first tests i used unpatched BSP kernels, he added the magic for me) [09:17] jjohansen: all right, so the source is somewhere internal for eg apparmor: 3.12 backport mtd: Move major number f83c3838 [09:19] longsleep, give me a sec, I have a repo that is the basis of those patches [09:19] and yes it needs to be updated as well [09:21] longsleep: http://kernel.ubuntu.com/git/jj/ubuntu-utopic.git/ [09:21] * longsleep takes a look [09:21] you can see there are android kernel branches like goldfish-aa3-backport [09:21] yes [09:21] and goldfish-aa3-presquash [09:21] so in some of these branches are the backport fixes? [09:22] the presquash branches have the backport patches split out [09:22] got it - awesome thanks [09:22] yes, you can see the individual changes, and they document which kernel changes they are adjusting for [09:22] i guess i can use that [09:23] this means i grab apparmor3 rc1 tag, and the additional patches with numbers greated than the kernel i base on correct? [09:23] longsleep: updating this to a new better tree against an updated 3.1 kernel is on my todo list [09:23] longsleep basically [09:24] jjohansen: thanks - i guess i have an idea now. Lets see how it goes :) [09:24] how I usually do a backport, is take the whole apparmor dir with the snapshot I want, say from ubuntu-vivid [09:24] just copy the whole dir, over the old apparmor dir, and git add it [09:24] that avoids all kinds of merge conflicts [09:24] jjohansen: yes that is how the docs suggest to do it too. [09:25] mvo_, should I be worried: http://pastebin.ubuntu.com/11667946/? [09:25] then I apply the backport patches on top, working my way backwards [09:25] jjohansen: meaning you start with newer patches first? [09:25] backwards as in 2.10, then 2.9, then 2.8 backport patches, it is the order that the presquash trees use [09:26] yes [09:26] dholbach: it sounds alarming, but should be ok [09:26] all right that is really helpful stuff [09:26] longsleep look at the commit messages for the backborts it will be things like revert 2.10 xxx [09:26] dholbach: its the error that there is a clickpkg user already [09:27] I don't know... [09:27] do you need a bug for it or should I ignore it? [09:27] longsleep: so if you backport to 3.2 you will have a longer patch list than say going back to 3.10 [09:27] dholbach: either is fine, feel free to file a bug [09:27] jjohansen: yes i see that. I need to get the stuff in Kernel 3.10 - so there are only two required as i can see [09:27] thanks mvo_, will do [09:28] ta [09:29] longsleep: hrmm, well that depends on where you start from, vivid and wily have one more patch that needs reverted, I haven't done a backport for that yet [09:29] jjohansen: does it matter where i start from, or can i start say from trusty as well? [09:31] longsleep: vivid and wily are the same, vivid is almost the same as utopic and utopic is a big step over trusty [09:31] jjohansen: ok - a big step for apparmor? But for snappy i it should be vivid/wily ? [09:31] mvo_, bug 1463329 [09:32] bug 1463329 in ubuntu-snappy (Ubuntu) "/nonexistent does not exist, system user clickpkg exists" [Undecided,New] https://launchpad.net/bugs/1463329 [09:32] longsleep: yes for snappy I would start from vivid/wily. [09:33] jjohansen: all right - i have the plan then. [09:33] longsleep: if you can wait a day I will try to get a vivid and wily backport up today [09:33] jjohansen: yeah - i will continue to work on it tonight CEST [09:37] by the way, i suggest that 3.10 upstream Kernel should be a default backport target for apparmor3 as many ARM device Kernel trees are based on 3.10. [09:38] yep [09:40] sergiusens, hmm, is there a way to disable autopilot from u-d-f ? that would really be handy when building for unsupported arches [09:44] ogra_: i learned you can disable it in the oem snap. [09:44] oh [09:45] ogra_: just add autopilot: off to ubuntu-core section or something [09:45] cant remember the exact details [09:46] ogra_: autopilot: false it was [09:47] ogra_: below ubuntu-core tree in config section of package.yaml [09:54] hm, what am I doing wrong with u-d-f? http://paste.ubuntu.com/11668527/ [09:55] pitti, looks like the wily bug with go i hit yesterday [09:55] are you running that on wily ? [09:55] yes [09:55] that might be it then [09:55] dholbach: ta [09:55] . o O { is there anything else? } :) [09:55] someone said wily's go is screwed [09:55] ogra_: ah, I'll try u-d-f from vivid then? [09:56] yeah [09:56] thanks ogra [09:58] ogra_: that fails differently [09:58] weird [09:58] 2015-06-09 09:57:48 ERROR snappy logger.go:199 generic-amd64 failed to install: snappy package not found [09:58] generic-amd64 failed to install: snappy package not found [09:58] it should be self contained i thought [09:58] the "snappy" command exists [09:58] oh, you might also need the snappy from vivid [09:58] (I opened a schroot and installed u-d-f [09:59] it is go as well :) [09:59] ah, not just ubuntu-snappy-cli then [10:00] hm, not the "snappy" package for sure [10:01] mvo_: ok, if you can tell me how one creates a snappy image these days, I'll look at bug 1462954 [10:01] bug 1462954 in Snappy trunk " systemd-random-seed fails to start because /var/lib/systemd/random-seed is read only" [High,Triaged] https://launchpad.net/bugs/1462954 [10:02] mvo_, i've finally got u-d-f working pheww :) it was related to the version of ubuntu-snappy-cli in wily [10:03] mvo_, downloading and installing it from here http://packages.ubuntu.com/vivid/ubuntu-snappy-cli works again, don't ask me why :) [10:05] fgimenez: oh, you have that problem as well? how did you flash snappy? [10:05] fgimenez: (see my backscroll from 5 mins ago) [10:06] fgimenez: so that's u-d-f from wily plus ubuntu-snappy-cli from vivid? [10:06] pitti, i was unable to use u-d-f in wily, this was the error http://paste.ubuntu.com/11667736/ [10:06] fgimenez: yep, exactly what I got and asked [10:06] pitti, yep, ubuntu-snappy-cli 1.0.1-0ubuntu1build1 seems to be somehow broken [10:07] fgimenez: I tried u-d-f (and u-snappy-cli) from vivid, and that fails too [10:07] pitti, unstalling u-snappy-cli and installing vivid's deb worked for me [10:10] I still get "generic-amd64 failed to install: snappy package not found" [10:13] grep -r 'package not found' in goget-ubuntu-touch doesn't have any results [10:13] pitti, it seems to be a different error, mine was "generic-amd64 failed to install: unpack /tmp/generic-amd64310762128 to /tmp/oem535521461/oem/generic-amd64/1.1.1 failed with exit status 1" [10:14] fgimenez: right, I got that with wily's ubuntu-snappy-cli, now I downgraded to vivid's [10:16] ok, I installed parted and ca-certificates, and now it's "generic-amd64 failed to install: exit status 2" [11:01] pitti: what're you doing? [11:01] Chipaca: I'm trying to build a snappy VM image with u-d-f [11:01] pitti: which u-d-f are you using? [11:02] ogra_: needs to be in the oem config [11:02] Chipaca: first I tried wily's, which fails with //paste.ubuntu.com/11667736/ (for ogra, fgimenez and me) [11:02] Chipaca: then I tried in vivid, where it first failed with "generic-amd64 failed to install: snappy package not found" [11:02] sergiusens: is wily's u-d-f the same as the tools ppa's? [11:03] Chipaca: then I installed parted and ca-certificates which got it a bit further, but now it fails with "exit status 2"; that's even with --verbose [11:03] Chipaca: no, it was let through last night [11:03] pitti: you need the tools ppa's one, i guess [11:03] Chipaca: what fails is snappy unpack which is using go 1.4 [11:03] certainly on vivid [11:03] sergiusens: but that's fixed [11:03] it used to work with vivid's version a few months ago (when vivid was still devel) [11:03] Chipaca: in wily? [11:04] Chipaca: as in, in wily with no ppa? [11:04] sergiusens: oahdunno [11:04] sergiusens: but it was failing with vivid's too [11:05] ok, which PPA should I add? [11:05] pitti: i don't think it's ever worked with vivid's since i've been on the project [11:05] pitti: which is... ok, a few months, but with few > 3 i think [11:05] it seemed to work for fgimenez to use vivid's ubuntu-snappy-cli, but I suppose u-d-f is missing a dependency or so [11:05] for sure it's missing parted and ca-certificates [11:05] pitti, not for me, i had the snappy errors on a wily image [11:05] $ cat /etc/apt/sources.list.d/snappy-dev-ubuntu-tools-vivid.list [11:05] deb http://ppa.launchpad.net/snappy-dev/tools/ubuntu vivid main [11:05] is there a --verboserer? [11:05] pitti: ^^ [11:06] Chipaca: thanks [11:06] (i build my images on a trusty machine ... so i have no build issues here) [11:06] pitti: ca-certificates yes, parted no http://paste.ubuntu.com/11669751/ [11:07] hmm, ubuntu-snappy-cli also misses the dep on ca-certificates [11:08] Chipaca, sergiusens pitti in my case downgrading ubuntu-snappy-cli from 1.0.1-0ubuntu1build1 (wily) to 1.0.1-0ubuntu1 (vivid) worked, tested with u-d-f from the archive and from the ppa [11:08] fgimenez: thanks for confirming [11:08] 2015-06-09 11:08:41 ERROR snappy logger.go:199 generic-amd64 failed to install: exit status 2 [11:08] still the same with the PPA [11:09] $ sudo ubuntu-device-flash core --output=/tmp/snappy.img --developer-mode --channel=edge rolling [11:09] mvo_: can you release a new ubuntu-snappy into wily? [11:09] same with "--channel=stable 15.04" [11:09] ogra_, hello, do you want us to start updating the raspi2 section with your image on https://developer.ubuntu.com/en/snappy/start/ or do you think it's better to wait a little for user feedback? [11:09] is there a $DEBUG/--debug or so? [11:10] pitti: only --verbose: u-d-f --verbose core rolling ... [11:10] davidcalle, we should wait for the actual release ... i also plan to push it to http://people.canonical.com/~platform/snappy/ instead of hosting it in my homedir [11:10] sergiusens: I have that already, but it doesn't say much, just http://paste.ubuntu.com/11669805/ [11:11] ogra_, actual release as in "official image"? [11:11] pitti: but I suspect you are going to have issues with ubuntu-snappy-cli [11:11] davidcalle, as in the 15.04.1 release for the rest of the world :) [11:11] ogra_, yay :) [11:11] Hello, I was wondering could somebody clarify steps 2 and 3 from https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/#updating-the-system [11:11] davidcalle, BBB and amd64 images will soon have a point release [11:11] seb128: I'm online [11:11] "Apply the latest system image to the other root partition." [11:12] I assumed the only time when this can be done is from initramfs during boot? because you have to remount read-only partition to read-write [11:12] is that correct? [11:12] [pid 21480] connect(3, {sa_family=AF_LOCAL, sun_path="/run/udev/control"}, 19) = -1 ENOENT (No such file or directory) [11:12] [pid 21480] close(3) = 0 [11:12] gatisp, that is how it works, yes [11:12] [pid 21480] exit_group(2) = ? [11:12] pitti: why did you repeat the same comment on bug 1462954 ? [11:12] bug 1462954 in Snappy trunk " systemd-random-seed fails to start because /var/lib/systemd/random-seed is read only" [High,Triaged] https://launchpad.net/bugs/1462954 [11:12] sergiusens: ^ ah, this might be it? it used to work in a schroot, but maybe not any more [11:13] seb128: mvo_ no easy mechanism for local testing, but livecd-rootfs local building isn't easy to do either [11:13] longsleep: sorry, pressed enter accidentally, and firefox still had my last reply in the input box [11:13] pitti: ah - i was just wondering if i was wrong about the problem. [11:13] ogra_, ok but then docs are are bit confusing, at least when I read it :) because the next steps says "Update the bootloader configuration such that the next boot.." [11:14] ogra_, but what it actually means is not the next boot [11:14] but the ongoing boot? [11:14] gatisp, after "flashing" the bootloader needs to be told to bot from the new partition [11:14] *boot [11:15] ogra_, but doesn't all the happen from the same boot sequence? [11:15] no [11:16] oh, wait, the unpacking on upgrade doesnt actually happen from the initrd ... that happens indeed from the running system before the reboot [11:16] (sorry, my brain was thinking phone updates :) ) [11:17] ogra_: we have inOS updates here [11:17] yeah [11:17] so it unpacks in some read-write partition first? [11:17] gatisp: it's like solaris' live upgrade mechanism [11:17] it uses three partitions [11:17] a is the one you run from ... readonly [11:17] then you have a rw partition for all the writable bits you need [11:18] and then there is b ... b is unmounted when you run from a [11:18] so you can mount it and unpack your stuff [11:18] then tell the bootloader about that and reboot [11:18] ogra_: it's actually mounter in /writable/cache/system (we are getting rid of 'cache' in that path though) [11:19] ah, i didnt know [11:19] i thought we dynamically mount it [11:19] Chipaca, sergiusens: FTR, bind-mounting /run into the schroot helped; now it's working (in vivid) [11:19] * pitti pats strace [11:20] pitti: ot1h, awesome; otoh, why didn't it work wihtout that? [11:20] ok, that clarifies some things, in me head I saw A and B both mounted as read-only at all times when system is running [11:20] Chipaca: I don't know; it used to a few months ago, but not any more [11:21] sergiusens, "/writable/cache/system" is that part open sourced somewhere? [11:21] gatisp: what does "open sourced" somewhere mean? [11:22] I mean can I see that code :) [11:22] gatisp: lp:snappy [11:22] where is that? its my first time here [11:23] bzr branch lp:snappy [11:23] gatisp: http://launchpad.net/snappy [11:23] running that on an ubuntu system gets you the source [11:23] ok, thanks, I will take a look [11:23] (or use a browser to browse it with sergiusens' url) [11:23] ogra_: I bet if someone doesn't know what lp: is, less they know of bzr :-P [11:24] true true [11:24] these days they are equivalent to the sme thing :-) [11:24] longsleep: indeed, works perfectly when touching the file, thanks! (<- mvo) [11:24] sergiusens: otoh, typing bzr will tell you how to get it [11:24] Chipaca: if you are on ubuntu ;-) [11:24] sergiusens: no other operating system exists [11:25] Chipaca: what phone do you use again? ;-) [11:25] sergiusens: an ubuntu phone of course [11:25] * Chipaca hides his android [11:26] * ogra_ shakes head [11:26] * Chipaca ides ogra_'s android too [11:26] hides* [11:26] i'm going to have to change this keyboard soon. or maybe my fingers. [11:27] anyway! back to work [11:27] i havent run any android in about a year now :) [11:27] ogra_: you are a better person than i [11:28] i just dont get along with it anymore after using the ubuntu phone for a while [11:28] the UX feels so clunky [11:28] and swiping from the right never does what i expect ! [11:29] yep [11:29] ogra_: _1 [11:29] +1 I meant [11:29] heh [11:30] I will have to buy Ubuntu phone, its about time to change my Nokia N9 :) [11:42] sergiusens: I did some update to your noUpdateGrub branch, did you already push your new grub.cfg somewhere? [11:43] sergiusens: I think thats the bit missing at this point :) [11:44] hmm our owncloud installation tells me to upgrade it [11:49] mvo_: only thing missing? [11:50] mvo_: sorry haven't checked my email yet, was dealing with irc first :-) [11:56] sergiusens: well, the transition too, but its looking promising [11:56] sergiusens: no worries, its not urgent at all [11:56] sergiusens, hey [11:57] mvo_: looking now [11:57] seb128: hello [11:57] seb128: for s-i we should just get ubuntu-personal/rolling/edge in place, we are going to need it anyways [11:58] sergiusens, we are trying to get a desktop snappy image going, we made cdimage build an image similar to the ubuntu-core one, see https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/wily/ubuntu-desktop-next [11:58] sergiusens, well, wfm if you want, but being able to test locally would be convenient [11:59] seb128: you probably want cprov's branch [11:59] sergiusens, what branch is that and what does it do? [11:59] seb128: https://code.launchpad.net/~canonical-ci-engineering/goget-ubuntu-touch/local_image/+merge/260531 [12:00] sergiusens, thanks [12:00] seb128: I'm not sure it's working yet (given the WiP), the resulting tarball might need some massaging (e.g.; putting the rootfs into /system) [12:02] sergiusens, any recommendation on what I can do with the tarballs from https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/wily/ubuntu-desktop-next/+build/29166 to test the output? [12:02] sergiusens, or where/to who can I request ubuntu-personal/rolling/edge to be configured [12:02] sergiusens: seb128: it seems to work fine (so far), we mangle the rootfs to install packages from -proposed and josepht can help you with further tweaks [12:03] cprov, thanks, see ^ for what I'm trying to do [12:04] seb128: yup, a 'personal' rootfs [12:05] cprov, right :-) [12:05] morning [12:06] hey rsalveti [12:07] hm, goget-ubuntu-touch ftbfs for all archs [12:07] seb128: hey! [12:08] After running bzr branch lp:snappy [12:08] go get -d -v launchpad.net/snappy/... [12:08] I still don't see /writable/cache/system [12:08] rsalveti: that's in the ppa; I'm disabling that building now that wily is working [12:09] sergiusens, ogra_ ^ am i missing some step? [12:13] sergiusens: ftbfs in the archive: https://launchpad.net/ubuntu/+source/goget-ubuntu-touch/0.22-0ubuntu3 [12:14] after mvo_ uploaded a new version [12:14] rsalveti: that's fine [12:15] rsalveti: this is why I wanted it updated in the archive, to play API change catchup ;) [12:15] sergiusens: how can a ftbfs be fine? :-) [12:15] rsalveti: I never asked you to rebuild u-d-f ;-) [12:15] haha, guess that happened yesterday already once you uploaded a newer version [12:16] oh, mvo_ that u-d-f rebuild isnt' needed [12:16] sergiusens: is this because of go 1.4? [12:16] mvo_: snappy unpack needed fixing and getting a rebuild of ubuntu-snappy-cli is enough for that [12:16] rsalveti: no, because lp:snappy has changed a lot with all the refactor that's going on [12:17] seb128: yeah, would also point you to the ci guys, since they have a way to use the rootfs (from live-build) when flashing with u-d-f [12:17] don't remember if we had an MR for it [12:17] rsalveti: already dealt with ;-) [12:17] seb128: the system-image server was also modifying the image, but ogra pushed the changes into the initrd now [12:17] just don't know if you're using the same initrd [12:17] rsalveti: but would be good for someone to setup ubuntu-personal/rolling/edge in any case [12:18] rsalveti, there was nothing to push for core ... only touch [12:18] ogra_: link for mtab? [12:18] that wasnt in the initrd :) [12:19] don't remember where you landed that :-) [12:19] livecd-rootfs [12:19] then seb128 should already be using that, I'd imagine [12:19] * ogra_ checks before talking nonsense [12:20] yeah [12:20] 2.304 and 2.305 have the changes [12:20] cool then [12:21] mtab, /lib/modules, /lib/formware and /userdata|/writable (depending on the flavour) [12:21] *firm [12:22] seb128: and to auto import ubuntu-desktop-next in system-image I guess you'd need to ping slangasek [12:22] or sil2100 [12:22] rsalveti, ok, thanks [12:24] mvo_: sergiusens: what is still missing to get https://bugs.launchpad.net/snappy/+bug/1462916 fixed for 15.04.1? [12:24] Ubuntu bug 1462916 in Snappy 15.04 "Simplify TMPDIR handling" [High,In progress] [12:24] rsalveti: I'll defer to Chipaca [12:25] iirc this is the last standing bug we have [12:27] mvo_: with lp:~mvo/ubuntu-core-launcher/tmpdir-simplify-lp1462916 merged and the associated u-c-security also in, tmpdir handling is done, right? [12:28] rsalveti: (afaik it's done) [12:28] where done means 'on trunk' [12:28] Chipaca: guess that everything is pushed to trunk, but nothing released yet [12:28] not 'on 15.04' [12:28] right [12:28] mvo_: just checking with mvo_ who was tracking the whole thing, whether there are further branches for trunk [12:29] Chipaca: its done but not backported, let me do this now [12:29] mvo_: ok [12:29] mvo_: note i forked your branch and fixed it before merging [12:29] so you want to backport that :) [12:29] Chipaca: I noticed, thanks a bunch! [12:29] k [12:30] mvo_: it seems we need a release for both wily and 15.04.1 then, right? [12:31] rsalveti: maybe :) why for wily? I'm not sure I follow [12:32] rsalveti: or you mean the core-launcher upload? yes, indeed [12:32] mvo_: yeah [12:32] "release" and "wily" seem to be at ends [12:33] sergiusens, installing things using the webdm API is still broken here. I ran a "snappy rollback webdm" to try to get back to a working version (0.7 now), but now it's not running. Did I miss something? [12:33] package upload would probably be a better way to say what I wanted :-) [12:33] rsalveti: :) sorry, I'm a bit slow today, I will do both wily and vivid uploads [12:34] mvo_: haha, thanks :-) [12:34] mvo_: then once both are in the ppa we can finally trigger another image for our final RC [12:34] unless we find other issues [12:34] kyrofa: how is it broken? [12:34] and then ask utlemming to test it on the cloud side [12:35] kyrofa: hmm, it works fine here, I guess you hit one of the bugs that was fixed this week in snappy/ubuntu-core-launcher itself [12:36] sergiusens, oh! Yeah, you mentioned that earlier. Do I need to explicitly update ubuntu-core-launcher, then? [12:36] Chipaca, I'm getting stuff like this: ERROR snappy logger.go:199 xkcd-webserver.canonical failed to install: unpack /tmp/snaps/webdm/0.8/tmp/xkcd-webserver428488438 to /apps/xkcd-webserver.canonical/0.5 failed with exit status 1 [12:37] kyrofa: rolling edge? [12:37] Chipaca, yessir [12:37] looks like the snappy unpack with go 1.4 problem [12:37] that fix's landed, right? [12:37] * Chipaca checks [12:38] yep, landed in 487 [12:38] kyrofa: it might not be in an image yet [12:38] kyrofa: mvo_ will address that in a moment [12:39] Chipaca, ah, very good! Okay, I'll hang out [12:39] kyrofa: meanwhile, you have the following workaround: go for a walkaround :-p [12:39] ogra_: wow, wonder why owcloud takes 10 minutes for the first start [12:39] Chipaca, ha! [12:40] kyrofa: unless you really need rolling/edge, please use 15.04/edge instead [12:40] kyrofa: or if you're in a hurry, you could build snappy from trunk and scp it in [12:40] rsalveti, it downloads a ton of stuff on first boot [12:40] s/boot/start/ [12:40] rolling/edge should be renamed to rolling/probably_broken [12:40] rsalveti, I don't actually. Back when I made it I needed rolling edge to get webdm. Is that no longer the case? [12:40] oh, wait [12:41] * Chipaca checks what he's running [12:41] kyrofa: webdm is also available for 15.04 [12:41] sergiusens: you need to rebuild webdm for wily :-( [12:41] rsalveti, the package is also outdated ... i get a "please update to the new version" popup all the time ... [12:41] and the icon in webdm is broken [12:41] ogra_: oh, got it [12:41] sergiusens: (which is weird; why is it built with 1.4?) [12:41] who owns it? [12:42] kikinz i think [12:42] rsalveti, good deal, I'll do that [12:42] *kickinz [12:42] (at least thats where it downloads all the files from according to syslog) [12:42] ogra_: but nice to see the new image around, waiting for my rpi2 to test [12:42] right :-) [12:43] would be nice if something like "snappy install owncloud" would actually automatically install docker [12:43] instead of falling over with an error [12:44] +1, I think it'd be nice for list too, as then it'd look like we have more in the store on initial look. [12:44] ogra_: hm, you shouldn't even see owncloud if you don't have docker already [12:45] mvo_, i didnt run snappy list ... just executed "snappy install owncloud" after firts boot [12:45] so i'm not sure if it was actually offered [12:45] I think everything should be based on app snaps, whether or not they need frameworks is just a technical detail. [12:45] yeah [12:45] ogra_: heh, thats funny [12:45] ogra_: could you file a bug please? === tvoss is now known as tvoss|test === tvoss|test is now known as tvoss [12:46] will do ... but let me verify it again [12:57] ok, after installing vm I see /dev/sda3 on / as read-only and /dev/sda4 on /writable/cache/system as read-only. This is exactly what online docs say, that both system partitions are read-only. So they are remounted to read-write whenever needed? [12:57] Chipaca: what wrong with webdm being built with 1.4? [12:57] rsalveti, I downloaded the 15.04 image from the snappy page, and it does appear that webdm is installed, but it doesn't seem to be running. Previously, when I was on rolling, all I had to do was install webdm and snappyd was immediately on port 4200 [12:57] sergiusens: nothing, because unpack is still done with snappy itself, right? [12:58] Chipaca: exactly :-) [12:58] * sergiusens has been trying to say that to many people since days now [12:58] then i don't understand why kyrofa's thing is failing [12:58] kyrofa: the image from the page has a webdm snap of type app, remove it and snappy install webdm again [12:58] kyrofa: hm, that's probably the old image [12:59] sergiusens, ah ha [12:59] try sudo ubuntu-device-flash core 15.04 --channel edge --enable-ssh --developer-mode --output x86.img [12:59] or similar [12:59] kyrofa: https://search.apps.ubuntu.com/api/v1/package/webdm (look at the release entry there) [12:59] kyrofa: the pre-built image is super old === tvoss is now known as tvoss|test === tvoss|test is now known as tvoss [13:02] sergiusens, rsalveti ahh, now I'm up and running. Thanks guys :) [13:15] mvo_: should we also try fixing https://bugs.launchpad.net/snappy/+bug/1462954 ? [13:15] Ubuntu bug 1462954 in Snappy trunk " systemd-random-seed fails to start because /var/lib/systemd/random-seed is read only" [High,Triaged] [13:15] it seems we're just missing a touch at the right file, so it can be bind-mounted [13:16] +1 [13:19] by the way, on bug #1462954 - the random-seed is not the only file which cannot be bind-mounted because it is missing [13:19] Bug #1462954: systemd-random-seed fails to start because /var/lib/systemd/random-seed is read only [13:19] bug 1462954 in Snappy trunk " systemd-random-seed fails to start because /var/lib/systemd/random-seed is read only" [High,Triaged] https://launchpad.net/bugs/1462954 [13:21] rsalveti, someone (pitti ?) said there would also be an ordering problem (the systemd unit starting before the mount) [13:21] ogra_: thought we'd be bind mounting at the initrd [13:21] no, this was just a conjecture; the file is simply missing, so it can't be bind-mounted [13:22] right [13:22] rsalveti: we don't (I thought that too, would be much more robust) [13:22] so we need to pre-create it; longsleep and I followed up to the bug [13:22] initrd just writes to fstab as far as i understand it [13:22] yeah, that should be an easy fix [13:27] rsalveti, we dont, we fill the fstab and let systemd's fstab handler do the mounting (like we let mountall do it on phones) [13:27] initrd should only mount the very basic bits to get readonly and rw spaces [13:28] right [13:28] so if the random seed unit runs before the fstab one we have an issue [13:29] shouldn't though; that "runs too early" was a conjecture if those bind mounts were *not* in fstab [13:29] easy to check [13:29] (and i could imagine it does so you get proper encryption security for encrypted mounts) [13:29] if they are, the RequiresMountsFor= will take care of it [13:29] ok [13:29] i just think we culd have a catch22 here ... for encrypted mounts [13:30] (not sure we ever plan to support that for the rootfs) [13:30] eventually, yeah [13:31] why would we ever encrypt the root fs? [13:31] it's a publically available image, not exactly a secret [13:32] well, if we do, the initrd needs to unlock it, just like in a desktop install [13:32] that should be done by /usr/share/initramfs-tools/hooks/cryptroot as usual? [13:33] well, but if we want the persisitent entryopy from the file at this point we would have to mount from initrd [13:33] mvo_: it looks like you handled the ubuntu-core-security in the ppa for /tmp, so I will make sure that get incorporated into the eventual vivid sru (like the ppa1 version before it) [13:33] s/mount/bind mount/ [13:33] jdstrand: yeah, I was about to ask if I should propose a branch for this :) [13:33] pitti, people encrypt their swap partitions ... so why not the writable partition too :) [13:33] ogra_: hm, why do you need the seed in the initramfs for unlocking an encrypted device? [13:34] jdstrand: do you have a 15.04 branch or is there any other way that I can make your life easier? [13:34] ogra_: oh yes, encrypting the writable partition makes sense; I thought you literally meant the root partition [13:34] mvo_: nah. I need to prepare a branch for 15.04 still. I'll do that then just pull it in [13:34] pitti, dunno, for making use of it ? [13:34] rsalveti: if its just a touch we should be good, I add the file to the u-core-config now [13:34] I mean to do it with ppa1, but didn't [13:34] doesnt it help to have the entropy available = [13:34] ? [13:34] jdstrand: ok :) [13:35] ogra_: you mean for session keys? I suppose that will have to make do without seed init (and I guess it does, as that has worked for ages with encrypted root) [13:35] ah, k [13:35] ogra_: TBH I don't know whether luks uses random session keys [13:35] for sure you need proper randomness when creating a luks device [13:36] I thought at that ^ point you create "the" key, and then just encrypt it using the user password in one of the 8 luks key slots [13:36] it sounded quite deterministic to me [13:42] good morning. [13:42] fgimenez: have you been able to build the webcam appliance into the image? [13:48] ogra_: when I do snappy update on raspberry, it should fail right? [13:48] elopio, it wont switch over to the new rootfs, it will update but will never boot into the new system [13:48] elopio: it doesn't today [13:49] we need to handle that better [13:49] (like blocking the update before it even downloads and tell the user about the unsupported status) [13:49] +1 to that. While full update is supported anyway. [13:50] well, it isnt, thats the point [13:51] mvo_: should the webcam snap work on raspberry? [13:51] ogra_: elopio we have some unlanded MPs for that [13:51] sergiusens, that prevent the download ? [13:51] sergiusens: for updates in raspberry? [13:51] elopio, for avoiding them :) [13:52] elopio: I think so, is it not working? and if not, what error do you get? [13:52] heh :) [13:52] ogra_: elopio basically if you build your image with --developer-mode [13:53] && sideload the "device" tarball it should be blocked [13:53] sergiusens, why does --developer-mode have any influence here [13:53] mvo_: http://paste.ubuntu.com/11672461/ I'll try again with ogra_'s latest image. [13:53] i thought as soon as you use an external device tarball it should be blocked, no matter what kind of image you built [13:54] ogra_: oh, I didn't write it, "I'm not sure --developer-mode is the right switch" [13:54] ogra_: but there is also an && [13:54] well, that sounds inconsequent [13:54] ogra_: you shouldn't be able to override these things without --developer-mode though [13:55] either we block always if an external device tarball is used or we dont [13:55] ah, i didnt know that [13:55] i thought you could always roll images [13:56] (i never tried without --developer-mode ... seems pointless unless you actually build an appliance) [13:56] sergiusens: can you give me a link to the branch, please? to add it to the testing report [13:56] elopio: try "sudo systemctl status -l webcam-demo_webcam-demo_1.0.2.service" [13:56] (notice the *2* in the name) [13:56] elopio: I added a task to the trello card that the guide needs to be updated as the version is now 1.0.2 instead of 1.0.1 [13:56] mvo_: hah, right. [13:57] * elopio retries. [13:57] mvo_: fyi only: https://code.launchpad.net/~ubuntu-security/ubuntu-core-security/15.04 [13:57] ta [13:59] rsalveti: just fyi, I triggered a new vivid build now that all packages are in the ppa [13:59] elopio: it's card on trello on todo; all there [13:59] elopio: in doing I mean [13:59] sergiusens: ack, thanks. [14:00] mvo_: awesome, thanks [14:38] tyhicks: fyi, not adding ping or a child profile to snappy default template-- it requires capset syscall [14:41] mvo_: help! I can't find a branch (the one that records a sidelod for the device) [14:41] sergiusens: the one for u-d-f? or the one for snappy? [14:42] mvo_: oh, nvm I think I found it (I followed the link from u-d-f that pointed to the old one) [14:43] cool [14:43] sergiusens, should my autopilot hack be obsolete then ? [14:44] or woould autopilot still remind aboout the update when i enable it again by default [14:44] ogra_: yes [14:44] yes ? [14:44] damn, I burned my tty cable. [14:44] * ogra_ should not ask "or" questions [14:45] I did not use the red cable, *I swear* [14:47] elopio, how is it broken ? [14:48] you dont see ttyUSB0 created in dmesg when you plug it in ? [14:48] (on your PC) [14:51] ogra_: I didn't for a while, and my PC shut down, then it started smelling funny. [14:51] I gave it some space, now it works again :) [14:52] heh [14:52] self healing cable :) [14:57] jdstrand: so that increases the urgency to get the unprivileged ping patches uploaded in wily? [15:05] cprov, sergiusens, mvo_, rsalveti: so I built goget-ubuntu-touch with the change from https://code.launchpad.net/~canonical-ci-engineering/goget-ubuntu-touch/local_image/+merge/260531 and used "u-d-f core rolling --channel edge --device-part=livecd.ubuntu-desktop-next.device.tar.gz --image-part=livecd.ubuntu-desktop-next.rootfs.tar.gz -o wily.img" which gave me an image, but kvm says it's not a bootable disk ... any idea how to debug? [15:06] elopio: I wanted to add some integration tests for snappy build, check if systemd/random-seed is writable and similar things, do you think its ok to still do this via the old sh or should I do it in go nowdays? [15:07] mvo_, you should loop over 7etc7system-image/writable for that [15:07] seb128: you could boot with -kernel -initramfs -append and point that to your local kernel [15:07] bah [15:07] ogra_: I'm confused? [15:07] /etc/system-image/writable [15:07] ogra_: aha, yes [15:07] mvo_, it has all the info what should be writable :) [15:10] mvo_, that sends me to initramfs with error like /etc/fstab no existing, I feel like the generated img is unvalid [15:11] uh [15:11] ok [15:11] no idea if the files from our image builder are even valid [15:11] * seb128 is just poking around [15:22] tyhicks: for some value of 'urgency' [15:23] I don't think it is incredibly high personally, but someone might think it is [15:23] ok [15:23] ie, let' snot be distracted by it. just know there is no (safe) workaround policy at this time [15:24] jdstrand: I'm not sure if I ever mentioned it but upstream iputils merged the unprivileged ping socket patches for ping and ping6 [15:24] you did. that's great :) [15:24] cool [15:29] mvo_, are you going to do a livecd-rootfs upload today? or is it ok if I upload the change you commited earlier? [15:33] mvo_: first, I would like if you merged https://code.launchpad.net/~mvo/snappy/snappy-merge-integration-tests/+merge/259592 [15:34] seb128: yeah, just upload with my changes, thats fine [15:34] mvo_: the only blocker in there is that it tries to sign the packages [15:34] mvo_, thanks [15:34] elopio: aha, ok [15:34] mvo_: then, maybe it's better for you to write the test in shell, while we figure out how to do it in go with adt-run. [15:35] from the discussion between fgimenez and pitti, I get that there are still some things to figure out. [15:35] elopio: ok, thats fine, I can convert it to go later once that is settled [15:37] elopio: let me fix the signing part now [15:37] mvo_: thanks. [15:41] elopio: r468 should have that now [15:41] dholbach: davidcalle: are you guys going to take care of the developer docs? [15:41] elopio: if that looks good, you can top-approve the MP and it will be auto-merged [15:41] elopio, mvo_ i hope to push something shortly with a simple implementation of pitti's suggestion of creating an image with the debs installed [15:41] elopio, mvo_ i'll ping you when it'll be ready [15:41] mvo_: I'll give it a new try. [15:41] fgimenez: thanks! [15:41] thanks! [15:42] elopio, in which sense? [15:43] dholbach: like, who should write about this? https://bugs.launchpad.net/developer-ubuntu-com/+bug/1457935 [15:43] elopio, please define take care, publish or write, if write, about what ? :) [15:43] Ubuntu bug 1457935 in Ubuntu Developer Portal "The snappy getting started guide doesn't mention the serial console" [Undecided,New] [15:43] I don't know - maybe rsalveti can comment? [15:43] ^ elopio [15:44] * davidcalle really needs a board [15:45] davidcalle: like a trello board or like a beagle board? :) [15:46] elopio, beagle (nobody sane would "need" another trello board ;-) ) [15:48] davidcalle: they are giving away the raspberries with the orange case, you just have to reply to gustavo's email. [15:48] elopio, good point [15:48] or maybe rsalveti can get you one from the order he's making for the team. If you are going to write docs about snappy, that makes sense. [15:49] but well, then we are back to the question: who writes the docs? [15:50] elopio, common effort, but I will very certainly write some more myself [15:50] I suppose, whoever knows about it. So I'll jfdi for the serial. [15:50] <3 [15:55] fgimenez, mvo_: note, I did suggest to *not* install debs on snappy, but build a custom image out of it; installing debs on snappy for testing is wrong :) [15:55] pitti: still a good step to get started, right? [15:56] elopio: well, not "good"; it's an okay workaround for running a test locally [15:56] we have a big list of things to fix on the tests, to make them closer to how a real system would work. [15:56] mounting / r/w and installing debs is exactly how real systems don't work :) [15:56] pitti: yep, that's what i'll try, using --install option of u-d-f, sounds good? [15:56] and with the writable bind mounts you are going to have a hard time installing debs [15:57] the --install option is for snaps [15:57] fgimenez: I suppose that's going to do the same, though? i. e. mount r/w and install debs? [15:57] ah [15:57] (unless i'm totally wrong) [15:57] i.e. --install webdm [15:57] I'm okay with an okay step to get started :) [15:57] but please don't ever put that into production [15:57] while fgimenez gets the correct thing working. [15:59] ogra_: thx! i got confused with the "packages" part of the description [15:59] np :) [16:00] then, how can be built a custom image using local debs? [16:01] how do we build the official images? === tvoss is now known as tvoss|dinner [16:01] pitti, livecd-rootfs/live-build [16:01] on cdimage [16:02] (or "via" [16:02] ) [16:02] the rootfs then gets imported by system-image.u.c, diffed for the deltas and merged with the device bits [16:04] * longsleep cheers at bug 1462954 fix commited [16:04] bug 1462954 in Snappy trunk " systemd-random-seed fails to start because /var/lib/systemd/random-seed is read only" [High,Fix committed] https://launchpad.net/bugs/1462954 [16:07] mvo_, hmm, i see /var/lib/systemd/snappy and /var/lib/systemd/click in /etc/system-image/writable-paths but neither of them mounted ... are they leftovers from older implementations or bugs ? [16:08] pitti: with "please don't ever put that into production" do you mean trunk? I would like to get mvo's branch merged because it prevents some errors, and will make it easier for us to transition into tests written in go. [16:08] if we skip the building the deb part, it also serves to check the released images. === fgimenez_ is now known as fgimenez [16:08] elopio: I mean relying on installing debs on snappy [16:09] it's going to fail for some packages, and it's the wrong approach [16:10] For some reason my FAT partition got borked again automatically .. (second time) [16:10] pitti: ok, totally agree to that. [16:10] lets figure out something better. [16:11] longsleep, weird, we explicitly run an fsck on it from the initrd [16:11] is snappy always going to be a deb? or will it become a snap at some point? [16:11] so even if you just pull the power plug it should recover fine [16:11] elopio: IMHO it would be a very worthwhile exercise to try and reproduce the image build locally, then simplify/scriptify that, so that we can do it for tests, in the cloud, etc. [16:11] elopio, i doubt we will stop rolling images from debs [16:12] i. e. ideally a live-build config [16:12] snappy being a snap sounds like a bootstrap issue [16:12] AFAIUI we'll build our system images from debs [16:12] well, as lon as we build our rootfs from debs it should be a deb [16:12] *nod* [16:13] and i dont see us stop doing that for the next few years [16:13] since the old ubuntu wont go away [16:16] now about the selftests, instead of packaging them as debs, we can just package them as snaps. [16:16] in case it was not meta enough before :) [16:18] elopio: why do you need to package them at all? [16:22] ogra_: it does not even come to boot, the boot.ini is invalid and thus the u-boot does refuse to boot it [16:22] the text files have some binary garbage in them (in all of them) [16:23] it seems to happen after it automatically rebooted because of new rootfs [16:24] ok its not garbage [16:24] it always added \x94 in regular order [16:24] s/added/replaced/g [16:26] and all the files in a and b are uppercased and using short name [16:26] maybe something wrote to parts of the fat partition upgrade [16:26] pitti: I'm copying the test binaries atm, so no *need* to package them. [16:26] but it would be extra cool that if you want to verify that your board is correct beyond the checking if it boots, you could [16:26] sudo snappy install snappy-selftests && snappy-selftests [16:27] it must have happend when snappy-system.txt was written [16:27] elopio: oh, tests are now in go instead of a scripting language? [16:27] pitti: that's the experiment I'm trying to do. [16:29] ogra_: Fschk results manually run on that partition confirm that it is broken :/ [16:29] * longsleep has to leave for linux user group now [16:33] elopio: that sounds hard; a deb can't be installed in principle, and a snap doesn't have the necessary privs; a framework should do, not sure whether that can have "unlimited" system privs [16:33] elopio: in particular, not sure if a framework should be able to install snaps and such [16:34] * pitti waves good night [16:35] elopio: pitti it is doable, but beats the purpose of a snap as it can wreck the system (I would not allow install/remove in a test suite designed to run on a live system) [16:39] so... maybe we just make the tests a deb and bundle them into the image that we will somehow build from trunk. Or I don't know. First, to get this branch merged, then the future. [16:39] * elopio tests. [16:48] Is it possible to flash the BBB over USB? (I don't have an SD slot on my laptop) [16:52] wooohoo! branches landing! woo. [17:04] mterry: I don't think so. I have this: http://www.amazon.com/Transcend-Information-Card-Reader-TS-RDF5K/dp/B009D79VH4/ref=sr_1_1?ie=UTF8&qid=1433868800&sr=8-1&keywords=sdcard+reader [17:05] mterry: https://lists.ubuntu.com/archives/snappy-devel/2015-June/000732.html [17:06] elopio: that's not related to sdcard requirements though [17:06] what mterry wants is network boot [17:07] elopio, interesting amazon link. cheap enough [17:07] sergiusens: I was wondering if the memory could be flashed from usb, not from sd card as that script is doing. [17:08] network boot sounds cool too. I want that. [17:08] Do you folks also use some sort of casing for the BBB, or a mat or something? It feels weird to have a bare circuit board [17:08] * elopio puts it into ogra's TODO :) [17:08] mterry: you eventually get used to it ;-) but there are cases [17:08] sergiusens, I would also be happy with a USB flash, not necessarily network boot [17:09] mterry: there is no recovery mode in these devices though, so usb flash seems a tad complicated [17:45] elopio: so, ideally the way to change the image is basically as pitti said, which is creating another clean image with livecd-rootfs [17:45] elopio: the proposed-migration work that the ci team is doing basically that, but using launchpad to build the new image [17:46] we should just have a script or something that can easily do that locally (something like rootstock, ogra_ ^^) [17:46] elopio: we definitely don't want to change the image by installing debs in runtime, as that's not the same path used when we produce the final images [17:47] about the selftests, I wonder if we can install them by default, as long it's not big [17:47] that would allow us to run the tests as part of the produced image [17:47] sergiusens: what do you think? [17:47] elopio: one curious thing, while go helps, why are we moving away from shell scripts? [17:48] i can look into making rootstock work for core [17:48] I know shell is not necessarily ideal, but it generally easier to script tests, right? [17:48] rsalveti: I think it's a bad idea [17:48] rsalveti: installing the selftests on production images [17:48] sergiusens: why? [17:48] rsalveti: because they can alter the system [17:49] right [17:49] it's not idempotent to run the tests [17:49] then how can we easily install/deploy the self tests that are compatible with a specific image? [17:49] well, we could add a rule that test packages cant have maintainer scripts [17:49] rsalveti: a sideloaded snap is fine [17:49] rsalveti: but not on the store [17:49] then they cant alter it [17:49] sergiusens: right, but then we'd need to find a way to store that and make that easily available [17:49] rsalveti: but [17:50] and in a way that we can match the tests with the image [17:50] rsalveti: this is the reason I suggested to make it a go binary, so it can just be copied over and ran [17:50] shell script also allows that, right? [17:50] rsalveti: if it's a snappy package you can match releases at all [17:50] don't think we're going to remove bash :-) [17:51] rsalveti: we are going to remove bash actually [17:51] and even then you could ship your own and use "#"./sh" [17:51] you can use dash [17:51] bash is fine [17:51] yeah, sh and dash should still be around [17:51] rsalveti: it's going to be removed and provided by the comfy framework [17:51] sergiusens: what is the comfy framework? [17:51] yeah, but you most likely also want to test without that installed [17:51] guess lool was going to write something for it today [17:52] rsalveti: a set of tools to make the system easy to admin [17:52] comfy has all the minimal convenience packages for admins [17:52] right [17:52] proper vim, htop etc etc [17:52] got it [17:53] we still need to find a way to easily provide the selftests that match the image [17:54] once we merge selftests in lp:snappy, we can at least match the versions in there [17:54] yeah, then we should just branch into /home/ubuntu [17:54] and run them from there [17:54] ogra_: just like we did for click ;-) [17:54] right, that might be easier indeed [17:54] no packages or anything at all [17:54] sergiusens, currently the webdm web interface and the snappy scope talk to webdm via its API. For some reason I've been assuming that webdm will be going away and its API will be moving into snappy itself, and the web interface and scope will be talking directly to snappy. However, it sounds like that's not the case. Can you explain what will become of webdm as you develop the snappy service? [17:55] kyrofa: what do you mean not the case? [17:55] I just still don't fully understand the reason to migrate from shell to go for everything (I understand that's a good thing for some tests) [17:55] yeah [17:55] since having a go test that will be basically calling many other commands is like an overkill thing [17:55] shell is perfect for that [17:55] kyrofa: the diagram on the rest doc shows that afaik [17:56] i dont think we should add additional compiling if not needed [17:56] right [17:56] sergiusens, it shows webdm is still there, but talking to snappy. Can you explain what exactly it's doing other than hosting an API for the web interface? [17:56] rsalveti: ogra_ you can't bzr branch on the target so what's the problem? [17:56] you can scp [17:56] and branch on the host [17:56] kyrofa: showing a browseable view/interface [17:57] ogra_: and compile [17:57] you can install comfy [17:57] and then checkout [17:57] or just scp [17:57] rsalveti: comfy doesn't have bzr [17:57] well, then you cant test without comfy :) [17:57] nor git [17:57] sergiusens, okay so it just becomes the web interface. No API [17:57] and what ogra said [17:57] can't we add it? :-) [17:57] sure [17:57] at least git [17:57] kyrofa: well it will have an api that the browser would consume [17:57] but still, you want to be able to thest the plain image too [17:58] sure [17:58] but doing an scp in one script or one binary is the same thing [17:58] kyrofa: but ted said he wants store + local view consolidated into a single view provided by snappy [17:58] so things are in flux again [17:58] how making it go will make it any easier? [17:58] sergiusens, i would actually stuff binaries into the tree instead of compiling on the host [17:58] *if* i need any binaries at all [17:58] sergiusens, yeah flux here too [17:59] rsalveti: ogra_ anyways, the move to go was to get some test framework in place more than anything else [17:59] right, that's is a good thing [17:59] I just don't want us to simply rewrite everything just because of reasons [17:59] +1 [18:00] sergiusens, okay. I know we just talked about this, but with my newfound understanding, just to clarify: webdm does NOT need screenshots, reviews, ratings, etc.? [18:00] elopio: mvo_: I also created a QA column in our backlog to make sure we don't forget about stuff we want to automate: https://trello.com/b/4PQViyUQ/snappy-core-stakeholders-backlog [18:01] sergiusens, or was that only snappy itself that didn't need that stuff? [18:01] mvo_: we could use that and include a card for the systemd random-seed regression testing you wanted to add [18:02] elopio: so since the ubuntu-snappy package includes the bzr rev as part of the package version, we could use that when using the self tests against an specific image [18:03] once everything is merged [18:03] so we know we're testing the same revision [18:05] kyrofa: webdm does need reviews, screenshots and ratings, where and how it gets them is in flux ;) [18:07] sergiusens, ah, good. Okay, ted didn't like the "extract the snappy store stuff into a lib" idea-- he wants the primary package path to go through snappy. So now I'm thinking I'll write a go lib to get that "leaf data" from the store, and maybe webdm can use that? [18:12] rsalveti, ^^ [18:14] kyrofa: if a go lib maybe snappy can use that later [18:14] but yeah, from what I understood from tedg he wants everything to go via snappy, using the rest api [18:14] and then everything to consume from the rest api [18:14] tedg can explain better when he gets back online :-) [18:15] rsalveti, same understanding here. Does that mean he also wants that extra data (screenshots etc.) coming from snappy? === tvoss|dinner is now known as tvoss [18:15] I'd guess so, but not sure [18:15] let's wait on tedg [18:15] rsalveti, alright, good deal === tvoss is now known as tvoss|dinner [18:45] kyrofa: well not webdm but snappy [18:45] kyrofa: and yeah, even screenshots [18:46] kyrofa: I think we want to improve the API we have exposed on webdm today [18:46] rsalveti, kyrofa, I'd say the leaf data like screenshots isn't critical, but it would be better if it went through snappy. [18:46] But it seems to me that once you have 90% of the data going through snappy, you should just do that too. [18:48] I like the idea of "one route to get data" even if snappy is just signing the URLs underneath the scope and passing them along. [18:55] tedg: there are a couple of cases where this needs decoupling though; remote devices (ala google play's webui) [18:56] sergiusens, Do you mean "install on my device" like via a website? [18:56] tedg: yes [18:56] sergiusens, Wouldn't in that case it be a push notification to the device? [18:57] tedg: ah, right [18:59] I think we need push messages for two things: new version available and install this app. [18:59] install this app ?? [19:00] ogra_, For like when you're browsing the Google Play store on your computer and you select something to install, it'll then install on your Android device. [19:01] ah [19:01] I think we should definitely do at least one "are you sure?" check there :-) [19:01] heh, yeah [19:06] tedg, alright. sergiusens, rsalveti: so the store code should probably stay in snappy, since the scope will continue talking to snappy. For now, I'll write a small go package to get the leaf data, and hopefully that's something that can be repurposed by snappy when it's ready. Does that sound reasonable? [19:07] +1 [19:07] kyrofa, Or just patch snappy? Work things out in code review? [19:08] kyrofa: as tedg says, maybe create launchpad.net/snappy/store [19:08] or remote [19:09] whatever you want to call it [19:09] a fork ! [19:09] Open Source is about freedom [19:10] sergiusens, would we need to make a new API call for that stuff? Or will it fit into something we already have? [19:11] kyrofa: our store api inside snappy is quite limited to cli needs [19:11] kyrofa: I'd rip it out and decouple and start using store.API [19:14] sergiusens, ah, right-- you're still waiting for the new API to be approved, right? [19:15] kyrofa: oh yeah, new api, I wasn't following you; yes, that exposed api needs approval and apparently a retwist to bring back remotes [19:15] kyrofa: for sure doing PUT /v1/packages/[name] is wrong with this model [19:19] sergiusens, alright let me talk to alecu about where he wants my priorities. I think this is the solution long-term, but I may do a quick workaround to get the scope off the ground before I come back to this [19:23] kyrofa: sergiusens: hola! [19:23] * alecu reads backlog [19:35] jdstrand, review scripts updated to r476 [19:35] \o/ [19:36] thanks :) [19:36] jdstrand, sorry it took so long, clouds, storms, etc [19:37] it's all good :) [19:54] sergiusens: for our tools we want to have everything available for trusty, utopic and vivid, right? [19:55] and wily as well, but guess part of the archive [19:55] rsalveti: yeah, but wait [19:55] rsalveti: what version are you releasing? [19:55] sergiusens: not releasing anything yet, just checking our tools ppas [19:55] want to remove the need for the beta one, align the versions for the other ppas [19:56] and adjust the build scripts [19:56] rsalveti: ok; what version is being aligned to? [19:56] checking now, every ppa got a different version [19:56] sergiusens: is there anything you want to releasE? [19:57] rsalveti: maybe 0.23 [19:57] rsalveti: of u-d-f [19:58] rsalveti: btw http://bazaar.launchpad.net/~snappy-dev/snappy/snappy-tools-update/view/head:/snappy-tools-update [19:59] oh, great [19:59] sergiusens: yeah, would be nice to release udf === devil is now known as Guest99265 [20:10] Chipaca: can you later take a look at my MPs, pretty small [20:19] catching up with the backlog. [20:20] rsalveti: the tests in go are just a proposal for further discussion, once we have something to show. I think they are more readable and easier to write. [20:20] on bash we can do regexp matching, but we can't do proper set up and tear down, nor nice test reporting or failure messages. [20:21] elopio: right, that's fine, I just want to make sure we don't get into this mode of rewriting everything unless really needed [20:21] what we discussed is that as we are already compiling the source code, it wouldn't be a lot more pain to also compile the test. And we get a lot more options. [20:21] or part of a further test development goal [20:22] rsalveti: we don't want to just rewrite the current tests. We want to make them self contained and independent. [20:22] as long as we finish testing we can finish the prototype. [20:23] s/long/soon. [20:23] sure, that's fine [20:52] nice, the powerpc seems to not be broken anymore [20:53] rsalveti: want to build the images with https://launchpad.net/ubuntu/+source/goget-ubuntu-touch/0.23-0ubuntu1 ? If that's it, it's the one that needs propagation across the ppas [20:53] rsalveti: I would like to get the install.yaml in place, but that requires a bit more time [21:05] sergiusens: yeah, will propagate that === Guest99265 is now known as devil_ [21:59] sergiusens: jdstrand: asac: do you guys know why we have the click-ubuntu-policy package? [21:59] * rsalveti is doing the tools ppa cleanup [22:00] was created by asac a while ago [22:00] and only published for trusty [22:00] actually it's also in the archive, but same version [22:00] so guess just let it there [22:04] rsalveti: all I can say is that it doesn't do what it sounds like it does [22:04] yeah :-) [22:04] I'm not sure what it is or why it is there [22:05] ah "initial version with the Ubuntu click store public key" [22:05] yeah, just includes the public key [22:06] jdstrand: so besides our packages, there are 2 main packages that you are maintaining in there [22:07] click-reviewers-tools and ubuntu-core-security [22:08] jdstrand: it seems both are maintained in bzr [22:08] so was wondering if we could have a recipe to build trunk and automatically publish that into tools-proposed [22:09] that then migrates to tools once a week [22:09] jdstrand: or if you would prefer to for us to only track the released versions [22:09] which then means someone needs to manually track and upload the package to the ppa [22:12] rsalveti: ubuntu-core-security I'd rather see updates in the archive. we can discuss the review tools, but can we do that tomorrow (heading out) [22:13] sure, will ping you tomorrow then [22:13] but guess it's fine to track releases as well [22:13] usually we just want to update the tools ppa before every stable release, or when required [22:14] would be even better if we could do binary copies, but we can discuss tomorrow [22:54] rsalveti: there was a problem during release rush that migth or might not got resolved by this upload to ppa... unfortunately, i cant remember anymore. maybe it was a dependency? if you can purge it from host & target (not sure where its on) on trusty and still can build the webcam demo guide then its not needed :). [22:54] it was while jdstrand was sleeping :P [22:55] * asac off [22:55] yeah, not doing it for this release :-) [22:59] utlemming: my vm is still provisioning in azure. Is it normal that it takes so much time?