/srv/irclogs.ubuntu.com/2015/06/09/#snappy.txt

rsalvetisergiusens: there should be a new image for both rolling and 15.0400:28
rsalvetiincluding your changes00:28
rsalvetisergiusens: do we need any extra udf change for azure or is it going to consume the grub data from the rootfs?00:28
sergiusensrsalveti: I already tested in the card00:33
sergiusensrsalveti: https://trello.com/c/YkdrYyX6/79-rootdelay-300-for-azure-images00:34
rsalvetioh, great00:34
rsalvetisergiusens: for udf just do one of the options slangasek gave and we should be fine00:34
sergiusensrsalveti: I'm going with this one http://paste.ubuntu.com/11659708/00:36
rsalvetigreat, easy enough00:36
sergiusensslangasek: rsalveti I think it needs manual intervention still http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html01:38
sergiusensdelete the powerpc binaries I guess01:38
rsalvetiright, hopefully slangasek can give us a hand with that01:42
slangaseksergiusens, rsalveti: correct; looking at it now02:00
slangasekbinaries removed02:01
trey-gordonqrl?03:59
trey-gordonhello?04:00
tbrgood moaning04:01
trey-gordonhow can I begin porting snappy to my desktop04:02
trey-gordonnot like running it virtualized, but actually standalone, with mir or something04:03
pittiChipaca: replied to the MP, LGTM04:44
seb128hey there, does anyone know how to build a working image from device and rootfs tarballs?07:03
mvo_seb128: ubuntu-device-flash will do that, but it will use the system-image server, so it needs to be imported there first07:04
seb128mvo_, no way to do that locally?07:04
seb128mvo_, we got a working desktop-next build07:05
seb128mvo_, https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/wily/ubuntu-desktop-next/+build/2916607:05
mvo_seb128: that is a good question07:05
seb128not sure what to do from the generated files though now ;-)07:05
mvo_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:06
seb128mvo_, well *I* can't I guess, somebody needs to do it for me07:08
seb128but it's not very handy for local testing07:08
mvo_seb128: agreed07:09
seb128mvo_, when is sergiusens usually online?07:09
mvo_seb128: sergio will be around in ~4h or so07:09
seb128k, thanks07:09
dholbachgood morning07:17
seb128hey dholbach07:18
seb128dholbach, https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/wily/ubuntu-desktop-next/+build/29166 for you07:18
dholbachthanks seb128! :)07:18
dholbachpopey, ^07:18
seb128dholbach, here is a first working personnal build, good luck trying to make an image from it to put on a device :p07:18
seb128dholbach, joke aside, waiting for sergiusens now to see how to transform those tarballs in an img that one can dd to a stick07:19
dholbachcool07:19
fgimenezgood morning07:23
dholbachhi fgimenez, hi willcooke07:24
fgimenezhey dholbach07:25
willcookehi dholbach07:28
mvo_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
dholbachmvo_, which ppa am I supposed to be using, is it beta?07:39
dholbachwith beta I get this:07:39
dholbach ubuntu-snappy : Hängt ab von: ubuntu-snappy-cli (= 1.0.1-0ubuntu1build1) aber 1.0.1-1+439~ubuntu15.04.1 soll installiert werden07:39
mvo_dholbach: yeah ppa:snappy-dev/beta (confusing, right)07:39
mvo_dholbach: please only install ubuntu-snappy-cli07:39
dholbachok07:39
fgimenezgood morning mvo_, have a minute?07:54
mvo_fgimenez: sure07:54
mvo_fgimenez: good morning!07:54
fgimenezmvo_, :) i'm getting today this output from u-d-f http://paste.ubuntu.com/11666666/07:55
fgimenezmvo_, not sure if it may be related to some misconfiguration on my side?07:56
mvo_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 recently07:57
mvo_fgimenez: this looks a lot like "upstream"07:57
mvo_fgimenez: I'm curious about the version and the ppa you use so that I can try to figure out more07:57
seb128mvo_, yeah, symlink would make sense, Colin had some comments about that on the merge request for desktopnext, unsure why didrocks didn't do it though07:58
fgimenezmvo_, http://paste.ubuntu.com/11666692/ no ppa, just wily07:58
mvo_fgimenez: aha, I think thats the culprit then, hold on a sec, Chipaca fixed this probably but u-d-f will need a rebuild07:59
fgimenezmvo_, ok thx! can i use some ppa in the meantime?08:00
mvo_fgimenez: yes - https://launchpad.net/~snappy-dev/+archive/ubuntu/tools should work08:00
mvo_fgimenez: I will do a rebuild in the meantime in wily08:01
fgimenezmvo_, ack, i'll try it thanks! :)08:02
mvo_fgimenez: uploaded, should be in the archve later today08:05
mvo_(the fix)08:05
fgimenezmvo_, 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/+packages08:15
fgimenezmvo_, this is what i get from apt-get update after adding the ppa repository http://paste.ubuntu.com/11666876/08:18
mvo_fgimenez: one sec, let me see if I ca nfix it08:29
fgimenezmvo_, thx, no rush at all08:34
mvo_fgimenez: should be in the ppa now08:35
mvo_fgimenez: well, might take some minutes until its published but I copied it to the wily pocket now08:36
longsleepMorning folks, maybe now somebody here to point me to the head tree of Apparmor3 / latest version / patches?08:48
JamesTaitGood morning all; happy Cars Day! 😃08:49
ogra_asac, FYI http://paste.ubuntu.com/11667823/ (needed a depmod run, i need to see why thats not in the package)09:03
fgimenezmvo_, 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:05
ogra_hmm, owncloud has a broken icon in webdm09:06
asacogra_: phenomenal :) ... yay!09:06
asacjust ping me and ricmm when the new image up :)09:06
asacthat works great09:06
ogra_how do i test it ? i have never used owncloud09:06
asacthanks so much09:06
mvo_fgimenez: meh, ok, let me try harder09:06
asacjust check the website is working09:06
ogra_on which port ? webdm doesnt show any info09:07
ogra_oh09:07
* ogra_ notes 80 in the docker cmdline09:07
ogra_bah, lies09:07
ogra_aha 443 works09:09
ogra_nice !09:10
mvo_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:10
fgimenezmvo_, nothing special, this was working as of yesterday09:13
mvo_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 idea09:14
longsleepogra_: 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
jjohansenlongsleep: it needs the additional patches09:15
jjohansenwell the backport does09:15
longsleepjjohansen: Thanks! But where do they come from?09:16
fgimenezmvo_, ok thanks09:16
ogra_longsleep, well, i always used ppisati's tree for that09:16
ogra_git clone -b snappy_odroidc git://kernel.ubuntu.com/ppisati/ubuntu-vivid.git09:16
ogra_(see http://people.canonical.com/~ogra/snappy/odroidc/README)09:16
jjohansenhow the apparmor backport works, is it starts with the base apparmor patchset and then on top of that the backport patches are applied09:16
longsleepogra_: Right, but i would prefer to understand where the patches actually come from first.09:16
ogra_but i guess that has fallen behind a bit09:16
ogra_longsleep, that you have to ask ppisati ... i was only a consumer of his tree09:17
jjohansenyes we need to update the backports kernel tree, I just haven't found the time to do it yet09:17
ogra_(for my first tests i used unpatched BSP kernels, he added the magic for me)09:17
longsleepjjohansen: all right, so the source is somewhere internal for eg apparmor: 3.12 backport mtd: Move major number f83c383809:17
jjohansenlongsleep, give me a sec, I have a repo that is the basis of those patches09:19
jjohansenand yes it needs to be updated as well09:19
jjohansenlongsleep: http://kernel.ubuntu.com/git/jj/ubuntu-utopic.git/09:21
* longsleep takes a look09:21
jjohansenyou can see there are android kernel branches like goldfish-aa3-backport09:21
longsleepyes09:21
jjohansenand goldfish-aa3-presquash09:21
longsleepso in some of these branches are the backport fixes?09:21
jjohansenthe presquash branches have the backport patches split out09:22
longsleepgot it - awesome thanks09:22
jjohansenyes, you can see the individual changes, and they document which kernel changes they are adjusting for09:22
longsleepi guess i can use that09:22
longsleepthis means i grab apparmor3 rc1 tag, and the additional patches with numbers greated than the kernel i base on correct?09:23
jjohansenlongsleep: updating this to a new better tree against an updated 3.1 kernel is on my todo list09:23
jjohansenlongsleep basically09:23
longsleepjjohansen: thanks - i guess i have an idea now. Lets see how it goes :)09:24
jjohansenhow I usually do a backport, is take the whole apparmor dir with the snapshot I want, say from ubuntu-vivid09:24
jjohansenjust copy the whole dir, over the old apparmor dir, and git add it09:24
jjohansenthat avoids all kinds of merge conflicts09:24
longsleepjjohansen: yes that is how the docs suggest to do it too.09:24
dholbachmvo_, should I be worried: http://pastebin.ubuntu.com/11667946/?09:25
jjohansenthen I apply the backport patches on top, working my way backwards09:25
longsleepjjohansen: meaning you start with newer patches first?09:25
jjohansenbackwards as in 2.10, then 2.9, then 2.8 backport patches, it is the order that the presquash trees use09:25
jjohansenyes09:26
mvo_dholbach: it sounds alarming, but should be ok09:26
longsleepall right that is really helpful stuff09:26
jjohansenlongsleep look at the commit messages for the backborts it will be things like revert 2.10 xxx09:26
mvo_dholbach: its the error that there is a clickpkg user already09:26
dholbachI don't know...09:27
dholbachdo you need a bug for it or should I ignore it?09:27
jjohansenlongsleep: so if you backport to 3.2 you will have a longer patch list than say going back to 3.1009:27
mvo_dholbach: either is fine, feel free to file a bug09:27
longsleepjjohansen: yes i see that. I need to get the stuff in Kernel 3.10 - so there are only two required as i can see09:27
dholbachthanks mvo_, will do09:27
mvo_ta09:28
jjohansenlongsleep: 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 yet09:29
longsleepjjohansen: does it matter where i start from, or can i start say from trusty as well?09:29
jjohansenlongsleep: vivid and wily are the same, vivid is almost the same as utopic and utopic is a big step over trusty09:31
longsleepjjohansen: ok - a big step for apparmor? But for snappy i it should be vivid/wily ?09:31
dholbachmvo_, bug 146332909:31
ubottubug 1463329 in ubuntu-snappy (Ubuntu) "/nonexistent does not exist, system user clickpkg exists" [Undecided,New] https://launchpad.net/bugs/146332909:32
jjohansenlongsleep: yes for snappy I would start from vivid/wily.09:32
longsleepjjohansen: all right - i have the plan then.09:33
jjohansenlongsleep: if you can wait a day I will try to get a vivid and wily backport up today09:33
longsleepjjohansen: yeah - i will continue to work on it tonight CEST09:33
longsleepby 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:37
jjohansenyep09:38
ogra_sergiusens, hmm, is there a way to disable autopilot from u-d-f ? that would really be handy when building for unsupported arches09:40
longsleepogra_: i learned you can disable it in the oem snap.09:44
ogra_oh09:44
longsleepogra_: just add autopilot: off to ubuntu-core section or something09:45
longsleepcant remember the exact details09:45
longsleepogra_: autopilot: false it was09:46
longsleepogra_: below ubuntu-core tree in config section of package.yaml09:47
pittihm, what am I doing wrong with u-d-f? http://paste.ubuntu.com/11668527/09:54
ogra_pitti, looks like the wily bug with go i hit yesterday09:55
ogra_are you running that on wily ?09:55
pittiyes09:55
ogra_that might be it then09:55
mvo_dholbach: ta09:55
pitti. o O { is there anything else? } :)09:55
ogra_someone said wily's go is screwed09:55
pittiogra_: ah, I'll try u-d-f from vivid then?09:55
ogra_yeah09:56
pittithanks ogra09:56
pittiogra_: that fails differently09:58
ogra_weird09:58
pitti2015-06-09 09:57:48 ERROR snappy logger.go:199 generic-amd64 failed to install: snappy package not found09:58
pittigeneric-amd64 failed to install: snappy package not found09:58
ogra_it should be self contained i thought09:58
pittithe "snappy" command exists09:58
ogra_oh, you might also need the snappy from vivid09:58
pitti(I opened a schroot and installed u-d-f09:58
ogra_it is go as well :)09:59
pittiah, not just ubuntu-snappy-cli then09:59
pittihm, not the "snappy" package for sure10:00
pittimvo_: ok, if you can tell me how one creates a snappy image these days, I'll look at bug 146295410:01
ubottubug 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/146295410:01
fgimenezmvo_, i've finally got u-d-f working pheww :) it was related to the version of ubuntu-snappy-cli in wily10:02
fgimenezmvo_, downloading and installing it from here http://packages.ubuntu.com/vivid/ubuntu-snappy-cli works again, don't ask me why :)10:03
pittifgimenez: oh, you have that problem as well? how did you flash snappy?10:05
pittifgimenez: (see my backscroll from 5 mins ago)10:05
pittifgimenez: so that's u-d-f from wily plus ubuntu-snappy-cli from vivid?10:06
fgimenezpitti, i was unable to use u-d-f in wily, this was the error http://paste.ubuntu.com/11667736/10:06
pittifgimenez: yep, exactly what I got and asked10:06
fgimenezpitti, yep, ubuntu-snappy-cli 1.0.1-0ubuntu1build1 seems to be somehow broken10:06
pittifgimenez: I tried u-d-f (and u-snappy-cli) from vivid, and that fails too10:07
fgimenezpitti, unstalling u-snappy-cli and installing vivid's deb worked for me10:07
pittiI still get "generic-amd64 failed to install: snappy package not found"10:10
pittigrep -r 'package not found' in goget-ubuntu-touch doesn't have any results10:13
fgimenezpitti, 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:13
pittifgimenez: right, I got that with wily's ubuntu-snappy-cli, now I downgraded to vivid's10:14
pittiok, I installed parted and ca-certificates, and now it's "generic-amd64 failed to install: exit status 2"10:16
Chipacapitti: what're you doing?11:01
pittiChipaca: I'm trying to build a snappy VM image with u-d-f11:01
Chipacapitti: which u-d-f are you using?11:01
sergiusensogra_: needs to be in the oem config11:02
pittiChipaca: first I tried wily's, which fails with //paste.ubuntu.com/11667736/ (for ogra, fgimenez and me)11:02
pittiChipaca: then I tried in vivid, where it first failed with "generic-amd64 failed to install: snappy package not found"11:02
Chipacasergiusens: is wily's u-d-f the same as the tools ppa's?11:02
pittiChipaca: 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 --verbose11:03
sergiusensChipaca: no, it was let through last night11:03
Chipacapitti: you need the tools ppa's one, i guess11:03
sergiusensChipaca: what fails is snappy unpack which is using go 1.411:03
Chipacacertainly on vivid11:03
Chipacasergiusens: but that's fixed11:03
pittiit used to work with vivid's version a few months ago (when vivid was still devel)11:03
sergiusensChipaca: in wily?11:03
sergiusensChipaca: as in, in wily with no ppa?11:04
Chipacasergiusens: oahdunno11:04
Chipacasergiusens: but it was failing with vivid's too11:04
pittiok, which PPA should I add?11:05
Chipacapitti: i don't think it's ever worked with vivid's since i've been on the project11:05
Chipacapitti: which is... ok, a few months, but with few > 3 i think11:05
pittiit seemed to work for fgimenez to use vivid's ubuntu-snappy-cli, but I suppose u-d-f is missing a dependency or so11:05
pittifor sure it's missing parted and ca-certificates11:05
ogra_pitti, not for me, i had the snappy errors on a wily image11:05
Chipaca$ cat /etc/apt/sources.list.d/snappy-dev-ubuntu-tools-vivid.list11:05
Chipacadeb http://ppa.launchpad.net/snappy-dev/tools/ubuntu vivid main11:05
pittiis there a --verboserer?11:05
Chipacapitti: ^^11:05
pittiChipaca: thanks11:06
ogra_(i build my images on a trusty machine ... so i have no build issues here)11:06
sergiusenspitti: ca-certificates yes, parted no http://paste.ubuntu.com/11669751/11:06
sergiusenshmm, ubuntu-snappy-cli also misses the dep on ca-certificates11:07
fgimenezChipaca, 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 ppa11:08
sergiusensfgimenez: thanks for confirming11:08
pitti2015-06-09 11:08:41 ERROR snappy logger.go:199 generic-amd64 failed to install: exit status 211:08
pittistill the same with the PPA11:08
pitti$ sudo ubuntu-device-flash core --output=/tmp/snappy.img --developer-mode --channel=edge rolling11:09
sergiusensmvo_: can you release a new ubuntu-snappy into wily?11:09
pittisame with "--channel=stable 15.04"11:09
davidcalleogra_, 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
pittiis there a $DEBUG/--debug or so?11:09
sergiusenspitti: only --verbose: u-d-f --verbose core rolling ...11:10
ogra_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 homedir11:10
pittisergiusens: I have that already, but it doesn't say much, just http://paste.ubuntu.com/11669805/11:10
davidcalleogra_, actual release as in "official image"?11:11
sergiusenspitti: but I suspect you are going to have issues with ubuntu-snappy-cli11:11
ogra_davidcalle, as in the 15.04.1 release for the rest of the world :)11:11
davidcalleogra_, yay :)11:11
gatispHello, I was wondering could somebody clarify steps 2 and 3 from https://developer.ubuntu.com/en/snappy/guides/filesystem-layout/#updating-the-system11:11
ogra_davidcalle, BBB and amd64 images will soon have a point release11:11
sergiusensseb128: I'm online11:11
gatisp"Apply the latest system image to the other root partition."11:11
gatispI assumed the only time when this can be done is from initramfs during boot? because you have to remount read-only partition to read-write11:12
gatispis that correct?11:12
pitti[pid 21480] connect(3, {sa_family=AF_LOCAL, sun_path="/run/udev/control"}, 19) = -1 ENOENT (No such file or directory)11:12
pitti[pid 21480] close(3)                    = 011:12
ogra_gatisp, that is how it works, yes11:12
pitti[pid 21480] exit_group(2)               = ?11:12
longsleeppitti: why did you repeat the same comment on bug 1462954 ?11:12
ubottubug 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/146295411:12
pittisergiusens: ^ ah, this might be it? it used to work in a schroot, but maybe not any more11:12
sergiusensseb128: mvo_ no easy mechanism for local testing, but livecd-rootfs local building isn't easy to do either11:13
pittilongsleep: sorry, pressed enter accidentally, and firefox still had my last reply in the input box11:13
longsleeppitti: ah - i was just wondering if i was wrong about the problem.11:13
gatispogra_, 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:13
gatispogra_, but what it actually means is not the next boot11:14
gatispbut the ongoing boot?11:14
ogra_gatisp, after "flashing" the bootloader needs to be told to bot from the new partition11:14
ogra_*boot11:14
gatispogra_, but doesn't all the happen from the same boot sequence?11:15
ogra_no11:15
ogra_oh, wait, the unpacking on upgrade doesnt actually happen from the initrd ... that happens indeed from the running system before the reboot11:16
ogra_(sorry, my brain was thinking phone updates :) )11:16
sergiusensogra_: we have inOS updates here11:17
ogra_yeah11:17
gatispso it unpacks in some read-write partition first?11:17
sergiusensgatisp: it's like solaris' live upgrade mechanism11:17
ogra_it uses three partitions11:17
ogra_a is the one you run from ... readonly11:17
ogra_then you have a rw partition for all the writable bits you need11:17
ogra_and then there is b ... b is unmounted when you run from a11:18
ogra_so you can mount it and unpack your stuff11:18
ogra_then tell the bootloader about that and reboot11:18
sergiusensogra_: it's actually mounter in /writable/cache/system (we are getting rid of 'cache' in that path though)11:18
ogra_ah, i didnt know11:19
ogra_i thought we dynamically mount it11:19
pittiChipaca, sergiusens: FTR, bind-mounting /run into the schroot helped; now it's working (in vivid)11:19
* pitti pats strace11:19
Chipacapitti: ot1h, awesome; otoh, why didn't it work wihtout that?11:20
gatispok, that clarifies some things, in me head I saw A and B both mounted as read-only at all times when system is running11:20
pittiChipaca: I don't know; it used to a few months ago, but not any more11:20
gatispsergiusens, "/writable/cache/system" is that part open sourced somewhere?11:21
sergiusensgatisp: what does "open sourced" somewhere mean?11:21
gatispI mean can I see that code :)11:22
sergiusensgatisp: lp:snappy11:22
gatispwhere is that? its my first time here11:22
ogra_bzr branch lp:snappy11:23
sergiusensgatisp: http://launchpad.net/snappy11:23
ogra_running that on an ubuntu system gets you the source11:23
gatispok, thanks, I will take a look11:23
ogra_(or use a browser to browse it with sergiusens' url)11:23
sergiusensogra_: I bet if someone doesn't know what lp: is, less they know of bzr :-P11:23
ogra_true true11:24
sergiusensthese days they are equivalent to the sme thing :-)11:24
pittilongsleep: indeed, works perfectly when touching the file, thanks! (<- mvo)11:24
Chipacasergiusens: otoh, typing bzr will tell you how to get it11:24
sergiusensChipaca: if you are on ubuntu ;-)11:24
Chipacasergiusens: no other operating system exists11:24
sergiusensChipaca: what phone do you use again? ;-)11:25
Chipacasergiusens: an ubuntu phone of course11:25
* Chipaca hides his android11:25
* ogra_ shakes head11:26
* Chipaca ides ogra_'s android too11:26
Chipacahides*11:26
Chipacai'm going to have to change this keyboard soon. or maybe my fingers.11:26
Chipacaanyway! back to work11:27
ogra_i havent run any android in about a year now :)11:27
Chipacaogra_: you are a better person than i11:27
ogra_i just dont get along with it anymore after using the ubuntu phone for a while11:28
ogra_the UX feels so clunky11:28
ogra_and swiping from the right never does what i expect !11:28
Chipacayep11:29
sergiusensogra_: _111:29
sergiusens+1 I meant11:29
ogra_heh11:29
gatispI will have to buy Ubuntu phone, its about time to change my Nokia N9 :)11:30
mvo_sergiusens: I did some update to your noUpdateGrub branch, did you already push your new grub.cfg somewhere?11:42
mvo_sergiusens: I think thats the bit missing at this point :)11:43
ogra_hmm our owncloud installation tells me to upgrade it11:44
sergiusensmvo_: only thing missing?11:49
sergiusensmvo_: sorry haven't checked my email yet, was dealing with irc first :-)11:50
mvo_sergiusens: well, the transition too, but its looking promising11:56
mvo_sergiusens: no worries, its not urgent at all11:56
seb128sergiusens, hey11:56
sergiusensmvo_: looking now11:57
sergiusensseb128: hello11:57
sergiusensseb128: for s-i we should just get ubuntu-personal/rolling/edge in place, we are going to need it anyways11:57
seb128sergiusens, 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-next11:58
seb128sergiusens, well, wfm if you want, but being able to test locally would be convenient11:58
sergiusensseb128: you probably want cprov's branch11:59
seb128sergiusens, what branch is that and what does it do?11:59
sergiusensseb128: https://code.launchpad.net/~canonical-ci-engineering/goget-ubuntu-touch/local_image/+merge/26053111:59
seb128sergiusens, thanks12:00
sergiusensseb128: 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:00
seb128sergiusens, 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
seb128sergiusens, or where/to who can I request ubuntu-personal/rolling/edge to be configured12:02
cprovsergiusens: seb128: it seems to work fine (so far), we mangle the rootfs to install packages from -proposed and josepht can help you with further tweaks12:02
seb128cprov, thanks, see ^ for what I'm trying to do12:03
cprovseb128: yup, a 'personal' rootfs12:04
seb128cprov, right :-)12:05
rsalvetimorning12:05
seb128hey rsalveti12:06
rsalvetihm, goget-ubuntu-touch ftbfs for all archs12:07
rsalvetiseb128: hey!12:07
gatispAfter running bzr branch lp:snappy12:08
gatispgo get -d -v launchpad.net/snappy/...12:08
gatisp I still don't see /writable/cache/system12:08
sergiusensrsalveti: that's in the ppa; I'm disabling that building now that wily is working12:08
gatispsergiusens, ogra_ ^ am i missing some step?12:09
rsalvetisergiusens: ftbfs in the archive: https://launchpad.net/ubuntu/+source/goget-ubuntu-touch/0.22-0ubuntu312:13
rsalvetiafter mvo_ uploaded a new version12:14
sergiusensrsalveti: that's fine12:14
sergiusensrsalveti: this is why I wanted it updated in the archive, to play API change catchup ;)12:15
rsalvetisergiusens: how can a ftbfs be fine? :-)12:15
sergiusensrsalveti: I never asked you to rebuild u-d-f ;-)12:15
rsalvetihaha, guess that happened yesterday already once you uploaded a newer version12:15
sergiusensoh, mvo_ that u-d-f rebuild isnt' needed12:16
rsalvetisergiusens: is this because of go 1.4?12:16
sergiusensmvo_: snappy unpack needed fixing and getting a rebuild of ubuntu-snappy-cli is enough for that12:16
sergiusensrsalveti: no, because lp:snappy has changed a lot with all the refactor that's going on12:16
rsalvetiseb128: 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-f12:17
rsalvetidon't remember if we had an MR for it12:17
sergiusensrsalveti: already dealt with ;-)12:17
rsalvetiseb128: the system-image server was also modifying the image, but ogra pushed the changes into the initrd now12:17
rsalvetijust don't know if you're using the same initrd12:17
sergiusensrsalveti: but would be good for someone to setup ubuntu-personal/rolling/edge in any case12:17
ogra_rsalveti, there was nothing to push for core ... only touch12:18
rsalvetiogra_: link for mtab?12:18
ogra_that wasnt in the initrd :)12:18
rsalvetidon't remember where you landed that :-)12:19
ogra_livecd-rootfs12:19
rsalvetithen seb128 should already be using that, I'd imagine12:19
* ogra_ checks before talking nonsense12:19
ogra_yeah12:20
ogra_2.304 and 2.305 have the changes12:20
rsalveticool then12:20
ogra_mtab, /lib/modules, /lib/formware and /userdata|/writable (depending on the flavour)12:21
ogra_*firm12:21
rsalvetiseb128: and to auto import ubuntu-desktop-next in system-image I guess you'd need to ping slangasek12:22
ogra_or sil210012:22
seb128rsalveti, ok, thanks12:22
rsalvetimvo_: sergiusens: what is still missing to get https://bugs.launchpad.net/snappy/+bug/1462916 fixed for 15.04.1?12:24
ubottuUbuntu bug 1462916 in Snappy 15.04 "Simplify TMPDIR handling" [High,In progress]12:24
sergiusensrsalveti: I'll defer to Chipaca12:24
rsalvetiiirc this is the last standing bug we have12:25
Chipacamvo_: with lp:~mvo/ubuntu-core-launcher/tmpdir-simplify-lp1462916 merged and the associated u-c-security also in, tmpdir handling is done, right?12:27
Chipacarsalveti: (afaik it's done)12:28
Chipacawhere done means 'on trunk'12:28
rsalvetiChipaca: guess that everything is pushed to trunk, but nothing released yet12:28
Chipacanot 'on 15.04'12:28
rsalvetiright12:28
Chipacamvo_: just checking with mvo_ who was tracking the whole thing, whether there are further branches for trunk12:28
mvo_Chipaca: its done but not backported, let me do this now12:29
Chipacamvo_: ok12:29
Chipacamvo_: note i forked your branch and fixed it before merging12:29
Chipacaso you want to backport that :)12:29
mvo_Chipaca: I noticed, thanks a bunch!12:29
Chipacak12:29
rsalvetimvo_: it seems we need a release for both wily and 15.04.1 then, right?12:30
mvo_rsalveti: maybe :) why for wily? I'm not sure I follow12:31
mvo_rsalveti: or you mean the core-launcher upload? yes, indeed12:32
rsalvetimvo_: yeah12:32
Chipaca"release" and "wily" seem to be at ends12:32
kyrofasergiusens, 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
rsalvetipackage upload would probably be a better way to say what I wanted :-)12:33
mvo_rsalveti: :) sorry, I'm a bit slow today, I will do both wily and vivid uploads12:33
rsalvetimvo_: haha, thanks :-)12:34
rsalvetimvo_: then once both are in the ppa we can finally trigger another image for our final RC12:34
rsalvetiunless we find other issues12:34
Chipacakyrofa: how is it broken?12:34
rsalvetiand then ask utlemming to test it on the cloud side12:34
sergiusenskyrofa: hmm, it works fine here, I guess you hit one of the bugs that was fixed this week in snappy/ubuntu-core-launcher itself12:35
kyrofasergiusens, oh! Yeah, you mentioned that earlier. Do I need to explicitly update ubuntu-core-launcher, then?12:36
kyrofaChipaca, 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 112:36
Chipacakyrofa: rolling edge?12:37
kyrofaChipaca, yessir12:37
Chipacalooks like the snappy unpack with go 1.4 problem12:37
Chipacathat fix's landed, right?12:37
* Chipaca checks12:37
Chipacayep, landed in 48712:38
Chipacakyrofa: it might not be in an image yet12:38
Chipacakyrofa: mvo_ will address that in a moment12:38
kyrofaChipaca, ah, very good! Okay, I'll hang out12:39
Chipacakyrofa: meanwhile, you have the following workaround: go for a walkaround :-p12:39
rsalvetiogra_: wow, wonder why owcloud takes 10 minutes for the first start12:39
kyrofaChipaca, ha!12:39
rsalvetikyrofa: unless you really need rolling/edge, please use 15.04/edge instead12:40
Chipacakyrofa: or if you're in a hurry, you could build snappy from trunk and scp it in12:40
ogra_rsalveti, it downloads a ton of stuff on first boot12:40
ogra_s/boot/start/12:40
rsalvetirolling/edge should be renamed to rolling/probably_broken12:40
kyrofarsalveti, I don't actually. Back when I made it I needed rolling edge to get webdm. Is that no longer the case?12:40
Chipacaoh, wait12:40
* Chipaca checks what he's running12:41
rsalvetikyrofa: webdm is also available for 15.0412:41
Chipacasergiusens: you need to rebuild webdm for wily :-(12:41
ogra_rsalveti, the package is also outdated ... i get a "please update to the new version" popup all the time ...12:41
ogra_and the icon in webdm is broken12:41
rsalvetiogra_: oh, got it12:41
Chipacasergiusens: (which is weird; why is it built with 1.4?)12:41
rsalvetiwho owns it?12:41
ogra_kikinz i think12:42
kyrofarsalveti, good deal, I'll do that12:42
ogra_*kickinz12:42
ogra_(at least thats where it downloads all the files from according to syslog)12:42
rsalvetiogra_: but nice to see the new image around, waiting for my rpi2 to test12:42
rsalvetiright :-)12:42
ogra_would be nice if something like "snappy install owncloud" would actually automatically install docker12:43
ogra_instead of falling over with an error12:43
tedg+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
mvo_ogra_: hm, you shouldn't even see owncloud if you don't have docker already12:44
ogra_mvo_, i didnt run snappy list ... just executed "snappy install owncloud" after firts boot12:45
ogra_so i'm not sure if it was actually offered12:45
tedgI think everything should be based on app snaps, whether or not they need frameworks is just a technical detail.12:45
ogra_yeah12:45
mvo_ogra_: heh, thats funny12:45
mvo_ogra_: could you file a bug please?12:45
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
ogra_will do ... but let me verify it again12:46
gatispok, 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
sergiusensChipaca: what wrong with webdm being built with 1.4?12:57
kyrofarsalveti, 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 420012:57
Chipacasergiusens: nothing, because unpack is still done with snappy itself, right?12:57
sergiusensChipaca: exactly :-)12:58
* sergiusens has been trying to say that to many people since days now12:58
Chipacathen i don't understand why kyrofa's thing is failing12:58
sergiusenskyrofa: the image from the page has a webdm snap of type app, remove it and snappy install webdm again12:58
rsalvetikyrofa: hm, that's probably the old image12:58
kyrofasergiusens, ah ha12:59
rsalvetitry sudo ubuntu-device-flash core 15.04 --channel edge --enable-ssh --developer-mode --output x86.img12:59
rsalvetior similar12:59
sergiusenskyrofa: https://search.apps.ubuntu.com/api/v1/package/webdm (look at the release entry there)12:59
rsalvetikyrofa: the pre-built image is super old12:59
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
kyrofasergiusens, rsalveti ahh, now I'm up and running. Thanks guys :)13:02
rsalvetimvo_: should we also try fixing https://bugs.launchpad.net/snappy/+bug/1462954 ?13:15
ubottuUbuntu bug 1462954 in Snappy trunk " systemd-random-seed fails to start because /var/lib/systemd/random-seed is read only" [High,Triaged]13:15
rsalvetiit seems we're just missing a touch at the right file, so it can be bind-mounted13:15
longsleep+113:16
longsleepby the way, on bug #1462954 - the random-seed is not the only file which cannot be bind-mounted because it is missing13:19
nothalBug #1462954:  systemd-random-seed fails to start because /var/lib/systemd/random-seed is read only <Snappy:Triaged> <Snappy 15.04:Triaged> <Snappy trunk:Triaged> <http://launchpad.net/bugs/1462954>13:19
ubottubug 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/146295413:19
ogra_rsalveti, someone (pitti ?) said there would also be an ordering problem (the systemd unit starting before the mount)13:21
rsalvetiogra_: thought we'd be bind mounting at the initrd13:21
pittino, this was just a conjecture; the file is simply missing, so it can't be bind-mounted13:21
rsalvetiright13:22
pittirsalveti: we don't (I thought that too, would be much more robust)13:22
pittiso we need to pre-create it; longsleep and I followed up to the bug13:22
longsleepinitrd just writes to fstab as far as i understand it13:22
rsalvetiyeah, that should be an easy fix13:22
ogra_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
ogra_initrd should only mount the very basic bits to get readonly and rw spaces13:27
rsalvetiright13:28
ogra_so if the random seed unit runs before the fstab one we have an issue13:28
pittishouldn't though; that "runs too early" was a conjecture if those bind mounts were *not* in fstab13:29
rsalvetieasy to check13:29
ogra_(and i could imagine it does so you get proper encryption security for encrypted mounts)13:29
pittiif they are, the RequiresMountsFor= will take care of it13:29
ogra_ok13:29
ogra_i just think we culd have a catch22 here ... for encrypted mounts13:29
ogra_(not sure we ever plan to support that for the rootfs)13:30
rsalvetieventually, yeah13:30
pittiwhy would we ever encrypt the root fs?13:31
pittiit's a publically available image, not exactly a secret13:31
pittiwell, if we do, the initrd needs to unlock it, just like in a desktop install13:32
pittithat should be done by /usr/share/initramfs-tools/hooks/cryptroot as usual?13:32
ogra_well, but if we want the persisitent entryopy from the file at this point we would have to mount from initrd13:33
jdstrandmvo_: 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
ogra_s/mount/bind mount/13:33
mvo_jdstrand: yeah, I was about to ask if I should propose a branch for this :)13:33
ogra_pitti, people encrypt their swap partitions ... so why not the writable partition too :)13:33
pittiogra_: hm, why do you need the seed in the initramfs for unlocking an encrypted device?13:33
mvo_jdstrand: do you have a 15.04 branch or is there any other way that I can make your life easier?13:34
pittiogra_: oh yes, encrypting the writable partition makes sense; I thought you literally meant the root partition13:34
jdstrandmvo_: nah. I need to prepare a branch for 15.04 still. I'll do that then just pull it in13:34
ogra_pitti, dunno, for making use of it ?13:34
mvo_rsalveti: if its just a touch we should be good, I add the file to the u-core-config now13:34
jdstrandI mean to do it with ppa1, but didn't13:34
ogra_doesnt it help to have the entropy available =13:34
ogra_?13:34
mvo_jdstrand: ok :)13:34
pittiogra_: 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
ogra_ah, k13:35
pittiogra_: TBH I don't know whether luks uses random session keys13:35
pittifor sure you need proper randomness when creating a luks device13:35
pittiI thought at that ^ point you create "the" key, and then just encrypt it using the user password in one of the 8 luks key slots13:36
pittiit sounded quite deterministic to me13:36
elopiogood morning.13:42
elopiofgimenez: have you been able to build the webcam appliance into the image?13:42
elopioogra_: when I do snappy update on raspberry, it should fail right?13:48
ogra_elopio, it wont switch over to the new rootfs, it will update but will never boot into the new system13:48
sergiusenselopio: it doesn't today13:48
ogra_we need to handle that better13:49
ogra_(like blocking the update before it even downloads and tell the user about the unsupported status)13:49
elopio+1 to that. While full update is supported anyway.13:49
ogra_well, it isnt, thats the point13:50
elopiomvo_: should the webcam snap work on raspberry?13:51
sergiusensogra_: elopio we have some unlanded MPs for that13:51
ogra_sergiusens, that prevent the download ?13:51
elopiosergiusens: for updates in raspberry?13:51
ogra_elopio, for avoiding them :)13:51
mvo_elopio: I think so, is it not working? and if not, what error do you get?13:52
elopioheh :)13:52
sergiusensogra_: elopio basically if you build your image with --developer-mode13:52
sergiusens&& sideload the "device" tarball it should be blocked13:53
ogra_sergiusens, why does --developer-mode have any influence here13:53
elopiomvo_: http://paste.ubuntu.com/11672461/ I'll try again with ogra_'s latest image.13:53
ogra_i thought as soon as you use an external device tarball it should be blocked, no matter what kind of image you built13:53
sergiusensogra_: oh, I didn't write it, "I'm not sure --developer-mode is the right switch"13:54
sergiusensogra_: but there is also an &&13:54
ogra_well, that sounds inconsequent13:54
sergiusensogra_: you shouldn't be able to override these things without --developer-mode though13:54
ogra_either we block always if an external device tarball is used or we dont13:55
ogra_ah, i didnt know that13:55
ogra_i thought you could always roll images13:55
ogra_(i never tried without --developer-mode ... seems pointless unless you actually build an appliance)13:56
elopiosergiusens: can you give me a link to the branch, please? to add it to the testing report13:56
mvo_elopio: try "sudo systemctl status -l webcam-demo_webcam-demo_1.0.2.service"13:56
mvo_(notice the *2* in the name)13:56
mvo_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.113:56
elopiomvo_: hah, right.13:56
* elopio retries.13:57
jdstrandmvo_: fyi only: https://code.launchpad.net/~ubuntu-security/ubuntu-core-security/15.0413:57
mvo_ta13:57
mvo_rsalveti: just fyi, I triggered a new vivid build now that all packages are in the ppa13:59
sergiusenselopio: it's card on trello on todo; all there13:59
sergiusenselopio: in doing I mean13:59
elopiosergiusens: ack, thanks.13:59
rsalvetimvo_: awesome, thanks14:00
jdstrandtyhicks: fyi, not adding ping or a child profile to snappy default template-- it requires capset syscall14:38
sergiusensmvo_: help! I can't find a branch (the one that records a sidelod for the device)14:41
mvo_sergiusens: the one for u-d-f? or the one for snappy?14:41
sergiusensmvo_: oh, nvm I think I found it (I followed the link from u-d-f that pointed to the old one)14:42
mvo_cool14:43
ogra_sergiusens, should my autopilot hack be obsolete then ?14:43
ogra_or woould autopilot still remind aboout the update when i enable it again by default14:44
sergiusensogra_: yes14:44
ogra_yes ?14:44
elopiodamn, I burned my tty cable.14:44
* ogra_ should not ask "or" questions 14:44
elopioI did not use the red cable, *I swear*14:45
ogra_elopio, how is it broken ?14:47
ogra_you dont see ttyUSB0 created in dmesg when you plug it in ?14:48
ogra_(on your PC)14:48
elopioogra_: I didn't for a while, and my PC shut down, then it started smelling funny.14:51
elopioI gave it some space, now it works again :)14:51
ogra_heh14:52
ogra_self healing cable :)14:52
tyhicksjdstrand: so that increases the urgency to get the unprivileged ping patches uploaded in wily?14:57
seb128cprov, 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:05
mvo_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:06
ogra_mvo_, you should loop over 7etc7system-image/writable for that15:07
mvo_seb128: you could boot with -kernel -initramfs -append and point that to your local kernel15:07
ogra_bah15:07
mvo_ogra_: I'm confused?15:07
ogra_ /etc/system-image/writable15:07
mvo_ogra_: aha, yes15:07
ogra_mvo_, it has all the info what should be writable :)15:07
seb128mvo_, that sends me to initramfs with error like /etc/fstab no existing, I feel like the generated img is unvalid15:10
mvo_uh15:11
mvo_ok15:11
seb128no idea if the files from our image builder are even valid15:11
* seb128 is just poking around15:11
jdstrandtyhicks: for some value of 'urgency'15:22
jdstrandI don't think it is incredibly high personally, but someone might think it is15:23
tyhicksok15:23
jdstrandie, let' snot be distracted by it. just know there is no (safe) workaround policy at this time15:23
tyhicksjdstrand: I'm not sure if I ever mentioned it but upstream iputils merged the unprivileged ping socket patches for ping and ping615:24
jdstrandyou did. that's great :)15:24
tyhickscool15:24
seb128mvo_, are you going to do a livecd-rootfs upload today? or is it ok if I upload the change you commited earlier?15:29
elopiomvo_: first, I would like if you merged https://code.launchpad.net/~mvo/snappy/snappy-merge-integration-tests/+merge/25959215:33
mvo_seb128: yeah, just upload with my changes, thats fine15:34
elopiomvo_: the only blocker in there is that it tries to sign the packages15:34
seb128mvo_, thanks15:34
mvo_elopio: aha, ok15:34
elopiomvo_: 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:34
elopiofrom the discussion between fgimenez and pitti, I get that there are still some things to figure out.15:35
mvo_elopio: ok, thats fine, I can convert it to go later once that is settled15:35
mvo_elopio: let me fix the signing part now15:37
elopiomvo_: thanks.15:37
mvo_elopio: r468 should have that now15:41
elopiodholbach: davidcalle: are you guys going to take care of the developer docs?15:41
mvo_elopio: if that looks good, you can top-approve the MP and it will be auto-merged15:41
fgimenezelopio, mvo_ i hope to push something shortly with a simple implementation of pitti's suggestion of creating an image with the debs installed15:41
fgimenezelopio, mvo_ i'll ping you when it'll be ready15:41
elopiomvo_: I'll give it a new try.15:41
elopiofgimenez: thanks!15:41
mvo_thanks!15:41
dholbachelopio, in which sense?15:42
elopiodholbach: like, who should write about this? https://bugs.launchpad.net/developer-ubuntu-com/+bug/145793515:43
davidcalleelopio, please define take care, publish or write, if write, about what ? :)15:43
ubottuUbuntu bug 1457935 in Ubuntu Developer Portal "The snappy getting started guide doesn't mention the serial console" [Undecided,New]15:43
dholbachI don't know - maybe rsalveti can comment?15:43
dholbach^ elopio15:43
* davidcalle really needs a board15:44
elopiodavidcalle: like a trello board or like a beagle board? :)15:45
davidcalleelopio, beagle (nobody sane would "need" another trello board ;-) )15:46
elopiodavidcalle: they are giving away the raspberries with the orange case, you just have to reply to gustavo's email.15:48
davidcalleelopio, good point15:48
elopioor 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:48
elopiobut well, then we are back to the question: who writes the docs?15:49
davidcalleelopio, common effort, but I will very certainly write some more myself15:50
elopioI suppose, whoever knows about it. So I'll jfdi for the serial.15:50
dholbach<315:50
pittifgimenez, 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
elopiopitti: still a good step to get started, right?15:55
pittielopio: well, not "good"; it's an okay workaround for running a test locally15:56
elopiowe have a big list of things to fix on the tests, to make them closer to how a real system would work.15:56
pittimounting / r/w and installing debs is exactly how real systems don't work :)15:56
fgimenezpitti: yep, that's what i'll try, using --install option of u-d-f, sounds good?15:56
pittiand with the writable bind mounts you are going to have a hard time installing debs15:56
ogra_the --install option is for snaps15:57
pittifgimenez: I suppose that's going to do the same, though? i. e. mount r/w and install debs?15:57
pittiah15:57
ogra_(unless i'm totally wrong)15:57
ogra_i.e. --install webdm15:57
elopioI'm okay with an okay step to get started :)15:57
pittibut please don't ever put that into production15:57
elopiowhile fgimenez gets the correct thing working.15:57
fgimenezogra_: thx! i got confused with the "packages" part of the description15:59
ogra_np :)15:59
fgimenezthen, how can be built a custom image using local debs?16:00
pittihow do we build the official images?16:01
=== tvoss is now known as tvoss|dinner
ogra_pitti, livecd-rootfs/live-build16:01
ogra_on cdimage16:01
ogra_(or "via"16:02
ogra_)16:02
ogra_the rootfs then gets imported by system-image.u.c, diffed for the deltas and merged with the device bits16:02
* longsleep cheers at bug 1462954 fix commited16:04
ubottubug 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/146295416:04
ogra_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:07
elopiopitti: 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
elopioif we skip the building the deb part, it also serves to check the released images.16:08
=== fgimenez_ is now known as fgimenez
pittielopio: I mean relying on installing debs on snappy16:08
pittiit's going to fail for some packages, and it's the wrong approach16:09
longsleepFor some reason my FAT partition got borked again automatically .. (second time)16:10
elopiopitti: ok, totally agree to that.16:10
elopiolets figure out something better.16:10
ogra_longsleep, weird, we explicitly run an fsck on it from the initrd16:11
elopiois snappy always going to be a deb? or will it become a snap at some point?16:11
ogra_so even if you just pull the power plug it should recover fine16:11
pittielopio: 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
ogra_elopio, i doubt we will stop rolling images from debs16:11
pittii. e. ideally a live-build config16:12
pittisnappy being a snap sounds like a bootstrap issue16:12
pittiAFAIUI we'll build our system images from debs16:12
ogra_well, as lon as we build our rootfs from debs it should be a deb16:12
pitti*nod*16:12
ogra_and i dont see us stop doing that for the next few years16:13
ogra_since the old ubuntu wont go away16:13
elopionow about the selftests, instead of packaging them as debs, we can just package them as snaps.16:16
elopioin case it was not meta enough before :)16:16
pittielopio: why do you need to package them at all?16:18
longsleepogra_: it does not even come to boot, the boot.ini is invalid and thus the u-boot does refuse to boot it16:22
longsleepthe text files have some binary garbage in them (in all of them)16:22
longsleepit seems to happen after it automatically rebooted because of new rootfs16:23
longsleepok its not garbage16:24
longsleepit always added \x94 in regular order16:24
longsleeps/added/replaced/g16:24
longsleepand all the files in a and b are uppercased and using short name16:26
longsleepmaybe something wrote to parts of the fat partition upgrade16:26
elopiopitti: I'm copying the test binaries atm, so no *need* to package them.16:26
elopiobut it would be extra cool that if you want to verify that your board is correct beyond the checking if it boots, you could16:26
elopiosudo snappy install snappy-selftests && snappy-selftests16:26
longsleepit must have happend when snappy-system.txt was written16:27
pittielopio: oh, tests are now in go instead of a scripting language?16:27
elopiopitti: that's the experiment I'm trying to do.16:27
longsleepogra_: Fschk results manually run on that partition confirm that it is broken :/16:29
* longsleep has to leave for linux user group now 16:29
pittielopio: 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 privs16:33
pittielopio: in particular, not sure if a framework should be able to install snaps and such16:33
* pitti waves good night16:34
sergiusenselopio: 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:35
elopioso... 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:39
mterryIs it possible to flash the BBB over USB?  (I don't have an SD slot on my laptop)16:48
Chipacawooohoo! branches landing! woo.16:52
elopiomterry: 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+reader17:04
elopiomterry: https://lists.ubuntu.com/archives/snappy-devel/2015-June/000732.html17:05
sergiusenselopio: that's not related to sdcard requirements though17:06
sergiusenswhat mterry wants is network boot17:06
mterryelopio, interesting amazon link.  cheap enough17:07
elopiosergiusens: I was wondering if the memory could be flashed from usb, not from sd card as that script is doing.17:07
elopionetwork boot sounds cool too. I want that.17:08
mterryDo you folks also use some sort of casing for the BBB, or a mat or something?  It feels weird to have a bare circuit board17:08
* elopio puts it into ogra's TODO :)17:08
sergiusensmterry: you eventually get used to it ;-) but there are cases17:08
mterrysergiusens, I would also be happy with a USB flash, not necessarily network boot17:08
sergiusensmterry: there is no recovery mode in these devices though, so usb flash seems a tad complicated17:09
rsalvetielopio: so, ideally the way to change the image is basically as pitti said, which is creating another clean image with livecd-rootfs17:45
rsalvetielopio: the proposed-migration work that the ci team is doing basically that, but using launchpad to build the new image17:45
rsalvetiwe should just have a script or something that can easily do that locally (something like rootstock, ogra_ ^^)17:46
rsalvetielopio: 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 images17:46
rsalvetiabout the selftests, I wonder if we can install them by default, as long it's not big17:47
rsalvetithat would allow us to run the tests as part of the produced image17:47
rsalvetisergiusens: what do you think?17:47
rsalvetielopio: one curious thing, while go helps, why are we moving away from shell scripts?17:47
ogra_i can look into making rootstock work for core17:48
rsalvetiI know shell is not necessarily ideal, but it generally easier to script tests, right?17:48
sergiusensrsalveti: I think it's a bad idea17:48
sergiusensrsalveti: installing the selftests on production images17:48
rsalvetisergiusens: why?17:48
sergiusensrsalveti: because they can alter the system17:48
rsalvetiright17:49
sergiusensit's not idempotent to run the tests17:49
rsalvetithen how can we easily install/deploy the self tests that are compatible with a specific image?17:49
ogra_well, we could add a rule that test packages cant have maintainer scripts17:49
sergiusensrsalveti: a sideloaded snap is fine17:49
sergiusensrsalveti: but not on the store17:49
ogra_then they cant alter it17:49
rsalvetisergiusens: right, but then we'd need to find a way to store that and make that easily available17:49
sergiusensrsalveti: but17:49
rsalvetiand in a way that we can match the tests with the image17:50
sergiusensrsalveti: this is the reason I suggested to make it a go binary, so it can just be copied over and ran17:50
rsalvetishell script also allows that, right?17:50
sergiusensrsalveti: if it's a snappy package you can match releases at all17:50
rsalvetidon't think we're going to remove bash :-)17:50
sergiusensrsalveti: we are going to remove bash actually17:51
ogra_and even then you could ship your own and use "#"./sh"17:51
sergiusensyou can use dash17:51
rsalvetibash is fine17:51
rsalvetiyeah, sh and dash should still be around17:51
sergiusensrsalveti: it's going to be removed and provided by the comfy framework17:51
rsalvetisergiusens: what is the comfy framework?17:51
ogra_yeah, but you most likely also want to test without that installed17:51
rsalvetiguess lool was going to write something for it today17:51
sergiusensrsalveti: a set of tools to make the system easy to admin17:52
ogra_comfy has all the minimal convenience packages for admins17:52
rsalvetiright17:52
ogra_proper vim, htop etc etc17:52
rsalvetigot it17:52
rsalvetiwe still need to find a way to easily provide the selftests that match the image17:53
rsalvetionce we merge selftests in lp:snappy, we can at least match the versions in there17:54
ogra_yeah, then we should just branch into /home/ubuntu17:54
ogra_and run them from there17:54
sergiusensogra_: just like we did for click ;-)17:54
rsalvetiright, that might be easier indeed17:54
ogra_no packages or anything at all17:54
kyrofasergiusens, 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:54
sergiusenskyrofa: what do you mean not the case?17:55
rsalvetiI 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
ogra_yeah17:55
rsalvetisince having a go test that will be basically calling many other commands is like an overkill thing17:55
rsalvetishell is perfect for that17:55
sergiusenskyrofa: the diagram on the rest doc shows that afaik17:55
ogra_i dont think we should add additional compiling if not needed17:56
rsalvetiright17:56
kyrofasergiusens, 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
sergiusensrsalveti: ogra_ you can't bzr branch on the target so what's the problem?17:56
ogra_you can scp17:56
ogra_and branch on the host17:56
sergiusenskyrofa: showing a browseable view/interface17:56
sergiusensogra_: and compile17:57
rsalvetiyou can install comfy17:57
rsalvetiand then checkout17:57
rsalvetior just scp17:57
sergiusensrsalveti: comfy doesn't have bzr17:57
ogra_well, then you cant test without comfy :)17:57
sergiusensnor git17:57
kyrofasergiusens, okay so it just becomes the web interface. No API17:57
sergiusensand what ogra said17:57
rsalvetican't we add it? :-)17:57
ogra_sure17:57
rsalvetiat least git17:57
sergiusenskyrofa: well it will have an api that the browser would consume17:57
ogra_but still, you want to be able to thest the plain image too17:57
rsalvetisure17:58
rsalvetibut doing an scp in one script or one binary is the same thing17:58
sergiusenskyrofa: but ted said he wants store + local view consolidated into a single view provided by snappy17:58
sergiusensso things are in flux again17:58
rsalvetihow making it go will make it any easier?17:58
ogra_sergiusens, i would actually stuff binaries into the tree instead of compiling on the host17:58
ogra_*if* i need any binaries at all17:58
kyrofasergiusens, yeah flux here too17:58
sergiusensrsalveti: ogra_ anyways, the move to go was to get some test framework in place more than anything else17:59
rsalvetiright, that's is a good thing17:59
rsalvetiI just don't want us to simply rewrite everything just because of reasons17:59
ogra_+117:59
kyrofasergiusens, 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
rsalvetielopio: 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-backlog18:00
kyrofasergiusens, or was that only snappy itself that didn't need that stuff?18:01
rsalvetimvo_: we could use that and include a card for the systemd random-seed regression testing you wanted to add18:01
rsalvetielopio: 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 image18:02
rsalvetionce everything is merged18:03
rsalvetiso we know we're testing the same revision18:03
sergiusenskyrofa: webdm does need reviews, screenshots and ratings, where and how it gets them is in flux ;)18:05
kyrofasergiusens, 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:07
kyrofarsalveti, ^^18:12
rsalvetikyrofa: if a go lib maybe snappy can use that later18:14
rsalvetibut yeah, from what I understood from tedg he wants everything to go via snappy, using the rest api18:14
rsalvetiand then everything to consume from the rest api18:14
rsalvetitedg can explain better when he gets back online :-)18:14
kyrofarsalveti, same understanding here. Does that mean he also wants that extra data (screenshots etc.) coming from snappy?18:15
=== tvoss|dinner is now known as tvoss
rsalvetiI'd guess so, but not sure18:15
rsalvetilet's wait on tedg18:15
kyrofarsalveti, alright, good deal18:15
=== tvoss is now known as tvoss|dinner
sergiusenskyrofa: well not webdm but snappy18:45
sergiusenskyrofa: and yeah, even screenshots18:45
sergiusenskyrofa: I think we want to improve the API we have exposed on webdm today18:46
tedgrsalveti, kyrofa, I'd say the leaf data like screenshots isn't critical, but it would be better if it went through snappy.18:46
tedgBut it seems to me that once you have 90% of the data going through snappy, you should just do that too.18:46
tedgI 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:48
sergiusenstedg: there are a couple of cases where this needs decoupling though; remote devices (ala google play's webui)18:55
tedgsergiusens, Do you mean "install on my device" like via a website?18:56
sergiusenstedg: yes18:56
tedgsergiusens, Wouldn't in that case it be a push notification to the device?18:56
sergiusenstedg: ah, right18:57
tedgI think we need push messages for two things: new version available and install this app.18:59
ogra_install this app ??18:59
tedgogra_, 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:00
ogra_ah19:01
tedgI think we should definitely do at least one "are you sure?" check there :-)19:01
ogra_heh, yeah19:01
kyrofatedg, 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:06
tedg+119:07
tedgkyrofa, Or just patch snappy? Work things out in code review?19:07
sergiusenskyrofa: as tedg says, maybe create launchpad.net/snappy/store19:08
sergiusensor remote19:08
sergiusenswhatever you want to call it19:09
ogra_a fork !19:09
tedgOpen Source is about freedom19:09
kyrofasergiusens, would we need to make a new API call for that stuff? Or will it fit into something we already have?19:10
sergiusenskyrofa: our store api inside snappy is quite limited to cli needs19:11
sergiusenskyrofa: I'd rip it out and decouple and start using store.API19:11
kyrofasergiusens, ah, right-- you're still waiting for the new API to be approved, right?19:14
sergiusenskyrofa: oh yeah, new api, I wasn't following you; yes, that exposed api needs approval and apparently a retwist to bring back remotes19:15
sergiusenskyrofa: for sure doing PUT /v1/packages/[name] is wrong with this model19:15
kyrofasergiusens, 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 this19:19
alecukyrofa: sergiusens: hola!19:23
* alecu reads backlog19:23
beunojdstrand, review scripts updated to r47619:35
jdstrand\o/19:35
jdstrandthanks :)19:36
beunojdstrand, sorry it took so long, clouds, storms, etc19:36
jdstrandit's all good :)19:37
rsalvetisergiusens: for our tools we want to have everything available for trusty, utopic and vivid, right?19:54
rsalvetiand wily as well, but guess part of the archive19:55
sergiusensrsalveti: yeah, but wait19:55
sergiusensrsalveti: what version are you releasing?19:55
rsalvetisergiusens: not releasing anything yet, just checking our tools ppas19:55
rsalvetiwant to remove the need for the beta one, align the versions for the other ppas19:55
rsalvetiand adjust the build scripts19:56
sergiusensrsalveti: ok; what version is being aligned to?19:56
rsalvetichecking now, every ppa got a different version19:56
rsalvetisergiusens: is there anything you want to releasE?19:56
sergiusensrsalveti: maybe 0.2319:57
sergiusensrsalveti: of u-d-f19:57
sergiusensrsalveti: btw http://bazaar.launchpad.net/~snappy-dev/snappy/snappy-tools-update/view/head:/snappy-tools-update19:58
rsalvetioh, great19:59
rsalvetisergiusens: yeah, would be nice to release udf19:59
=== devil is now known as Guest99265
sergiusensChipaca: can you later take a look at my MPs, pretty small20:10
elopiocatching up with the backlog.20:19
elopiorsalveti: 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
elopioon 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:20
rsalvetielopio: right, that's fine, I just want to make sure we don't get into this mode of rewriting everything unless really needed20:21
elopiowhat 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
rsalvetior part of a further test development goal20:21
elopiorsalveti: we don't want to just rewrite the current tests. We want to make them self contained and independent.20:22
elopioas long as we finish testing we can finish the prototype.20:22
elopios/long/soon.20:23
rsalvetisure, that's fine20:23
sergiusensnice, the powerpc seems to not be broken anymore20:52
sergiusensrsalveti: 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 ppas20:53
sergiusensrsalveti: I would like to get the install.yaml in place, but that requires a bit more time20:53
rsalvetisergiusens: yeah, will propagate that21:05
=== Guest99265 is now known as devil_
rsalvetisergiusens: jdstrand: asac: do you guys know why we have the click-ubuntu-policy package?21:59
* rsalveti is doing the tools ppa cleanup21:59
rsalvetiwas created by asac a while ago22:00
rsalvetiand only published for trusty22:00
rsalvetiactually it's also in the archive, but same version22:00
rsalvetiso guess just let it there22:00
jdstrandrsalveti: all I can say is that it doesn't do what it sounds like it does22:04
rsalvetiyeah :-)22:04
jdstrandI'm not sure what it is or why it is there22:04
jdstrandah "initial version with the Ubuntu click store public key"22:05
rsalvetiyeah, just includes the public key22:05
rsalvetijdstrand: so besides our packages, there are 2 main packages that you are maintaining in there22:06
rsalveticlick-reviewers-tools and ubuntu-core-security22:07
rsalvetijdstrand: it seems both are maintained in bzr22:08
rsalvetiso was wondering if we could have a recipe to build trunk and automatically publish that into tools-proposed22:08
rsalvetithat then migrates to tools once a week22:09
rsalvetijdstrand: or if you would prefer to for us to only track the released versions22:09
rsalvetiwhich then means someone needs to manually track and upload the package to the ppa22:09
jdstrandrsalveti: 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:12
rsalvetisure, will ping you tomorrow then22:13
rsalvetibut guess it's fine to track releases as well22:13
rsalvetiusually we just want to update the tools ppa before every stable release, or when required22:13
rsalvetiwould be even better if we could do binary copies, but we can discuss tomorrow22:14
asacrsalveti: 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
asacit was while jdstrand was sleeping :P22:54
* asac off22:55
rsalvetiyeah, not doing it for this release :-)22:55
elopioutlemming: my vm is still provisioning in azure. Is it normal that it takes so much time?22:59

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