[00:13] I can't seem to set up a bridge for my snappy img running in qemu-kvm [00:14] any ideas? === wolfeidau_ is now known as wolfeidau === chihchun_afk is now known as chihchun [05:56] sergiusens: hmmmm, right, native is not ideal indeed, sorry for overlookng this [06:53] good morning [06:57] hey dholbach & snappy world [06:58] salut seb128 [06:58] how are things in snappy land [06:58] ? [06:58] good, still working on getting personal to work ;-) [06:59] yeah, I saw some uploads of yours - looks like it's a bit more work enabling everything [06:59] yeah, let's see how things look like today === vmayoral|pc is now known as vmayoral [07:05] good morning [07:25] morning! [07:49] mvo_, bah, you broke ubuntu-core/desktop-next builds :p [07:50] * seb128 fixes [07:51] or not [07:51] mvo_, let me know when you are around to discuss the issue :-) [07:51] seb128: whats the issue? clickpkg -> snappypkg ? [07:51] yes [07:51] https://launchpadlibrarian.net/210397648/buildlog_ubuntu_wily_i386_ubuntu-core-system-image_BUILDING.txt.gz [07:52] seb128: sure, let me look [07:52] seb128: sorry, but that the only way to know if it works, upload and hope for the best. no local testing :( [07:52] mvo_, btw you had your changes commited as if they were uploaded, but they were not [07:52] so I changed back to unreleased, batched some desktop-next tweaks and uploaded [07:52] hope that was ok ;-) [07:53] mvo_, you can do a local build, it just takes a while [07:53] seb128: sure, I though I did upload, I guess may I should go to bed [07:53] mvo_, https://lists.ubuntu.com/archives/ubuntu-devel/2011-June/033458.html has "howto build locally" [07:54] need to adapt the PROJECT/SUBPROJECT env variables [07:54] but that works (or at least enough to check the groups thingy) [07:54] seb128: I'm not sure that works in the age of LP builders [07:55] seb128: oh, you checked it works? nice [07:55] yeah, I did the user/group config for desktop-next using that [07:55] mvo_, [07:55] "Setting up ubuntu-snappy-cli (1.2-1+524~ubuntu15.10.1) ... [07:55] Warning: The home dir /nonexistent you specified can't be accessed: No such file or directory [07:55] Adding system user `clickpkg' (UID 109) ..." [07:55] seb128: the build failure is due to a out-of-sync issue of snappy and livefs rootfs [07:55] seems like ubuntu-snappy-cli creates this group [07:56] if Chipaca can review https://code.launchpad.net/~mvo/snappy/snappy-gettext-fix and https://code.launchpad.net/~mvo/snappy/snappy-gettext-fix2 we should have a working image again [07:56] seb128: yeah, it does create the snappypkg user in trunk but trunk failed to build for unreleated reasons so they got out of sync [07:57] seb128: but all my faul, once the fixes above land we should be good again [07:57] mvo_, any estimate of when you can land those fixes? [07:57] I'm sort of waiting on a new image build to continue my personal work [07:58] seb128: once someone reviews them, you can do that too if you want, should all be pretty small/obvious, I just need a ACK on the MP :) [07:58] * seb128 looks [07:59] * conyoo error parsing serv.dat [08:03] mvo_, those look good to me, I comment approved but can't approve the mp, not in the right team [08:04] seb128: sure, thats fine [08:04] seb128: thanks [08:04] yw! [08:07] seb128: great, I top-approved, once they are merged (every 10min) I will trigger a build and once that is available we can do new images [08:10] mvo_, do you plan to upload to wily as well? [08:11] seb128: oh, you don't use our ppa, sure, I will do a upload [08:12] mvo_, thanks [08:12] and no, we don't use the ppa [08:12] we are good citizens ;-) [08:13] mvo_, tarmac doesn't like my +1 [08:13] "Voting does not meet specified criteria. Required: Approve >= 1, Disapprove == 0. Got: 1 Pending." [08:14] seb128: silly thing, I approved now as well to make it happy. we can't block oyu [08:14] you [08:27] Good morning all; happy Mailman^WPostal Worker Day! 😃 === chihchun is now known as chihchun_afk [08:48] mvo_, thanks for the snappy upload ;-) [08:53] mvo_: aw, for a moment i thought you were fixing the apparmor thing for arm :) [08:53] mvo_: (ubuntu-core-launcher seems to need an additional .so on arm than on intel, at least last night) [09:03] seb128, mvo_, i dont think the fix that was uploaded will work [09:04] you only fixed the fallout ... the reason for the failure is the switch from clickpkg to snappypkg [09:04] ogra_, ? [09:05] ogra_, snappy changed its group from clickpkg to snappypkg [09:05] ogra_, mvo updated the groups in livecd-rootfs to reflect the change [09:05] but that was uploaded before ubuntu-snappy [09:06] with the new version there is no clickpkg user anymore [09:06] why would it fail? [09:06] because there is a snappypkg user now [09:06] or snappkg [09:06] (not sure how exactly it is called) [09:07] the user was just renamed ... but your livecd-rootfs change doesnt have that rename [09:07] ? [09:07] http://launchpadlibrarian.net/210413322/livecd-rootfs_2.320_2.322.diff.gz [09:07] ogra_, https://launchpadlibrarian.net/210356511/livecd-rootfs_2.319_2.320.diff.gz [09:07] oh, i missed that [09:08] ignore me then [09:08] ogra_, my upload from today was to fix the ":ubuntu" missing after I tweaked the groups yesterday [09:08] :-) [09:23] Chipaca: uh, arm failing? meh, no I did not look at this [09:23] mvo_: ok, i'm looking :) [09:25] ooh, maybe it's the 32bit-ness, not the arm-ness [09:25] * Chipaca tries with x86 [09:29] tyhicks: do you know of any reason we shouldn't include libgcc_s.so in the apparmor profile for ubuntu-core-launcher even on amd64 where it's not needed? it's needed on 32bit platforms and i'd rather not have a different profile for different bittiness [09:30] * Chipaca makes a branch prediction [09:30] lol [09:42] tyhicks: added you to https://code.launchpad.net/~chipaca/ubuntu-core-launcher/libgcc_s/+merge/263489 but probably should've added your team instead (which team should that be?) [09:43] sergiusens: elopio: fixes https://bugs.launchpad.net/snappy/+bug/1470210 for you [09:43] Ubuntu bug 1470210 in Snappy "integration tests fail with: error while loading shared libraries: libgcc_s.so.1" [Undecided,New] [09:43] i should move that to the launcher, shouldn't i [09:43] there === fgimenez_ is now known as fgimenez === chihchun_afk is now known as chihchun [10:42] mvo_, Chipaca hi, i'm getting this http://paste.ubuntu.com/11803910/ on bbb, is it a known bug? [10:42] the dates look weird [10:43] how can 87 be newer than 88 ? [10:43] haha, indeed [10:44] ogra_, yep :, i got [10:45] ogra_, the image with: [10:45] sudo ubuntu-device-flash --revision -2 --verbose core rolling --output bbb-edge-2.img --channel edge --developer-mode --oem beagleblack [10:47] hmm, so is that timestamp created by u-d-f ? [10:47] i thought it comes from the server [11:03] morning [11:04] Chipaca: I'll defer on that one [11:04] sergiusens: sure, wasn't asking you to review C code :) was just heads-up'ing you wrt it being fixed there [11:07] seems seb128 cant have his system-a/b partitions mounted by label on amd64 === chihchun is now known as chihchun_afk [11:07] dont we use labels on grub installs ? [11:07] Chipaca: it's a one liner :-P [11:08] sergiusens: cee coooode [11:08] sergiusens: scaaary [11:08] looks like neither root=/dev/disk/by-label/system-a nor root=LABEL=system-a works [11:08] sergiusens: * not even code, let alone C :) [11:08] ogra_: yes, we use labels [11:08] do we act special in any way on grub based installs ? [11:08] wird [11:08] *weird [11:09] ogra_: and that works as far as i've been able to test it [11:09] k [11:09] does it require some initramfs support we might be missing? [11:09] seb128: efi? [11:09] the partitions have label according to blkid [11:09] ooohhh [11:09] no, that's in virt-manager, I think standard grub [11:09] well, and udev should at least create the /dev/disk/by-label/ symlinks [11:09] ah, no, then it should work [11:09] but seems they are not there either [11:10] seb128: can you go to the grub console? [11:10] Chipaca, http://people.canonical.com/~seb128/shot0001.png [11:10] Chipaca, how would the grub console help ? [11:10] seb128: plz to grub console [11:10] Chipaca, I need to go for lunch, people are waiting, but I'm going to have a look to that once back [11:11] Chipaca, please give hints and I can read the backlog then ;-) [11:11] ogra_: i'll do a search from there [11:11] ogra_: as i know what i expect there === chihchun_afk is now known as chihchun [11:11] Chipaca, but the mounting happens from initrd, way later when the kernel took over already ... [11:11] * ogra_ <- confused [11:12] ogra_: but it's not finding root [11:12] ogra_: which is specified by grub [11:12] ogra_: so that's wrong, somehow [11:13] its not finding the labeled partition ... even with manually specifying root=/dev/disk/by-label/system-a or root=LABEL=system-a [11:18] Chipaca, echo $root gives hd0,gpt2 [11:18] Chipaca, unsure what info you want/need [11:18] shouldn't the LABEL thing be independant of that? it wouldn't boot at all if the boot was not correct [11:19] yes [11:19] thats what i mean [11:19] grub should only find the boot partition, load kernel and initrd and switch over [11:19] mounting happens from the initrd [11:19] seb128: search --no-floppy --label system-a [11:21] hd0,gpt3 [11:21] system-b on gpt4 [11:21] (which is the one I want/which has the /) [11:22] seb128: echo $snappy_ab [11:22] a [11:22] ok, so now [11:22] why is root gpt2? [11:23] no idea, it's the snappy personal image [11:24] Chipaca, the grub config is http://paste.ubuntu.com/11757708/ [11:24] ah, i don't know how that's partitioned [11:24] shouldnt differ from core [11:24] augh. when is the new grub.cfg going to land already :) [11:24] same as core [11:24] seb128: ok, so your root should be system-a or system-b, not some other partition [11:24] seb128: do this: [11:25] set label="system-$snappy_ab" [11:25] set cmdline="root=LABEL=$label ro init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1" [11:25] search --no-floppy --set --label "$label" [11:25] linux /vmlinuz $cmdline [11:25] initrd /initrd.img [11:25] boot [11:26] is that going to teach us anything? [11:26] (you probably dont want console=ttyS0 on a desktop system :) so you can see the messages on screen) [11:26] I can boot fine using root=/dev/vda4 [11:26] gpt2 is a "system-boot" vfat partition [11:26] seb128: vda4? [11:26] k, really need to go for lunch [11:26] what's vda4? [11:26] sda4 [11:26] in a virt-manager vm [11:26] seb128, do you get a busybox after the mount error ? [11:27] no, back to grub [11:27] bbiab [11:27] i dont see a prompt in your pic [11:27] ah [11:28] ogra_: console=tty1 console=ttyS0 puts it on both, afaik [11:28] no [11:28] the first one applies to kernel messages [11:28] the second one to userspace [11:29] so as soon as the kernel hands over to initrd the messages go to serial [11:29] oh, that's not what we want [11:29] if you only set console= once it will apply to both [11:30] so you just want to drop console=ttyS0 [11:31] You can specify multiple console= options on the kernel command line. [11:31] Output will appear on all of them. The last device will be used when [11:31] you open /dev/console. [11:31] right [11:31] the last sentence is key :) [11:32] (having /dev imples userspace ;) ) [11:32] Chipaca, in any case u-d-f makes a system-boot vfat partition on personal, unsure why the $root points to that [11:32] cyphermox or slangasek might know [11:33] well, the commandline is created durin livecd-rootfs if i'm not wrong [11:33] system-boot is where grub lives, system-a or system-b is where the kernels and initrds live [11:33] (in the current scheme, that is going to change rsn) [11:35] ah, no, livecd-rootfs doesnt set any root= arg ... it only sed's /etc/default/grub for systemd stuff etc [11:37] seb128: you asked me whether we'd learn anything from entering all the above; the answer is that we'd learn whether the future grub.cfg would be able to boot this, whatever it is :) [11:37] ogra_: so, console=ttyS0 console=tty1 is what we'd want, right? to have serial for kernel/early boot but everything else on tty1 as expected? [11:38] yeah, sounds right [11:38] i still dont get where grub is involved with the rootfs mounting (beyond handing the cmdline over to the kernel) [11:39] the actual work happens inside the initrd ... and the initrd doesnt seem to have any knowledge of the labels [11:41] ogra_: this might be the old grub config confusing me; reading the grub manual, there's nothing special about the root env var [11:41] ogra_: afaict, just setting “root=$root” in the linux commandline is what's expected [11:42] well, it works if seb128 sets root=/dev/vda1 [11:42] ogra_: the variable, or the commandline? [11:42] whatever is in /proc/cmdline [11:42] the initrd parses that [11:43] and then calls: [11:43] # convert UUID/LABEL to a device name [11:43] path=$(findfs "$root" 2>/dev/null || :) [11:43] so findfs doesnt return any usable thing [11:44] seb128: is this reproducible? how? === chihchun is now known as chihchun_afk [11:44] parsing the cmdline happens very early in /usr/share/initramfs-tools/init ... mounting in /usr/share/initramfs-tools/scripts/ubuntu-core-rootfs [11:51] * Chipaca -> grubby lunch [12:12] Chipaca: mvo_ https://code.launchpad.net/~sergiusens/snappy/returnErrIfErr/+merge/263510 [12:13] sergiusens: ETOOMUCHERR [12:13] Chipaca: we probably want to backport this one too [12:13] sergiusens: i've got a couple of changes to that grub.cfg, when you're looking at that again [12:14] sergiusens: can we have a test case? [12:15] because i thought i'd fixed this before now :) [12:15] Chipaca: sure [12:15] sergiusens: if you're in the middle of somehting [12:15] sergiusens: i can do the test case :) === alex-abreu is now known as alex-abreu|off [12:31] Chipaca: I am, but I can do it ;-) [12:33] how can I ignore certain files for snappy build [12:33] I don't want it to zip up verything in . [12:34] * ogra_ hasnt found a way beyond moving the files out of the way [12:35] sigh [12:35] is there a bug on this? [12:35] * zyga goes to file one [12:35] yeah [12:37] https://bugs.launchpad.net/snappy/+bug/1470491 [12:37] Ubuntu bug 1470491 in Snappy "snappy build should not zip everything in ., add an option to ignore certain paths" [Undecided,New] [12:37] ogra_: have you seen snappy-device-agents? [12:37] ogra_: https://code.launchpad.net/snappy-device-agents [12:38] do they wear black suits and sunglasses ? [12:38] * ogra_ thinks he saw one on the street [12:38] :P [12:39] (no, havent heard if it yet :) ) [12:39] ogra_: it's a set of tools for deploying snappy images to devices automatically for the CI stuff we're working on [12:39] ogra_: currently just BBB and _very_ hacky/underdocumented [12:39] ogra_: but it's something you may want to look at [12:39] ogra_: it's basically one day old now ;-) [12:40] ogra_: merge requests and bug are much welcome [12:40] https://code.launchpad.net/~zyga/snappy-device-agents/+git/snappy-device-agents/+ref/pex [12:40] this branch as a way to create a snap out of that [12:40] snappy deploying snappy [12:40] so thats the equivalent to phablet-tools ? [12:41] ogra_: apart from deployment it can run adt tests [12:41] ogra_: maybe, maybe not, it will be tailored to each device we have to support [12:41] ogra_: p-t is far more consistent because it can rely on adb [12:41] ogra_: here we may need magic voodoo :-( [12:41] ogra_: depending real devices [12:41] well, you can kind of rely on serial for arm boards [12:41] ogra_: we try to encourage the a/b/c method [12:42] ogra_: yes, I know, I'm trying to convince plars to use it :) [12:42] ogra_: we'll support many methods [12:42] ogra_: exposing one interface/api/tools [12:42] ogra_: depending on what kind of stuff you have you may pick [12:42] zyga: we don't zip everything, fwiw [12:42] * ogra_ isnt so thrilled by python though ... [12:42] ogra_: but in the end you can deploy any image to a bard [12:42] Chipaca: oh? so what does snappy build do, --help is not saying anything useful and there is no manual page [12:42] but thats just personal preference [12:43] ogra_: would you write this in go? [12:43] shell ;) [12:43] ogra_: oh, shell is terrible ;-) [12:43] ogra_: error handling [12:43] shell is lovely if done right ;) [12:43] ogra_: I love shell but... [12:43] ogra_: right, show me one script that handles errors and cleanup right [12:43] zyga: http://bazaar.launchpad.net/~snappy-dev/snappy/snappy/view/head:/snappy/build.go#L54 [12:43] zyga, you know about the trap function, right ? [12:44] Chipaca: wow CVS and darcs [12:44] ogra_: sure [12:44] ogra_: it's possible [12:44] ogra_: just _hard_ [12:44] nah [12:44] not hard :) [12:44] zyga: it's like a list of past mistakes [12:44] anyway, you picked py ... i'll get along [12:45] Chipaca: I think the bug stands, it's not possible to tweak this and the defaults are not optimal (or can be in general) [12:45] ogra_: we picked CLI for now, the implementation may be totally different for each tool [12:45] zyga: i wasn't disagreeing with the bug :) [12:45] Chipaca: ah, thanks, I misunderstood [12:45] ogra_: we just want to get started, deploy this and let it be used via the CI message queue [12:46] right [12:46] ogra_: we'll see what kind of API we can provide at this level [12:46] ogra_: but the external api for this will be the message queue [12:46] ogra_: later on I'll probably build something more like lava where you have a http API for sending test jobs [12:47] Chipaca: what is DEADJOE? [12:47] Chipaca: that list is pretty full of magic [12:47] lol [12:47] zyga: as the comment says, it's inherited from other places [12:47] or ,, [12:48] DEADJOE i believe is no longer used, but used to be joe's tmpfiles [12:48] anyone here using the joe editor ? [12:48] ogra_: ahh [12:48] * ogra_ thought that was dead since a decade or so :P [12:48] ogra_: it seems this list predates that :) [12:49] i wonder if people using joe for editing also use elm for mail :) [12:50] ogra_: yeah, both of them do ;-) [12:51] hah! it still creates 'em [12:53] and ,, is from baz, apparently [12:55] ah, i thought it was cunieform [12:55] wow [12:55] sine we seem to want backwards compatibility to the beginnings of mankind [12:55] but no tla support [12:56] I'm dissapointed ;-) [13:11] * ogra_ is off to the dentist === tbr_ is now known as tbr [13:14] ogra_: good luck :-) [13:32] fgimenez: you did not get a reply to your question about http://paste.ubuntu.com/11803910/, did you? if not, I look now [13:34] mvo_, ok thanks :) [13:34] seb128: is this failure something new? the boot issue? iirc you mentioned that it was working before(?) [13:37] seb128: i just built a personal image and it boots fine, so please fill us in on what you're doing :) [13:38] it doesn't do much *more* than booting, but that's probably not snappy :) [13:50] Chipaca, what grub entry do you boot? and on uefi? [13:50] mvo_, which issue? [13:50] seb128: you boot uefi using virt manager? [13:50] Chipaca, no, but maybe you use uefi and that works? ;-) [13:51] just checking [13:51] seb128: no, kvm, i don't touch grub and it just works [13:51] shrug [13:51] seb128: that it does not boot [13:51] how did you build the image? [13:51] Chipaca, "u-d-f personal rolling --channel edge --output img.img"? [13:52] mvo_, the cloud-init hang or the invalid grub config? [13:52] seb128: no --oem? i'll try without an oem and see [13:52] seb128: invalid grub config [13:52] Chipaca, no oem no [13:52] mvo_, since ever, but there is an "ubuntu" entry in the grub menu which does work [13:54] ok [13:55] ok, gotta fly, but will continue with this after [13:55] Chipaca, thanks, I'm going to try with a new image in a bit, but nothing changed this week so I doubt that got magically resolved [13:57] mvo_, you didn't do the seed update needed for the ubuntu-snappy migration? [13:57] seb128: I did, not uploaded yet though, sorry [13:57] seb128: I do that now [13:57] mvo_: on s-i updates I get system-image-cli: error: unrecognized arguments: --progress json [13:57] mvo_, thanks [13:57] mvo_: almost therewith update grub [13:59] sergiusens: hrm, is system-image-cli installed on the system? or is it still using system-image-snappy-cli ? [14:00] mvo_: in what image was it removed? [14:00] or swapped [14:01] sergiusens: in the same that switched to the new way of calling it - at least in theory [14:01] mvo_: which one is the new way? --machine-readable or --progress json ? [14:02] sergiusens: the new one is progress json [14:03] sergiusens: so if that arg is used the image should have s-i-cli instead of s-i-snappy-cli [14:03] mvo_: hard to tell with no dpkg info ;-) [14:04] sergiusens: :-D [14:05] fgimenez: thanks again for the crashreport, there will be a branch shortly [14:09] mvo_, np, thank you, elopio found it yesterday running the integration tests on the bbb (he is really brave :) [14:10] mvo_, at first we thought it may be related to the tests [14:21] Chipaca: ubuntu-security would be the team [14:25] tedg, hey, nitpick but can you look at https://bugs.launchpad.net/ubuntu/+source/url-dispatcher/+bug/1470531 ? [14:25] Ubuntu bug 1470531 in url-dispatcher (Ubuntu) "update-directory errors out on missing directory" [Undecided,New] [14:26] Chipaca: approved - thanks :) [14:28] mvo_: fgimenez oh, I fixed that bug in the update-grub work just now, was driving me nuts [14:28] seb128, Sure, do you have a session systemd running? [14:28] tedg, probably not since I don't have a session open [14:29] it's a boot to the greeter and a systemctl --failed on vt9 from systemd.debug-shell [14:29] seb128, ? Then how did that get run? It should be a session job. [14:29] mvo_: fwiw, it crashes for grub as well ;-) [14:29] tedg, hum, let me check, I might have logged into a vt on that boot [14:29] mvo_: I think my fix is a lot simpler even if a bit more hacky [14:30] tedg, but no desktop session for sure, just vt login [14:30] seb128, To be clear, I think it can still be fixed, more curious. === kickinz1 is now known as kickinz1|afk [14:35] sergiusens: :) I tried to make it less ugly but I don't mind as long as we fix it soon [14:37] mvo_: I don't want to delay update-grub work more though [14:37] hello. [14:37] fgimenez: I followed your advice and moved the meeting 30 minutes. [14:38] starting from tomorrow :) [14:38] seb128, Looking through the code it seems that it should handle that case. Do you have a log file? [14:39] elopio, ok :) i'm already there [14:40] elopio, i've pushed the fixes you suggested to the build-test branch [14:40] mvo_: so, latest image still has machine readable and latest snappy has --format json ... [14:41] tedg, http://paste.ubuntu.com/11804973/ [14:42] mvo_: and client.ini looks really weird now [14:43] sergiusens: it does? [14:43] mvo_: there's a client.inie now as well [14:43] sergiusens: *ick* [14:43] sergiusens: let me try to find out why we got the old one === stgraber_ is now known as stgraber [14:46] hmpf [14:46] seb128, can you boot with break=premount (and also make sure to have no serial console on the cmdline) ? [14:46] so we can take a look why findfs doesnt find a label or why udev doesnt set the links [14:46] the break= should give a you shell in the initrd ... (if we didnt hack that out for snappy) === ogra_` is now known as ogra_ [14:47] ogra_`, let me try [14:47] ogra_, "no serial console on the cmdline"? [14:48] yeah ... no "console=ttyS0" === andyrock_ is now known as andyrock [14:48] why not? (just curious) [14:48] because that would spawn the shell on serial [14:48] (and also print all output there) === alecu_ is now known as alecu [14:49] at least in the constellation Chipaca showed before [14:49] mvo_: http://bazaar.launchpad.net/~sergiusens/snappy/noUpdateGrub/revision/492 === Ursinha_ is now known as Ursinha [14:49] mvo_: just missing some tests if the approach is good [14:50] mvo_: so far the files get sync'ed, but I'm stuck on other broken things (and the fact about bootlader dir being nil took away most of my morning) [14:50] ogra_, that reboots back to grub ... [14:50] mvo_: lesson learned should be to panic instead of returning nil if you are going to panic anyways ;-) [14:50] damn === psftw_ is now known as psftw [14:51] mvo_, sergiusens, is there a way to switch off the auto-reboot ? === Abhishek__ is now known as Abhishek_ [14:51] in grub based systems [14:51] ogra_: yeah, snappy config ubuntu-core [14:51] autopilot: off [14:51] sergiusens, well, from outside the image [14:51] we need to debug the initrd [14:52] ogra_: yes, create an oem package with autopilot off in the config [14:52] oh man [14:52] we need a cmdline option for such stuff :) [14:52] ogra_: but the reboot on panic, you need to edit manually yourself [14:52] ogra_: like, mount .img/system-boot, edit grub.cfg, boot [14:52] ah, itrs in the grub.cfg ... [14:53] seb128, can you turn it off there ? [14:53] sergiusens, does that generally prevent the shell (does it replace the std. panic() finction of initramfs ? ) [14:53] *function [14:54] seb128, I'm not sure what to do with that error, we're making directories and opening the database all before it happens. Normally I'd say we can access it, but it would seem that we already did. [14:54] ogra_: we don't do any customization wrt panic [14:54] ok [14:54] seb128, Here's the function, perhaps a second set of eyes will see something: http://bazaar.launchpad.net/~indicator-applet-developers/url-dispatcher/trunk.15.10/view/head:/service/url-db.c#L26 [14:54] ogra_: it's just a cmdline -> panic=-1 [14:54] right [14:55] seb128, drop that too, i think that disables the shell (so even if it wouldnt reboot it wouldnt spawn a shell with that option set) [14:55] ogra_, "that"? [14:55] panic=-1 [14:55] from the kernel cmdline [14:56] fgimenez, elopio: sorry for the mail spam - balloons and I just ended up in another meeting tomorrow, so we thought we'd shrink our open house meeting to just 30 mins - I think that should be fine [14:56] ogra_, without that it boots to a kernel error [14:56] what does the error say ? [14:56] let me try again in a vb [14:56] bit [14:56] I booted the vm to change the grub config [14:57] og, you do all that in a vm ? [14:57] then i could do it myself i suppose [14:57] dholbach: sounds good. [14:57] thanks a bunch! [14:57] dholbach, ok np for me [14:57] <3 [14:59] tedg, it's snappy and /root is ro it seems [14:59] tedg, you don't handle mkdir failing [15:00] seb128, ? I think we do: http://bazaar.launchpad.net/~indicator-applet-developers/url-dispatcher/trunk.15.10/view/head:/service/url-db.c#L39 [15:01] Though it probably doesn't make sense to run the click hooks for root [15:01] ups, rather the sqlite3_open() [15:01] tedg, I think ^ fails [15:01] right [15:01] I was going to say [15:03] tedg, I think the "Unable to create tables" is from sqlite3_open(), that function creates the filename if it doesn't exists [15:04] also I'm unsure why is /root should be ro of it that's another snappy issue to be resolved [15:04] seb128, I guess what is confusing is that mkdir() in theory isn't failing, but making the file is? === Eliz_ is now known as Eliz [15:05] tedg, it's possible that the directory got created when I had a rw mount I guess [15:06] so maybe local issue... [15:06] or it's part of the image for some reason [15:06] need to check [15:06] Well, we'd still return an error if we couldn't make the directory. [15:06] :-) It would just be an error that made more sense. [15:09] right [15:10] ogra_, unsure how to edit grub.cfg ... wouldn't it be easier if you/whoever wants to debug build a personal issue and kvm boot it? ;-) [15:11] yeah, got it here [15:11] Chipaca, you did? what did you change? [15:11] sudo ubuntu-device-flash --revision=-1 personal rolling --channel edge -o personal_x86.img --developer-mode [15:12] compared to what? [15:12] e.g what option did you use that gave a working grub earlier? [15:12] it was the oem one? [15:23] seb128, yeah, is that possible with the std u-d-f yet ? [15:23] ogra_, yes, using the wily version [15:23] ok [15:23] ogra_, see the command Chipaca just gave [15:23] ogra_, hey, mzanetti mentioned there's a problem with the Pi GPIO on snappy, anywhere I can read more on that? [15:23] yep [15:23] seb128: previously i'd used --oem generic-i386 [15:24] seb128: and that works [15:24] Saviq, no, the issue is with using custom or overlay dtbs to actually enable GPIO on the Pi [15:24] seb128: at least as much as the ubuntu grub entry works without it [15:24] Chipaca, hum, k [15:24] unsure what's the difference [15:24] Saviq, we simply dont have proper support for that yet ... and specifically for the Pi it is tricky since the binary blob owns the actual dtb === damjan_ is now known as damjan [15:25] * Saviq looks suspicious at the choice of the Pi for the Matchbox then... [15:25] well, thats one of the reasons the Pi isnt officially supported [15:26] ogra_, one issue I have with an add-on 433MHz transceiver board from openenergymonitor is that the bootloader goes apeshit when it's connected, might that be related? [15:26] yes [15:26] you likely need the right dtb overlay to enable it [15:27] ogra_, so I'd need a custom device tarball? [15:27] == a custom image [15:27] you need a custom oem snap ... [15:27] right [15:28] but even then, no guarantees that the kernel works with that dtb [15:28] (i.e your dtb might define the right device but the module/driver might be missing) [15:28] and in that case I'd need to build a custom kernel [15:29] yes [15:29] ohkay, /me has his work cut out for him (/hethinks) [15:30] now who can tell me how to fix security_yaml_click_ security_yaml_ errors :/ [15:31] Saviq, i'm working with ppisati to get that to work, it just isnt there yet [15:31] ogra_, maybe I can help? [15:31] * Saviq hopes he could, instead of !helping [15:32] Saviq, sure, if i got something to try i'll let you know [15:32] thanks [15:34] seb128, Chipaca, found the issue i think ... /dev/vd* devices are indeed handled specially in the shipped udev rule in the initrd [15:34] KERNEL=="vd*[!0-9]", ATTRS{serial}=="?*", ENV{ID_SERIAL}="$attr{serial}", SYMLINK+="disk/by-id/virtio-$env{ID_SERIAL}" [15:34] KERNEL=="vd*[0-9]", ATTRS{serial}=="?*", ENV{ID_SERIAL}="$attr{serial}", SYMLINK+="disk/by-id/virtio-$env{ID_SERIAL}-part%n" [15:35] ogra_, oh, nice, where did he say that? [15:35] seb128, i pulled the device tarball and unpacked the initrd [15:35] lib/udev/rules.d/60-persistent-storage.rules in there [15:36] k [15:36] but that's only adding symlinks [15:36] is that supposed to create issues? [15:36] no, but i think it makes it skip creating the by-label symlinks [15:36] or is that taking over the normal by-label [15:36] k [15:37] not 100% sure yet ... i'll have to dig a bit [15:37] thanks for investigating this one [15:37] the set of rules we ship by default is definitely limeted though [15:37] but make sure to not dup work with Chipaca there [15:37] might be a fallout from -touch [15:37] waaait [15:37] there is no initrd line [15:37] he is looking at the grub side of things :) [15:37] in grub [15:37] oh ! [15:38] that might explain things [15:38] well, not why it boots with UUID ... [15:38] the UUID entry does specify initrd [15:38] or with root=/dev/vda3 [15:38] at least then there wouldnt be a readonly and writable mount etc [15:39] it would boot rw directly into the root without initrd [15:39] Chipaca, no, take the system-a entry, do "e", change the LABEL=... by /dev/vda3 and ctrl-X [15:39] that boots without issue [15:39] seb128: can you confirm there isn't an initrd entry in that entry? [15:40] Chipaca, yes, I can [15:40] seb128: pleasae do :) [15:40] I just did [15:41] you can probably on your image as well [15:41] no? [15:41] seb128: i saw it on mine, wanted you to confirm whether it was the same over there [15:41] and yes, specifying root=/dev/sda3 for me makes it boot too [15:41] my system-a boot option has no initrd [15:41] but i'm assumign this just sidesteps the initrd entirely [15:42] and changing the LABEL to a /dev makes it boot [15:42] seb128: can you also check whether the system-a entry asks for a efi kernel and the otehr one doesn't? [15:42] yes, I noticed that some days ago as well [15:42] ok [15:43] i'm now out of my depth wrt where the grub.cfg is coming form, but i'm going to blame sergiusens because he'll be able to blame the right person [15:43] likely cyphermox / slangasek [15:43] seb, if you specified an initrd it'd probably work [15:43] cyphermox was looking at some of the grub issues [15:43] k [15:43] well unsure why we have those different entries [15:44] and why the system-a/b ones don't have a initrd [15:44] let's see in any of the grub knowing people can help though ;-) [15:45] seb128: Chipaca maybe something is missing from our "overlay" [15:45] seb128: the whole thing is changing for the better anyway :) [15:45] by throwing away 80% of it :=) [15:45] YEAH! [15:46] * Chipaca wipes the spittle off his screen [15:54] sergiusens: I just remember -it seems like go-flags makes description translations impossible, because its in the ` ` style struct options. maybe we need something else :/ [15:55] mvo_: oh fancy that [15:56] mvo_: we will need a struct based thing then type Opt struct { Name, longDescription, shortDescription string, target [type] } [15:59] mvo_: is that another bullet in go-flags' utility? [15:59] feels like we're fighting it more than it's helping us [15:59] Chipaca: we will drop it [16:00] Chipaca: yeah, I have the same feeling right now [16:01] seb128, Chipaca: the grub.cfg system-a/b entries come from a snappy-specific grub config file; I don't remember offhand which package it's from or the name of it, but it's in /etc/grub.d and should be obvious [16:02] slangasek: ubuntu-core-config [16:02] right, that thing :) [16:04] slangasek: i'm still blaming sergiusens for it [16:04] ok ;) [16:06] Chipaca: did you look at the branch I gave you already? [16:06] its 09_snappy from ubuntu-snappy in grub.d [16:06] oh, yeah, that too [16:06] * sergiusens points out that he hasn't been breaking the image these past days ;-) [16:07] just because nobody filed bugs et doesnt mean it isnt broken [16:07] *yet [16:07] :P [16:07] ogra_: oh, we know it's broken ;-) [16:07] sergiusens: noUpdateGrub? [16:07] Chipaca: yes [16:07] sergiusens: yes [16:07] Chipaca: need to get n ack on the approach to get tests for that approach [16:08] ogra_: btw, why is livecd-rootfs arch any? [16:09] sergiusens, is it ? [16:09] * ogra_ never noticed [16:10] ogra_: yeah, I noticed as I'm waiting on an arm64 builder :P [16:10] ogra_: but it doesn't make sense, does it? [16:11] * sergiusens wonders if slangasek has the answer [16:11] I don't know; it may be legacy === dpm is now known as dpm-afk [16:12] there used to not be a live-build, only livecd-rootfs - at that point a lot more of the logic was in the livecd-rootfs package [16:12] slangasek: any idea how to make this go faster https://launchpad.net/~snappy-dev/+archive/ubuntu/image/+build/7596423 ? [16:13] sergiusens: well apparently I have access to bump build scores, which is interesting [16:14] for images ? [16:14] for packages [16:14] thats likely controlled via ubuntu-cdimage membership [16:14] ah [16:14] sergiusens: I don't know what the arm64 builders are doing right now, but every time I bump the build score the time goes up :P [16:15] lol@slangasek [16:15] and I'm not going to bump it higher than -security, because it's not higher than -security ;) [16:17] slangasek: wow, it was 5 first, then 25 and now 1hour :-/ [16:17] yep! [16:17] you're welcome [16:17] ogra_: I'm in ubuntu-cdimage and I don't see that... [16:17] sergiusens, yeah, me neither [16:18] was just wishful thinking :) [16:18] I don't like that there's no queueing system based on payloads either [16:18] (it woudl make a lot of sense for cdimage members to be able to bump image build scores for sure) [16:18] mvo_, shrug, that ubuntu-snappy grub config generator is 440 lines of code! [16:18] tiny [16:19] seb128: we got rid of that though ;-) [16:19] sergiusens, where? I'm looking at today's wily update [16:19] seb128: but the image needs sorting for e2e testing [16:19] the kernel has 20mio lines ... whats 440 in that light :P [16:19] seb128: http://bazaar.launchpad.net/~snappy-dev/snappy-hub/snappy-systems/view/head:/generic-amd64/grub.cfg https://code.launchpad.net/~sergiusens/snappy/noUpdateGrub/+merge/261381 [16:20] seb128: those two [16:21] sergiusens, ah, s/got ride/are getting ride ;-) [16:21] rid [16:21] seb128: it's all relative to where :P [16:21] sergiusens, k, I guess we should better wait for that work to land to look at/debug grub config issues... [16:21] Chipaca, ogra_, slangasek, mvo_, ^ [16:22] seb128, yeah [16:22] sergiusens, but you really want to drop that serial console for personal ... is there a way we can make it conditional ? [16:22] ogra_: we want to switch the order for non-personal too, no? [16:22] for intel at least [16:23] ogra_: just propose a branch for it [16:23] well, not sure ... will you always have an actual tty on intel ? [16:23] ogra_: hurry before it moves to git [16:23] :-P [16:23] yeah [16:23] ogra_, is that creating issues? the image boots fine on an usb stick or in a vm with that config [16:24] seb128, it will be an issue for plymouth and if you acxtually want to see userspace boot messages on screen [16:24] (not sure we'll go on using plymouth on snappy or with Mir though) [16:24] * Chipaca 'll propose a branch with these changes [16:25] well, do we have a way to conditionally decide what to put there ? [16:25] (do we know if it will be a vm vs real HW image) [16:25] Chipaca: ogra_ the console stuff can go into a separate oem package too and personal can default to it [16:25] i think serial console is actualy only interesting for VM images [16:26] and perhaps for some exotic HW [16:26] but yeah, oem makes sense [16:28] ogra_: sergiusens: https://code.launchpad.net/~chipaca/snappy-hub/grub-tweaks/+merge/263544 [16:28] Chipaca, but then all kernel messages will go to serial (black screen on PC til the initrd kicks in) is that what we want ? [16:29] ( i definitely agree it is better than the former though :) ) [16:30] i think we should resort to one console= entry to not hop around ... but that would need to be conditional based on the image type (in a VM you might want a getty on ttyS0 and all ... while on PC you wont) === yofel_ is now known as yofel === dpm-afk is now known as dpm === sarnold_ is now known as sarnold [18:10] sergiusens: we can enable now launchpad translations, right? [18:13] elopio: I think so [18:58] mvo_: any update on system-image-cli? [18:59] Chipaca: agreed ping about https://code.launchpad.net/~sergiusens/snappy/noUpdateGrub/+merge/261381 [19:00] sergiusens: https://launchpad.net/ubuntu/+source/ubuntu-core-config/0.6.25 [19:01] meh, arm64 blocks image builds too... [19:08] ogra_, ah, it looks like it's the serial port (ttyAMA0) that's the culprit in my case, is the console enabled on it on purpose? [19:09] or could it be dropped from the rpi snap? [20:24] Chipaca: CopyFile doesn't overwrite though [20:25] Chipaca: and I thought of it too, just forgot, now I see it failing :-P [20:25] sergiusens: sigh [20:25] sergiusens: if you can hold off half an hour, i'll ad a copyflag :) [20:26] Chipaca: I can os.Remove or Rename, or what you say :-) [20:26] Chipaca: I'll wait [20:26] well, I'll walk the dogs and it would be 30' or so ;-) [20:26] sergiusens: sounds fair to me :) [20:36] sergiusens: https://code.launchpad.net/~chipaca/snappy/overwrite/+merge/263584 [20:37] darn, 10 minutes instead of 30 [20:37] now i need to go have a beer or something to spend the excess [20:37] life is pain [20:50] Chipaca: how about a test where it fails the copy if the flag is not set? [20:50] sergiusens: sounds fair to me [20:52] sergiusens: pushed === utlemming_away is now known as utlemming [21:10] Chipaca: branch updated [21:11] Chipaca: no we need the correct system-image-cli [21:22] Why does "sudo aa-clickhook -f" have to be run on a core update sometimes? [21:32] Nissyen: wha? [21:32] Nissyen: manually, you mean? === utlemming is now known as utlemming_away [21:34] yeah. [21:34] I had to run it to fix permissions on an update from 15.04/stable core-2 to core-3 update. [21:35] Nissyen: shouldn't happen; it's a bug [21:35] Nissyen: sorry :( [21:35] OK, I filed a bug report on it: bug #1466682 . [21:35] Bug #1466682: Docker unix socket permission issue on ubuntu-core update [21:35] bug 1466682 in docker (Ubuntu) "Docker unix socket permission issue on ubuntu-core update" [Undecided,New] https://launchpad.net/bugs/1466682 [21:36] Nissyen: thanks [21:38] Nissyen: i removed docker and apparmor because this one is all ours :-/ [21:38] Nissyen: i'll take a poke at it in the morning [21:40] Thank you very much. I have been experimenting with running containers on AWS and provisioning machines using cloudformation and the stable snappy AMI. [21:41] Although I have used ubuntu for some time, snappy is a different learning curve, and I am not always familiar with what is going on. [21:51] Nissyen: good on you for figuring out aa-clickhook fixed it, then :) [21:57] jdstrand, hey, can you see why http://pastebin.ubuntu.com/11807012/ would cause review errors for security_yaml_click_emonhub and security_yaml_services? [21:59] do I need to write the .snappy-systemd file myself? [22:01] oh... or do I not have the snappy-dev ppa enabled... [22:02] hmm I do :| === utlemming_away is now known as utlemming [22:34] Saviq: jdstrand is on vacation [22:34] *gasp* slacker [22:35] inorite [22:35] Saviq: what are the errors? [22:36] Chipaca, originally "ERROR: Could not find 'emonhub.snappy-systemd'" [22:37] Saviq: where? [22:37] i mean, doing what? [22:37] Chipaca, in the store auto-review (or using click-review locally) [22:37] Saviq: which ppa do you have? [22:38] ppa:snappy-dev/tools [22:38] correct [22:38] ubuntu-snappy-cli 1.1.1-0ubuntu1 [22:38] not sure why it even mentions click... it's a snap [22:40] grr ^W [22:40] heh [22:41] Saviq: i don't know this part as much as i'd need to help you easily, but i fyou could share the whole snap i could take a poke at it [22:43] Chipaca, sure, https://owncloud.sawicz.net/index.php/s/0afe9e8a599ef8fef2f2a105e9db357d/download?path=%2F&files=emonhub-pi_1.0-2_multi.snap [22:43] * Saviq wonders where to file a bug about ~ being allowed in version numbers but then breaking the systemd unit [22:44] i.e. systemd hates ~ [22:46] sergiusens: you around? [22:46] * Saviq files in snappy [22:46] Saviq: in snappy [22:47] bug #1470661 [22:47] Bug #1470661: Tilde allowed in version but systemd hates it [22:47] bug 1470661 in Snappy "Tilde allowed in version but systemd hates it" [Undecided,New] https://launchpad.net/bugs/1470661 [22:48] oh yay, two bots :) === utlemming_away is now known as utlemming