[00:08] um, scratch that. [00:08] downloaded again and now it works. [00:08] unping. [01:04] jdstrand, when you have a sec, I had to upload a new version of emonhub-pi, the review tools did not get an update yet [02:34] Saviq: accepted === chihchun_afk is now known as chihchun === wolfeidau_ is now known as wolfeidau [06:44] good morning [07:01] good morning [07:12] Saviq, heh, yeah, thats a fake key (--developer-mode needs it) ... next image i'll edit my name out :) [07:22] Saviq, for installing packages ubuntu-device-flash has the --install option ;) [07:23] (that's how webdm gets into my image) [07:51] ogra_, yup, learned that, too, but oem/software works after all [07:52] is there (will there be) a way to hw-assign from an OEM snap? or a gadget snap? [07:54] heh and why does unity-settings-daemon die when building an image :D [07:54] you mean to ship a config with an app snap that enables certain hw access by default ? [07:54] ogra_, not sure if an app snap, but maybe an oem/gadget snap? [07:55] ogra_, but well, sure, app would work, too [07:55] i think you wont be able to upload that to the store, but for sideloading there should be an ability [07:55] an oem or gadget snap has full HW access [07:55] and access to hwe from a framework or app snap needs to be defined for that snap [07:56] *hw [07:58] ogra_, didn't find anything re: hw-assign in https://developer.ubuntu.com/en/snappy/guides/oem/ - that's where I'd expect to put it? under /oem/hardware [07:59] what exactly would you do with it ? [07:59] ogra_, I want for an app to have access to /dev/ttyAMA0 straight after flashing [08:00] right, so that app snap needs to define it, not the oem snap [08:00] but it won't be accepted to the store? [08:00] it wouldnt be accepted with a default that silently enables access to the device [08:01] the requirement is that the admin runs the hw-assign command for the snap to switch on the access [08:01] after installing it [08:01] hmm so how do we plan to support these kind of usecases, say, a managed switch app [08:01] if you want to sell a managed switch, you can't leave the hw-assign to the end user [08:02] well, for you as developer there will be a way to sideload [08:02] sure, I'm thinking end-user [08:02] [...] or expect for the factory line to boot and run hw-assign on every unit? [08:02] if you sell a managed switch with a branded and preinstalled image you will likely also have your own store namespace [08:02] in which you will be able to put such a snap [08:03] hmm [08:03] (for details better ask the store people :) ) [08:49] ppisati, hi, do you know of a way to disable serial in u-boot for the raspi2? I tried changing std{in,out,err}, but that didn't help, only thing that worked was to set bootdelay to 0 so that it ignores any input (I've an expansion board that talks on ttyAMA0 and interrupts the boot process) [08:51] I thought changing std... should work, but u-boot still reads from the serial port and interrupts auto-boot because the board sends stuff through [08:51] Saviq: disabling uboot from reading the serial... [08:52] Saviq: no idea [08:52] Saviq: you probably need to build your own uboot [08:54] well, on the Rpi a lot of the initialization is done via the binary blob ... [08:54] so even building your own uboot might not help [08:56] right, i forgot about thir binary blob [08:57] ogra_: deos it emit anything on the console? i don't remember... [08:57] uhm [08:57] i dont think it does [08:57] but i think it initializes it [08:58] there might be a way to manage that via config.txt [08:59] well, bootdelay=0 it is :P [08:59] it's not like the usb keyboard works anyway ;P [08:59] bootdelay=0 in config.txt ? [09:00] as a uboot param it only disables the ability to stop the autoboot [09:00] wouldnt change anything in console usage [09:24] ogra_, no, setenv [09:25] ogra_, and my problem is exactly that - autoboot is stopped because serial is talking [09:27] but udev always talks to serial ... it just doesnt wait for input when autoboot is off [09:27] err [09:27] "autoboot interception" [09:31] Saviq: i don't see any option to disable the serial output [09:31] Saviq: you can try to change the baud/serial clock [09:31] Saviq: and hope that it doesn't interfer [09:31] albeit it's a crappy solution. i know :) [09:33] * ogra_ just notes what he wrote above :P [09:33] s/udev/uboot/ [09:50] ogra_, sure, and that's exactly it - I just need it to boot, and it doesn't if I leave it - because the board I have is talking on serial on boot, so interrupts u-boot [09:51] ppisati, it's not about output, input rather [09:51] Saviq: same logic applies [09:51] Saviq, well, thats a matter of luck then [09:51] Saviq: since you don't have any option to not init the serial, wreak it [09:51] Saviq: or better [09:51] Saviq: write an email to the raspy2/broadcom people [09:52] Saviq: and ask for that feature [09:52] Saviq: btw, how did you make it work with the original broadcom img? [09:52] ogra_, sure, I'm not saying bootdelay is the right solution [09:52] ppisati, it Just Works with https://wiki.ubuntu.com/ARM/RaspberryPi and Raspbian [09:52] ppisati, afaict the bootloader there (not u-boot) isn't talking on serial by default? [09:53] Saviq: then patch our uboot [09:53] Saviq: and rip out the serial input part [09:54] ppisati, yeah, need to dig into u-boot for that, there's no obvious configs for that, the only relevant thing I found was SILENT... but that won't help with input I don't think [09:55] I was really expecting setenv stdin "usbkbd" to work [09:55] because it was serial,usbkbd by default [09:55] but that didn't change anything [09:56] so yeah, still looking for the right solution, am ok with the interim one though [10:18] Hi all [10:18] Is there any GUI for snappy? [10:19] Rlyeh, https://developer.ubuntu.com/en/snappy/guides/webdm/? [10:19] only web currently [10:19] I'm using it now [10:19] Thank you [10:36] bah, I don't understand [10:37] upgrading that snappy install, mounting /boot/efi fails [10:37] "FAT-fs (vda2): IO charset iso8859-1 not found" [10:37] but the same partition mounts fine booting the old / on system-b === greyback__ is now known as greyback [10:40] shouldnt it be mounted all the time ? [10:43] ogra_, I don't think so, it's in fstab [10:43] the mount target fails and sends systemd in debug mode [10:48] sounds like a module mistmatch or so [10:48] can you check lsmod between the two boots ? [10:55] ogra_, yeah, on the failed boot lsmod lists only psmouse and pata_acpi [10:56] do you see modules in /lib/modules/* ? [10:56] hum [10:57] only a /lib/modiles/4.0.0-4-generic [10:57] and nothin underneat ? [10:57] but the kernel in use is 3.19.0-22 [10:57] ah [10:57] yes, they are there [10:57] but modproble looks for a 3.19 [10:57] right [10:57] wth [10:58] /boot has 4.0 [10:58] sounds like an issue with the grub stuff again ? [10:58] where is the booted 3.19 kernel coming from? [10:58] I guess [10:58] Chipaca, ^^^ ? [10:58] mvo_, sergiusens, Chipaca, ^ [10:59] i wonder if we hardcode 3.* soemwhere for the version :P [10:59] could be... [11:01] whasup? [11:01] seb128: is this on personal? [11:02] yes [11:03] Chipaca, I installed personal 28 yesterday [11:03] and upgraded to 30 with "snappy update" [11:03] the new version fails to boot, it load a kernel 3.19 but the /boot version is 4.0 [11:03] which makes it fail to load modules [11:06] seb128: what gadget snap does personal use? [11:06] no idea, how do I tell? [11:06] amd64_generic iirc [11:06] if that's one [11:10] seb128: rolling , yes? [11:10] yes [11:10] Chipaca, http://system-image.ubuntu.com/ubuntu-personal/rolling/edge/generic_amd64/ [11:11] Chipaca, looks like $prefix/a and /b both have the 3.19 kernel [11:11] where today's image /boot has 4.0 [11:11] why does /boot have a kernel, and why are you booting that instead if $prefix/a or /b? [11:12] so unsure what is supposed to update the boot kernels but that went wrong [11:12] Chipaca, well, it's booting $prefix/a /b [11:12] which is what creates the issue [11:12] sounds to me like personal is broken [11:12] the system-b partition has /lib/modules/4.0 [11:12] which is the current wily kernel [11:13] $prefix/b should have a 4.0 kernel [11:13] that matches the installed os [11:13] Chipaca, could be, but the issue is that the $prefix/b kernel is the old one and not matching the current image kernel [11:13] new image work fine [11:14] it's just a snappy updated one that has that issue [11:14] seb128: the kernel should not be on /boot [11:14] it should be on /boot/a/etc [11:14] right [11:14] boot/grub/a/ or whatever it is [11:14] it loads (gd0,gp2)/EFI/ubuntu/grub/a [11:14] that is 3.19 [11:14] but then it tries to boot [11:14] which is why i say it sounds like personal is broken [11:15] and disk has /lib/modules/4 [11:15] no 3.19 [11:15] so it fails to load modules [11:15] sorry if what I wrote is confusing [11:15] it does boot the a/b vmlinuz versions [11:16] the issue is that personal 30, which is today image has /lib/modules/4 [11:16] new kernel major [11:16] and for some reason the b partition from the upgrade has an old kernel [11:16] so boot fails because it doesn't find modules matching the kernel [11:16] yes, yes, i understand [11:16] it was not confusing [11:16] Chipaca, how would personal be able to break an underlying mechanism ? [11:16] i mean, your description wasn't [11:17] k [11:17] snappy should work distinct from that [11:17] but it's not personal which includes the boot/grub/b [11:17] that was generated/build at the upgrade time [11:17] new image don't have that issue [11:19] Chipaca, the b partition kernel is somehow copied when updating the image I guess? do you know what code does that? [11:20] seb128: snappy copies it [11:20] from where? [11:21] seb128: the new version might not include a kernel, in which case it gets copied [11:22] is that coming from the device tarball? [11:23] well the "new version" has a kernel, if you meant the image [11:23] i don't know where and if the device tarball comes into it :) [11:23] since a fresh image builds fine [11:23] boots fine [11:23] i expect sergiusens will take one look at the symptoms and know what's going on [11:23] k [11:24] so better wait for him than waste time guessing now [11:24] let's wait for him then [11:24] thanks [11:24] if he comes in and doesn't, then let's sleuth around [11:25] seb128: Chipaca ogra_ the livecdrootfs "kernel" and "initrd" entries are all that matter now [11:26] sergiusens, and seb128 got that one installed ... but the old one was completelly removed (so no modules) [11:26] sergiusens: mo'in :) [11:26] so /boot/grub/[a|b]/vmlinuz [11:26] ogra_: oh nice, how did that happen? [11:26] sergiusens, hey [11:27] sergiusens, install snappy personal 28 from yesterday [11:27] snappy update [11:27] reboot [11:27] get a system-b boot [11:27] kernel loaded is 3.19 [11:27] disk / files are 4.0 [11:27] boots fail to load any module [11:27] sergiusens, that's the summary [11:27] seb128: lib/modules/ only for 4 as well? [11:27] yes [11:27] which is basically what fails the boot [11:28] strange [11:28] do you have another kernel in /boot directly or some such ? [11:28] modprobe something gives a "fails to load /lib/modules/3.19..." [11:28] no [11:28] ogra_: there is, I didn't clean those up either in the 500-.*kernel.* task [11:28] sergiusens, perhaps grub falls back to that ... lbut if seb128 says there isnt one ... [11:28] there should be in /boot (system-[ab]) [11:29] ogra_: our grub.cfg doesn't look for one there [11:30] sergiusens, ogra_, http://picpaste.com/grub-9EyGcmUy.png [11:30] if that helps [11:30] http://picpaste.com/pics/grub-9EyGcmUy.1436355024.png [11:31] the vmlinuz size on those matches the 3.19 from hd0,4 [11:32] seb128: right, that /boot is system-a/boot/ [11:33] sergiusens, well, in any case $prefix/a|b shouldn't be identical [11:33] seb128: what's in (hd0,2)/[a|b] ? [11:33] oh, sorry it's above [11:34] right [11:34] neither matches the system kernel [11:34] they both match the old image 3.19 one [11:37] seb128: I need to see the system-image delta because this would make them look the same: http://bazaar.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk/view/head:/live-build/ubuntu-desktop-next/hooks/500-move-kernel-to-device-tar.binary [11:37] sergiusens, where is the delta? [11:38] seb128: /pool/device-c06d05a678026547b8d48d99556b24281164724e7bffd61c95c261c6e9e3ab70.delta-device-4c246a16efc5ecf0c5f861394250cd68147710376c24d533939365c748939449.tar.xz [11:39] sergiusens, do you need that from my system or...? [11:40] seb128: oh no, I'm downloading for s-i, you don't have it in it's original form anymore ;-) [11:40] k [11:40] let me know if you need more info from me [11:40] but you can probably reproduce by installed personal 29 [11:40] then doing a snappy update [11:41] installing* [11:41] seb128: I bet core has the same problem [11:41] fgimenez: ^ [11:41] yeah, I'm doing an install now to see [11:41] but I would bet the same [11:48] * ogra_ thinks seb128 should just have used the stable personal image ... there also lightdm and the session would work :P [11:48] :-) [11:49] sergiusens, rsalveti: I am happy to report that with 118, we have a working 15.04 edge for Azure. [11:49] utlemming: \o/ [11:50] elopio: fgimenez: I published another image yesterday with a minor fix for azure, and hopefully that should be the last known bug we have [11:50] utlemming, yay [11:52] rsalveti, ok thx 118 then right? [11:52] utlemming: \o/ [11:52] fgimenez: yeah, and 119 for armhf [11:52] they are out of sync [11:52] rsalveti, ok [11:53] sergiusens, sorry wasn't connected :) which problem on core? [11:53] sergiusens, rsalveti: thank you guys for the help in getting this cleared. You guys were great :) [11:54] np [11:59] seb128: ogra_ mvo_ Chipaca these are the system image delivered files in the delta: http://paste.ubuntu.com/11841020/ [11:59] seb128: ogra_ mvo_ Chipaca assets/vmlinuz and system/boot/vmlinuz-4... [12:00] this is a livecd-rootfs/s-i problem and not a snappy update one I think [12:00] and 'removed' basically removes 3.19 [12:05] sergiusens, eparse ? (for your last line) [12:05] sergiusens: hm, it should be possible to reproduce this on core too - let me try that [12:07] ogra_: the s-i 'removed' file has 3.19 listed as a remove target [12:07] mvo_: yeah, that is the suspicion [12:08] ah [12:08] mvo_: I'm not sure how to make livecd-rootfs and/or s-i do what we want though [12:09] hmm [12:09] how often do we actually copy the azure tarball around ? [12:09] there seems to be a cp in live-build/auto/build and there is a hook as well where the same cp gets called [12:10] ogra_: for rolling we shouldn't be needing it soon-ish [12:11] well, and even then i guess once would be enough :) [12:12] i dont see where livecd-rootfs could be wrong here [12:13] the code seems all fine [12:15] ogra_: yeah, I don't either [12:16] ogra_: but how would a different kernel than the one copied end up there? [12:16] bug in s-i ? [12:17] ogra_: hmmm, maybe .signed is != than the unsigned one [12:17] yeah [12:17] well, we dont ship .signed [12:17] we copy/move it to be plain vmlinuz, no ? [12:18] ogra_: yes we do, vmlinuz-4.0.0-4-generic.efi.signed [12:18] ogra_: yeah, there's an if in the 500 task that prefers the .signed one [12:18] ogra_: mvo_ that's it [12:19] but we should have the signed 4.0 one there at that point [12:19] ogra_: mvo_ I mean, that is the reason for the different sig http://paste.ubuntu.com/11841115/ [12:19] why would we end up with a 3.x signed one during build [12:19] ah [12:20] seb128: can you md5sum the kernels? [12:22] ogra_: they are all 4.0 delivered in the delta [12:22] mvo_: this makes me thing the SyncBootAssets stuff runs after the upgrader logic and it is overwritting [12:22] think* [12:27] sergiusens, what kernels? the a/b vmlinuz? [12:28] seb128: yeah [12:28] that's going to match the 3.19 kernel I guess [12:28] since they are byte identical in size [12:28] Saviq: ogra_: you'll be able to assign hardware to snaps at the gadget snap later on, the spec for that is still in progress [12:29] from the ls earlier [12:29] rsalveti, that still wont enable it in your app snap [12:29] rsalveti, ah, /me just wrote a nice post to the snappy-devel ML ;) [12:29] seb128: right, then no worries [12:29] rsalveti, for that you still need to either call hw-assign or have a sideloaded snap that has it enabled [12:30] hmm? [12:32] Saviq: rsalveti dev nodes are assignable through the oem snap today [12:32] d'oh [12:32] if just hw-assign yeah, you can do that [12:32] but for the gadget snap there is also the idea of abstracting hardware and assigning a special piece of hardware to an app or framework [12:33] Saviq: https://developer.ubuntu.com/en/snappy/guides/appliance-builder-guide-webcam/ [12:33] ogra_, ppisati, btw, I just grokked what you guys were talking about "the raspi blob and config.txt", I don't think that's a problem as when not using U-Boot (and IIUC booting straight into the kernel) there's no such problems [12:33] sergiusens, right, I was sure I read about that somewhere, but it's not there in the oem guide, or in the packaging reference [12:34] Saviq: no it's not :-/ [12:34] * sergiusens blames mvo ;-) [12:34] guess we can make an mr for that doc :-) [12:34] Saviq, RPi can not boot without the binary blob ... [12:34] sergiusens: hm? === mvo_ is now known as mvo [12:35] Saviq, it is: blob -> u-boot -> kernel [12:35] ogra_, yes [12:35] mvo: not documenting the oem hw-assign work :-) [12:35] *cough* [12:35] lalalala [12:35] ogra_, others go blob -> kernel directly [12:35] yes [12:35] and dont use an initrd [12:35] ogra_, so disabling console=ttyAMA0 there is enough [12:35] in the config.txt you mean ? [12:35] ogra_, yes [12:36] ogra_, but when u-boot comes into play, u-boot itself talks serial, too, so changing uEnv.txt is not enough [12:36] ogra_, so all in all I still just need to disable serial in u-boot, and bootdelay 0 gets it done, while obviously not a good solution [12:37] well, i fear there is no good solution :) [12:37] as long as there is that binary blob ... [12:37] that's why I thought dropping "serial" from u-boot's env std{in,out,err} would work, but it didn't (sounds like a bug) [12:38] well, sounds like an upstream bug then [12:38] ogra_, well, it's u-boot that's problematic in my case, blob isn't great for sure, but isn't a problem atm [12:39] ogra_, totally, will go to them to find out === erkules_ is now known as erkules [13:00] sergiusens, mvo, do you want a bug report/more info from me on that upgrade/kernel issue? [13:01] seb128: I think that would be good, with the exact image versions [13:05] beuno, hey, sorry to bug you, could I ask you to remove emonhub-pi.saviq from the store? I had to rename it (if you could ack emonhub.saviq please - it passes click-review with tools-proposed PPA) and it ended up under phone for some reason, as well as snappy [13:06] Saviq, isnt there an option in the store UI for you to do it yourself ? [13:06] ogra_, can't see it, it's there for drafts, otherwise I can only unpublish [13:07] yeah, unpublish was what i meant [13:07] unpublish and publish again [13:07] ogra_, don't think I can rename this way, can I? and I don't want it under Phone, either, not sure how it ended up there [13:08] you can not rename [13:08] seb128, so I created an Ubuntu Personal image with u-d-f and got it in KVM, but I only get the unity8 greeter with the QXL video model, and then my mouse pointer is strangely offset from my actual mouse so I can't possibly get through the edge demo, haha [13:08] you need a new submission and delete the old one from the store [13:08] ogra_, yeah, which is what I asked for, I can't delete myself it seems [13:08] kyrofa, wow, thats more than i get ! [13:08] kyrofa, use virt-manager rather than kvm maybe? [13:08] Saviq, you can unpublish [13:08] kyrofa, I don't get those issues with it [13:08] ogra_, that I did [13:08] that should delete everything [13:09] ogra_, well, it's still there, just not published ;) [13:09] and then create a new app in the store under the new name [13:09] you can not use the old bits anyway [13:09] seb128, I used virt-manager... thought that was still kvm? [13:09] ogra_, that still leaves me with the original in the list, my OCD can't deal with that ;) [13:09] heh [13:10] ogra_, what's happening for you? [13:10] kyrofa, lightdm with guest account ... if i hit enter it logs into a black screen [13:10] seb128, initially I tried it with regular-old kvm, but them I get the lightdm [13:10] ogra_, try QXL video model [13:11] * ogra_ will ty that later after we released 15.04 :) [13:11] ogra_, that's exactly what I get if I DON'T use QXL [13:11] kyrofa, k, unsure about the mouse ofset, you should be able to focus the password entry by clicking around no? [13:11] (currently my bandwith is used for other images) [13:11] seb128, that's correct, but the edge demo is hopeless haha [13:11] ogra_, when did you try that? those issues are resolved since friday [13:11] kyrofa, oh :-/ [13:11] seb128, and I don't get a mouse offset with a regular ubuntu image [13:11] it's just one dnd from the left [13:12] seb128, thursday ;) [13:12] ogra_, k, try again then! [13:12] yeah [13:12] takes a century to download that image :P [13:12] you carry so much bloat [13:12] lol [13:13] * Chipaca ~> late lunch [13:13] yeah, what's up with those people installing softwares so you can actually do something with your system [13:13] rather than watching a blinking cursor [13:13] my phone doesnt need all that ! [13:13] :P [13:13] no unity8 on your phone, right ;-) [13:14] seb128, talking to kgunn it sounded like when he was testing it earlier lightdm was on vt7 and unity8 was on vt8. I couldn't verify that-- is that still how it's supposed to be working? [13:14] kyrofa, we activated autologin now so no [13:14] what kgunn described was when you were getting the greeter at boot [13:14] seb128, when you run the image, do you see a unity8 login or lightdm? [13:14] seb128, ah, okay [13:14] unity8 [13:15] seb128, but you didn't have to mess with the video model settings at all? [13:15] you have to use qlx/spice [13:15] otherwise unity8 doesn't work [13:15] and you get a session which fails to start and send you back to the lightdm greete [13:15] greeter [13:15] seb128, ah, okay so that makes sense. Definitely what ogra_ is running into then [13:15] unless you install VMM [13:16] then it's magic [13:16] right [13:16] kgunn, haha man, you guys must have a cooler VMM than I do [13:17] kgunn, although I'm running mine on trusty. Too old? [13:17] oh may be [13:17] hopefully not [13:17] kyrofa: curious, what's your desktop gpu [13:17] if it is it should be updated via an SRU [13:18] kgunn, I have one of those wonky dual-GPU things. Right now I'm running on intel, but I also have an nvidia auadro K1100M [13:18] kgunn, s/auadro/quadro/ [13:20] mmm [13:20] kgunn, yeah, if I fire up an VM using the personal.img I made without modifying the config at all, I get lightdm [13:20] oh ok [13:21] kyrofa: but from scrollback, you're seeing mouse offset being an issue as well ? [13:21] kgunn, if I fire it up and modify the explicitly use QXL, I get unity8 but my mouse is offset enough I can't make it through the demo [13:21] kgunn, yeah [13:21] yeah, edge demo was really tricky for me, but got thru [13:22] still not tried yet on wily, am going to as soon as i get off this hangout i'm on :) [13:22] HO + vmm at once is bad :) [13:22] kgunn, haha [13:29] seb128: mvo I'm going through the code now, but I have a feeling [13:35] seb128, I switched from VPN to spice in VMM and now I can't seem to click on anything at all [13:35] seb128, ugh... VNC. Been dealing with the VPN lately [13:36] I wonder if bregma has played with this at all yet. Get it running on any hardware? [13:39] sergiusens: the s-i code? or snappy? sorry, was in a meeting [13:40] seb128, ah, I got it working! [13:41] mvo: I think SyncBootloader files is being done after applying the updates [13:42] sergiusens: ohhh [13:42] seb128, this is cool man, awesome job! [13:42] sergiusens: that rings a bell, it might be me who broke that :( [13:42] mvo: essentially stepping over [13:44] ogra_, kgunn I had to explicitly set QXL and spice in VMM, and make sure there were no tablet devices in the hardware list (I added one messing around with trying to get VNC to work). VNC worked, but gave me a mouse offset. Spice seems to work great [13:47] sergiusens: I think you are spot on [13:48] mvo: I wish I were; but it seems it is not the case [13:49] seb128, other than that trouble (which was really my own fault), the only thing I ran into was SSH. There's an SSH server, but it has no host keys. Is that a feature? [13:49] sergiusens: meh, ok [13:49] mvo: systemimage.go:180 shows me a sync first and then an applying updates from the server [13:54] seb128: in your grub you had a hardware.yaml inside a/b, right? [14:00] sergiusens, what conclusions can I make if `snappy search webdm` gives me nothing? [14:01] kyrofa: that's it's not available for the released image you are using [14:01] sergiusens, ah, so when it was uploaded to the store it was specifically targeting ubuntu-core? [14:01] kyrofa: maybe [14:02] sergiusens, any chance we could get it targeting ubuntu-personal as well? [14:02] kyrofa: and this says yes http://search.apps.ubuntu.com/api/v1/package/webdm [14:02] kyrofa: sure, if in a hurry just download from the anondownload link there [14:03] sergiusens, ah, good idea. No rush then :) . The snappy scope just needs it until the snappy service has the API. Then webdm can stop targeting ubuntu-personal [14:19] sergiusens, yaml, yes [14:21] seb128: mvo I found the issue; "HandleAssets" is ignored because it can't find the hardware.yaml in writable/cache/system during the upgrade [14:23] good morning. [14:24] schnaaapiee [14:28] http://paste.ubuntu.com/11839856/ [14:28] can somebody give me a hand here? This happens on beagle the second time we fake an update ^ [14:28] any idea what could cause it? Works alright on kvm. [14:30] mvo: and I know why the hardware.yaml is not coming through in the update... it doesn't change [14:47] mvo: ogra_ https://code.launchpad.net/~sergiusens/livecd-rootfs/snappyDevicePart/+merge/264158 if that works, we should get it in for seb128's personal [14:48] * ogra_ goes to check his wine cave to see what kind of bribes tro accept [14:48] lol [14:49] rsalveti: elopio mvo fgimenez Chipaca btw ^ should be affecting 15.04 and bbb; luckily we now have the same codepath in rolling so it's faster to detect [14:49] I'll explain during standup [14:49] * rsalveti looks [14:54] sergiusens, changes in livecd-rootfs impact the image build, do they also impact the upgrades? [14:54] cool, will wait you to explain the issue during the standup [14:54] sergiusens, because a fresh image boots fine [14:56] seb128: yeah, hmm [14:56] * sergiusens notices he'll have to explain twice [14:57] sergiusens, don't bother explaining it to me if I just don't get how the snappy details [14:57] as long as you are sure it's going to do the trick ;-) [14:57] seb128: what happens is snappy ignores the new kernel and initrd if there is no hardware.yaml, the s-i doesn't not provide the hw.yaml because it is always the same, so it is essentially ignored and you do't get the new kernel [14:58] seb128: adding versioned kernel's and initrd's to the hardware.yaml effectively changes the file and triggers s-i to provide it [14:58] I see [14:58] that's it in a nutshell [14:58] sergiusens, thanks for the explanation [14:58] oh, and the important part is that it is ogra_'s fault! [14:58] :-D [14:59] yeah, sorry [14:59] :P [15:00] he better makes up for it by reviewing the fix then! :-) [15:00] you just want to keep your wine ! [15:00] the fix looks fine :) === chihchun is now known as chihchun_afk [15:24] ppisati, http://paste.ubuntu.com/11839856/ any idea what that means ? [15:25] seems elopio gets that on upgrades [15:26] ogra_, ppisati: more precisely, on the second fake update. We change the channel cfg to have version -1 to test snappy update on the latest image. [15:26] the first time we do that, it works. The second time, the board doesn't boot. [15:27] elopio, right, that shouldnt really matter ... though what i dont get is that it is the second upgrade but it boots from the b partition [15:27] if it is the second it should boot from a [15:27] same kernel and same dt? weird [15:28] not sure it is the same [15:29] FDT_ERR_BADLAYOUT [15:29] yeah [15:29] sounds like a malformed dtb [15:29] if these are not the same, try to switch to the old one [15:30] if they are the same, can you check with md5sum? [15:30] and report the version if they are different [15:30] elopio, ^^ can you try that ... alos check if there is actually a dtb [15:30] on the b dir [15:30] it seems there is [15:30] because it's loading it [15:30] reading b/dtbs/am335x-boneblack.dtb [15:30] 30025 bytes read in 9 ms (3.2 MiB/s) [15:30] oh, right [15:31] i wonder if it's intact and sound [15:33] * elopio checks some things. [15:35] hum [15:36] dont say that ! [15:36] so in snappy list, upgrade, etc the system refers to "ubuntu-core" versions [15:36] (that usually means something bad) [15:36] even on personal [15:36] lol [15:36] that one is a detail :-) [15:36] haha [15:36] I wonder if there is a valid wishlist there [15:36] or if we see personal as a temporary thing/don't want to abstract the name [15:37] definitely worth a bu, though i guess once ubuntu-* are snaps it will fix itself [15:37] *a bug [15:40] https://launchpad.net/ubuntu/+source/ubuntu-snappy/+bugs [15:40] 3 bugs reported only [15:40] I've a feeling snappy is one of those projects with unsynced buglists :p [15:40] * ogra_ quietly points to the channel topic :) [15:41] yeah [15:42] seb128: create a bug please, that's an easy fix [15:42] seb128: goes back to the hardcoded days (but I haven't been able to remove all) [15:42] sergiusens, https://bugs.launchpad.net/snappy/+bug/1472676 [15:42] Ubuntu bug 1472676 in Snappy "refers to "ubuntu-core" even for "ubuntu-personal" images" [Undecided,New] [15:42] seb128: thanks [15:42] yw! [15:43] ogra_: hmm, mvo seems to be MIA, can you validate this? http://paste.ubuntu.com/11842157/ (I can upload) [15:43] sergiusens, ACK., go ahead [15:43] ogra_: thanks [15:44] ogra_, sergiusens, should the same be done to desktop-next? [15:44] seb128: doing it differently on desktop next, this is just for 15.04 [15:44] k [15:44] seb128: the other MP, if it works, we will use for desktop-next as well [15:44] great [15:44] sergiusens, well, but seb128 surely wants https://code.launchpad.net/~sergiusens/livecd-rootfs/snappyDevicePart/+merge/264158 for that [15:45] ogra_: yup [15:45] after we know it works === vmayoral|pc is now known as vmayoral [15:48] sergiusens, merged and uploaded [15:49] yuppie [15:50] rsalveti: elopio fgimenez ogra_ I'm going to trigger a 15.04 image build in a bit which might solve the hardware.yaml on upgrades issue for bbb [15:50] yay [15:51] oh, stuck waiting on arm64 [15:51] ogra_: do you just cancel the build? [15:51] yep [15:52] sergiusens, ack thanks [15:56] sergiusens, the anon download link for webdm is giving me a 503. Any ideas? [15:56] kyrofa: here too. [15:57] elopio, oh. Maybe it actually IS temporarily unavailable, eh? [15:57] kyrofa: maybe. beuno do you know something? [15:58] yes [15:58] it's down [15:58] there is a bunch of stuff down atm [15:58] phones cant install apps either currently [15:58] kyrofa: store is down [15:58] lovely [15:58] right time for lunch [15:58] heh [15:59] sergiusens, beuno thanks guys. Is there a status page I can keep an eye on? [16:00] kyrofa, not at the moment, no [16:00] sorry [16:00] beuno, that's alright. Any estimate? [16:01] kyrofa, minutes, 5-30 [16:01] beuno, great, thank you :) [16:01] ogra_, thanks for the merge/upload [16:01] np [16:01] i'll trigger a core build too so it can be tested [16:09] seb128: i updated to wily, just tried personal image....works like a champ! \o/ [16:09] kgunn, excellent! [16:11] bregma: willcooke ^ [16:13] ogra_, hello, so i've my raspi2 image set up with snappy, but it seems to be missing the /dev/dri/card*? This will seem to be problematic for running a mir server [16:14] i was told possibly something is missing from the kernel in that image? [16:14] bschaefer, well, that will need a lot more extra work to make the binary blob work to actually drive the graphics HW [16:14] ogra_, shoots [16:14] bregma, kgunn ^ [16:15] ogra_, is this the same with the BBB? (besides not being able to flash the eMMC) [16:15] the upcoming 15.04 image will have some raw support to hack overlay dtb's and graphical options into the kernel commandline [16:15] the BBB isnt suitable for graphical stuff [16:15] i see, thats what i heard but wasnt sure :) [16:16] ogra_, do you know when that image would be released? [16:16] dont bother with it ... it is fine for a single app for mmanaging some relais on an attached touchscreen or some such [16:16] ogra_, what's the expecxted delivery date for the PI image? [16:16] but you wont be running a desktop on a BBB [16:16] ogra_, right, yeah just trying to figure out whats possible and not [16:16] bregma, for the 15.04 uupdate ? this week i think [16:16] ogra_, awesome thank you! [16:17] ogra_, and we'll be able to run Mir on the PI then? [16:17] i'll also start providing buuilds of the edge channel with that hw tarball and oem snap [16:17] bregma, well, it is 15.04 [16:17] not sure how much you can do on that base ... i would assume you want to wait for the edge image (on my plan for next week) [16:18] 15.04 prollly ok to start with [16:18] ah, fine then [16:18] ogra_: why is BBB not good for gfx ? [16:18] * kgunn has no history [16:18] no binary blob graphic driver support for gles, I assume [16:19] kgunn, single core-industirl-embedded CPU ... while it has a GPU it is really not a powerful one [16:19] ogra_: it has like a sgx530 or some such i thot [16:19] i think there is an SGX driver for it but that likely needs a specific (and likely very old) kernel and patches [16:19] which is enough for kiosk type thingy [16:20] right [16:20] Mir support for software rendering should fix that, as I understand it [16:20] thats what i meant above [16:20] it would still need to support running the server [16:20] enough to run a UI for your heating controller as single purpose UI [16:20] which from what i understand you need at lease the /dev/dri/card0* [16:20] downloads should be back [16:20] that is definitely what we're aiming for here [16:20] ogra_: ok, so it's possible, "we" 're just not investing in it (bbb gfx) [16:21] bschaefer, i thought dri is dead ? and it is all kms nowadays [16:21] kgunn, it isnt suitable for desktop ... if you want to build a kiosk thingie, go ahead :) [16:21] k [16:21] ogra_, err i suppose i could be looking for that as well... that was just waht i got when i was talking to #mir yesterday :) [16:21] all we really need for kiosk should be good 2D acceleration [16:21] * bschaefer hopes it works outside of that [16:22] (though the price you pay for BBB plus LCD cape will likely be more expensive than a cheap tablet) [16:22] hehe [16:22] ogra_, pfft it has a mini HDMI [16:22] heh [16:22] but yeah still more expensive [16:22] (if you get a small screen) [16:23] ok, gonna run/lunch bbiab [16:23] a BBB, and old cast-off monitor, a carboard box and some duct tape is all I need to build my info-kiosk for my front door [16:23] haha [16:23] thnen you just need to learn to use directfb [16:23] that should work already :) [16:24] without any drivers [16:24] I don't think that's yet available in Mir [16:24] no, that is something lower than Mir [16:25] talking directly to /dev/fb0 via a lib [16:25] (unaccelerated 2D) [16:33] kyrofa: udf works for me now, maybe your server is up too. [16:36] elopio, yeah, all good here. Thanks beuno! [16:42] sergiusens, do you know anything about the snappy examples? [16:42] sergiusens, lp:~snappy-dev/snappy-hub/snappy-examples [16:47] sergiusens, the hello-dbus example puts the service into a framework and the client into an app. Is there a good reason to do that instead of including both in the same snap? [16:48] Looks like jdstrand initially wrote it. jdstrand ^^ any input? [17:09] kyrofa: because the app depends on the framework, it's the only dependency chain allowed [17:10] kyrofa: and it's just an example, so maybe useless for a real case [17:11] sergiusens, but couldn't a single snap include both the dbus service and the client? [17:14] kyrofa: yes they can [17:14] kyrofa: I had that in one of my apps from before the release [17:15] elopio: rsalveti do you have a revno for 15.04 on edge handy with an older kernel? [17:15] sergiusens: hm, not handy [17:15] sergiusens: we landed a new kernel on monday [17:15] sergiusens, is there a reason to do one over the other? I understand that this is just an example, I'm just curious. Obviously a framework can be relied upon by multiple snaps, and it decouples the service and the client. Would that really be the only reason to do it that way? [17:15] since then, I believe we did 2,3 new builds [17:16] sergiusens: no sir. Just old 15.04 stable here. [17:16] rsalveti: k, will check some dates in the index; I wish this process weren't so manual :-) [17:16] kyrofa: different vendors providing extensions [17:16] kyrofa: just like docker [17:17] kyrofa: docker framework and runtimes/dockerapps in apps [17:17] kyrofa: I don't know how to make it clearer :-) [17:17] sergiusens, alright, makes sense. Thanks :) [17:18] sergiusens: well, you own the tool that interacts with that server :P [17:19] rsalveti: but not the one that does the s-i->cdimage part [17:19] beuno, how do manual snap upload reviews occur? How long does it typically take? [17:19] rsalveti: do you see a problem with this? http://paste.ubuntu.com/11842157/ [17:20] sergiusens: looks fine [17:20] rsalveti: I get 'hashes: -\n' after building [17:21] kyrofa, as a rule, if something is manual it will likely get rejected [17:21] rsalveti: oh, ic the problem :-/ [17:21] I think [17:21] sergiusens: either the var is not protected or we got nothing with md5sum [17:22] rsalveti: yeah, I don't see the problem, damn shell scripts [17:22] whats the issue [17:22] beuno, hmm. I'm referring to the last paragraph on this page: https://developer.ubuntu.com/en/snappy/tutorials/build-snaps/ [17:22] lol [17:22] beuno, it implies that all snap reviews are manual? [17:23] * sergiusens thinks ogra_ has a highlight for shell script blasfemy [17:23] lol [17:23] shhh [17:23] ogra_: I get 'hashes: -\n' after building [17:23] ogra_: with http://paste.ubuntu.com/11842157/ [17:24] kyrofa, they are not. They are automatic and get approved within seconds (if they pass automatic review scripts_ [17:24] kyrofa, that's outdated, I guess [17:24] sergiusens, hmm, i think thats a bashism [17:24] asac, who maintains this? https://developer.ubuntu.com/en/snappy/tutorials/build-snaps/ [17:25] cut -f1 -d' ' [17:25] instead of cut -f1 -d\ [17:25] beuno, ah! Okay good deal [17:25] ogra_: ok [17:26] ogra_: is that the only thing? I want to avoid another 30 cycle :P [17:26] beuno: our team I guess, why? [17:26] sergiusens, not sure, do you have any log ? [17:27] rsalveti, it says all submissions are manual [17:27] sergiusens: guess you can easily test that logic locally first [17:27] they are not [17:27] quotes wouldnt be abd either i guess [17:27] *bad [17:27] rsalveti: I have [17:27] beuno: yeah, we can update that [17:28] rsalveti, thanks [17:28] sergiusens, in any case make sure to have a "set -ex" at the top of the script, then we get more detailed logs ... log space is cheap [17:28] rsalveti: ogra_ ... md5sum: /tmp/tmp.csXhKqYL59/assets/vmlinuz: No such file or directory [17:28] there we go [17:28] aha [17:30] kyrofa: I did it as an example of writing a framework that another snap would depend on. it is fine for a framework to ship other services or binaries [17:31] jdstrand, thank you [17:32] jdstrand, hey, thanks for the email about the QHD stuff too. Nice to have crisp notifications again, haha [17:33] kyrofa: I know, right? that was annoying [17:33] glad it helped :) [17:33] sergiusens, hmm, where do you see that ? the build log properly has http://paste.ubuntu.com/11842705/ [17:33] ogra_: it's set [17:33] yeah, just noticed [17:33] ogra_: https://launchpadlibrarian.net/211113785/buildlog_ubuntu_vivid_amd64_ubuntu-core-system-image_BUILDING.txt.gz [17:33] jdstrand, it's just such a beautiful, crisp screen... and then... yeah [17:33] cat'ing hardware..yaml at the end would be helpful [17:34] sergiusens, LOL [17:34] sergiusens, vmlinux != vmlinuz ;) [17:34] (your patch has a typo) [17:35] ogra_: yeah, fixed [17:35] ogra_: still won't fix the issue ;-) [17:35] yeah [17:35] * ogra_ looks at the full code ... [17:38] who wrote that code originally ? [17:38] (why are there all these brackets ?) [17:38] ogra_: mvo did [17:38] jdstrand, I know you'll hate me, but I'll need an ACK for emonhub.saviq please, same old same old (but I renamed the app...) [17:38] ogra_: interesting, hashes thing seems to be fine for armhf builds [17:40] ogra_: I just need to fix that type; on 15.04, hardware.yaml is only used by the bbb [17:40] well, i think the brackets cause all that stuff between them to be executed in a subshell (which seems a bit ppointless but doesnt explain why you end up with empty vars in the here doc) [17:41] ogra_: the parens you mean? [17:41] yeah [17:41] unspecific germans, sigh :-P [17:41] i dont really get why mvo used them [17:42] Saviq: no worries. I think pindonga said the store would be updated today [17:45] ogra_: http://paste.ubuntu.com/11842767/ [17:46] Saviq: it isn't downloading right [17:46] ogra_: I think I prefer that [17:46] Saviq: I get just an empty file [17:46] sergiusens, yeah ... and add quotes around the $() [17:46] ogra_: ok [17:46] beuno: looking at https://myapps.developer.ubuntu.com/dev/click-apps/3029/review/, if I try to download I only get an empty file [17:47] jdstrand, yes, slight issue atm [17:47] beuno: is there an issue with the store? [17:47] will ping back [17:47] ah, ok [17:47] Saviq: ^ [17:47] ogra_: http://paste.ubuntu.com/11842781/ [17:47] for a handful of packages [17:47] * sergiusens dputs [17:47] sergiusens, thats schnappy :) [17:48] \o/ [17:49] ogra_: I might need one more fix to make this bullet proof [17:50] sergiusens, well, and a "cat $TMPDIR/hardware.yaml" at the end of the script to get it into the log might not do harm either [17:50] saves you from having to install an image to find out the file is brooken [17:50] -o [17:50] (or download or whatever) [17:54] sergiusens: there are ubuntu personal images now? [17:55] sergiusens: cause we need to figure out how to deal with security policy in snappy build [17:55] jdstrand, yeah, seb128 has been working on them [17:55] sergiusens: did you find the rev# of the old kernel? [17:55] sergiusens: since my plan was to use existing phone policy for ubuntu-personal [17:56] jdstrand: yes there are [17:56] sergiusens: so that means snappy build needs to know about core vs personal and pick the right policy vendor [17:56] jdstrand: and seb128 is creating/seeding all the bits [17:56] jdstrand: yes, I've proposed adding a --release to Chipaca and mvo [17:56] (not to mention we need to work out what to do for policy version instead of just hardcoding 15.04 [17:57] ) [17:57] ok, cool [17:57] sergiusens: er, looks like build 119 broke cloud images [17:57] sergiusens: sgdisk is needed in for cloud-init to resize the disk [17:57] utlemming: is that rolling or 15.04? [17:58] sergiusens: 15.04 [18:01] utlemming, where does that dep come from all of a sudden ? [18:01] (also did you consider making it a dependency of the cloud-init package then ? ) [18:03] ogra_: that is likely my fault of not catching it in cloud-init logs -- my apologies [18:03] ogra_: checking on the dep piece [18:03] utlemming, well, i dont get why it worked before in 15.04 and in 119 it doesnt [18:04] orga_: yeah, lets hold on that for a minute...let me dig deeper before calling it the cause [18:04] doesnt look like we ever had gdisk installed [18:04] jdstrand, fixed [18:04] thanks! [18:07] ogra_: http://paste.ubuntu.com/11842889/ [18:08] sergiusens, looks good ... go ahead [18:08] ogra_: rsalveti seems to be one problem still and I'm not sure how to solve; but if we pull a new initrd and no new kernel, then s-i would remove the kernel from the delta and the upgrade would fail [18:09] hmm [18:10] sergiusens, looking at the snappy examples in contract to the snappy document, can I safely assume that .svg icons are no longer required even though the docs say so? [18:10] ogra_: it's almost as if s-i should generate the hardware.yaml [18:11] kyrofa: I don't attest to that; I'll leave that to beuno [18:11] kyrofa: we are mostly killing package.yaml in the future btw... [18:11] ogra_: red-herring [18:12] sergiusens, ah, good to know. Is there other docs I should be referring to to build snaps, then? [18:12] kyrofa: well, if you are targetting rolling, the docs on developer.u.c are not what you want [18:12] lp:snappy /docs [18:13] but I don't think there is anything in place yet [18:13] sergiusens, I am indeed. Thank you! [18:14] kyrofa: rolling has no docs yet and anything is subject to change ;-) [18:15] sergiusens: why would the upgrade fail? [18:15] sergiusens, that's alright, I can roll with it [18:17] ogra_: the reason I wasn't seeing the error before was that with /etc/cloud/cloud.cfg.d being a writable path, the regular configurations where not being read when I built an image with that content populated. [18:18] i.e I put stuff in /writable/system-data/etc/cloud/cloud.cfg.d [18:18] ah [18:18] rsalveti: because now the opposite happens, during the livecdrootfs phase we don't know what will be added or removed, so we add a kernel and initrd entry [18:18] yeah, understood [18:18] rsalveti: but s-i might determine that initrd doesn't need to be in th delta [18:18] rsalveti: so the entry would point to an invalid file [18:19] rsalveti: as I was telling ogra, it feels like livecdrootfs is the wrong place to generate this file and it should be done during s-i [18:19] right, indeed [18:20] sergiusens: so what can we do for now? [18:20] rsalveti: update both [18:20] rsalveti: or none [18:21] rsalveti: this problem exists in rolling as well [18:21] guess just update both [18:21] right, maybe not something we need to fix for this stable release [18:21] well, how do you update both if one didnt change ? [18:21] since your fix should already be enough for the current issue [18:21] in snappy ? [18:22] ogra_: generated images should update both init and kernel or the updates would fail [18:22] sergiusens, right, but how do you enforce that ? [18:22] if one of them is missing thanks to s-i [18:23] ogra_: we control the stable channels, so it is easier [18:23] ogra_: in the end, if we want to survive, we would need to have s-i generate the hardware.yaml [18:24] yes [18:37] sergiusens: yeah, stable is fine for now I'd say, but definetly something we need to fix in s-i [18:37] sergiusens: just create a card for it and put it in the backlog [18:43] rsalveti: card created, I need to leave for a bit [18:43] sergiusens: sure [18:43] sergiusens: did you trigger a new image with your recent change? [18:44] yes, he did [18:44] * ogra_ cancels the arm64 build [18:45] cool [18:55] hey guys, once you installed packages like snake, and chatroom, for instance, If I do not know them and how they work, how can I find out? Is there some documentation somewhere, if I have to check if they work after install I have to know how they work. [18:56] Letozaf_, webdm is supposed to show descriptions and also have a link that opens their externally defined port [18:56] the description stuff is still broken i think [18:57] ogra_, I will try again, but yesterday the link did not open anything, just a blank browser page [18:57] for which app ? [18:58] ogra_, yesterday I install snake and chatroom, just these two, but could not try them out [18:58] hmm, works fine here ... i click on "raspberyy pi2" in webdm ... then on chatroom ... and there on open/manage [18:59] that opens the chatroom page for me [18:59] ogra_, I will try again just now, give me two minutes [18:59] sure [19:00] (note that chatroom only works in chromium ... (which the description would tell you if it would be shown :P )) [19:03] sergiusens, rsalveti, hmm, that didnt work it seems [19:03] https://launchpadlibrarian.net/211130437/buildlog_ubuntu_vivid_amd64_ubuntu-core-system-image_BUILDING.txt.gz [19:03] oh [19:03] ignore that :P [19:04] wrong arch :P [19:05] hmm, doesnt look like the "cat hardware.yaml" is executed [19:05] ogra_, I am running yesterday's snappy 15.04 amd64 image (ubuntu-core vers. 117) I installed chatroom and in Chromium when I click on "open/manage" I get "The webpage is not available" message [19:06] weird [19:06] ogra_: cat should only show up on armhf, right? [19:06] ogra_, I am runnin wily on my Desktop PC [19:06] Letozaf_, http://webdm.local:6565 [19:06] try that [19:06] rsalveti, right, but it doesnt [19:07] ogra_, same: This webpage is not available [19:07] i can see the hashes being assigned to the vars though [19:07] but that worked before already [19:07] Letozaf_, weird, works fine on armhf ... i havent tried on amd64 in a while i must admit [19:08] ogra_: indeed [19:08] ogra_: guess we can open the device tarball and see [19:08] ogra_, I have Wily installed and I am also using systemd [19:08] yeah :/ ... thats what the cat was supposed to avoid [19:08] but cats never do what you want :P [19:09] am I the cat ? LOL [19:09] lol [19:09] meow [19:09] no :) [19:10] Letozaf_, a "cat" command that is supposed to put stuff in a logfile ;) [19:11] ogra_, Hah! the cat command I thouth you were talking about a cat animal lol [19:11] lolololo [19:11] rotfl [19:11] :D [19:11] ppisati: ogra_: http://paste.ubuntu.com/11843280/ [19:11] was that what you wanted me to compare? How to know if it's correct? [19:11] elopio, well, does it boot from a ? [19:11] and ogra_, it tries to boot first a, then it tries b. And keeps retrying be. [19:11] if ti is in that state [19:12] ah [19:12] and both print that dtb error ? [19:12] what I pasted before was not the first try. [19:12] well, i'd like to see the error from an a boot [19:13] before it panics and reboots [19:13] let me see if I pasted that one somewhere. [19:14] nop. I hate that I can't scroll back on screen. [19:14] I will reproduce it one more time. [19:17] partition-layout: system-AB [19:17] hashes: 462b31071b9f41c50ef05670ca764780-9b0c722b5d417f5152a4f5a5d5084910 [19:17] dtbs: assets/dtbs [19:17] rsalveti, sergiusens ^^ looks fine [19:18] ogra_: yeah, now to test the upgrade and see :-) [19:18] argh [19:18] but we have everything duplicated in assets [19:18] that makes it 52MB big now [19:20] what [19:21] initrd.img and initrd.img-3.19.0-22-generic ... [19:21] same for the kernel [19:21] ogra_, it works, it was a port redirect error :-P [19:21] ha ! [19:22] Letozaf_, awesome :) [19:22] ogra_, sorry for the hassle :) [19:22] np [19:22] i do that all the time when using kvm :) [19:22] :-) [19:22] rsalveti, wow, an we ship each and every available dtb by default [19:22] 8MB of dtb files [19:23] ogra_: right, at the kernel snap that is expected [19:23] once that exists, yeah [19:24] well, it's the evolution from the device tarball :-) [19:25] evolution ... like growing a third arm to pick your nose and such :P [19:26] * ogra_ likes that the device tarball is small and on the point ... [19:26] but for generic thats probably fine ... [19:28] right [19:30] though wasting 25MB for the kernel and initrd duplication doesnt feel right [19:31] i wonder if we can safely drop the unversioned ones [19:32] hmm, no .. hardware.yaml uses them by default [19:37] the 'services' and 'no-cloud' config options from https://developer.ubuntu.com/en/snappy/guides/oem/ are a wish for now, right? [20:00] ogra_: http://paste.ubuntu.com/11843609/ [20:01] that's the first error booting a after the second update. Same badlayout. [20:01] elopio, so the dtb file is corrupt in general [20:01] I wonder if two real updates in a row end up in this too [20:01] I'll have to wait for tomorrow to check that. [20:03] can't we specify the version we want to update? [20:03] if this indeed causes an issue, we might just break everyone that is using bbb :-) [20:04] rsalveti: not without faking things. [20:04] fgimenez did a script to update to rev -1 [20:04] right [20:05] Full adventure logs: [20:05] http://paste.ubuntu.com/11843622/ [20:05] http://paste.ubuntu.com/11843624/ [20:06] I don't know how remounting / could cause this. I'll flash 94, update to 95, and wait for 96 to be available. [20:06] we can trigger a new wily one if you want [20:07] let me do that while you flash 94 [20:07] rsalveti: wait for me to finish the update to 95 [20:07] elopio: sure, on your command :-) [20:07] it will take like ~30 minutes here to do the whole dance. [20:07] right, probably the same time it takes to get the new image out [20:25] rsalveti: I'm in #95. go, please. [20:26] elopio: done [20:27] oh shit. The reboot ended up in emergency mode. [20:27] man, we got some serious issues with bbb [20:27] I bet when I decided to work in QA, all the bad karma came in my aid. [20:28] rsalveti, serious and weird [20:29] fwiw, federico could reproduce the second update issue. [20:29] and I haven't had an emergency mode for two weeks now. [20:31] rsalveti, btw, do we have any complelling reason to use vfat and not ext2 ? we always seem to have issues with files on the fat [20:31] not sure, would need to ask lool I guess [20:31] probably because vfat is usually supported everywhere [20:31] even with super old uboot [20:32] yeah [20:32] but we insist on the very latest uboot :) [20:32] right, which is why would be good to check with lool [20:33] and we use very new features too [20:42] bah, crap [20:43] wily needs the same change in livecd-rootfs [20:43] is there a place recommended to file bugs about docs? [20:44] + cp -ar boot/initrd.img-* /tmp/tmp.MYidIUKLNU/assets/ [20:44] cp: cannot stat 'boot/initrd.img-*': No such file or directory [20:44] E: config/hooks/500-move-kernel-to-device-tar.binary failed (exit non-zero). You should check for errors. [20:44] P: Begin unmounting filesystems... [20:44] grrrr [20:46] Saviq: about docs in developer.ubuntu.com? [20:46] elopio, yeah [20:47] Saviq: https://bugs.launchpad.net/developer-ubuntu-com/ [20:47] elopio, thanks [20:47] Saviq: please link the bug here. [20:47] jdstrand, so if I write a dbus service, I'm getting the impression that it _must_ be a framework. Yes? [20:48] yes [20:48] bus-name is only available to frameworks [20:49] jdstrand, right, okay. Does that immediately mean that I need custom apparmor profiles? All the service does is obviously listen on dbus and act as a network client [20:50] ugh, this is no good. Tried again and I'm in emergency mode. It's good I ordered more sd cards. [20:50] can somebody try a bbb update from rolling edge #94? [20:50] bug #1472778 [20:50] Bug #1472778: "start exploring snappy..." link feels broken [20:50] bug 1472778 in Ubuntu Developer Portal ""start exploring snappy..." link feels broken" [Undecided,New] https://launchpad.net/bugs/1472778 [20:50] kyrofa: that isn't enough-- you need to have dbus bus policy to start a dbus service. I'm confused though-- why does an app need to be a dbus service? [20:52] Saviq: :) would you think it's better to link directly to the snappy tour instead? [20:52] bug #1472780 [20:52] Bug #1472780: No documentation about "assign" in oem guide [20:52] bug 1472780 in Ubuntu Developer Portal "No documentation about "assign" in oem guide" [Undecided,New] https://launchpad.net/bugs/1472780 [20:52] elopio, TBH I'd just drop the link [20:52] elopio, you're looking at "Next steps" by the time you're clicking it already [20:53] sergiusens, fixed a quoting issue with the wily livecd-rootfs MP, uploaded [20:53] Saviq: done. [20:53] ogra_: thanks for uploading the fix [20:54] jdstrand, it's the scope to install snaps for ubuntu personal. Scopes can't maintain state, thus the stateful bits are pulled into a dbus daemon [20:55] jdstrand, so there are two parts-- the dbus daemon and the scope itself [20:56] bug #1472782 [20:56] Bug #1472782: webcam guide's assign/part-id does not work [20:56] bug 1472782 in Ubuntu Developer Portal "webcam guide's assign/part-id does not work" [Undecided,New] https://launchpad.net/bugs/1472782 [20:56] elopio, ↑ that might be really a snappy bug, but it's unclear without real docs about assign [20:56] rsalveti, so i guess it will still take a while til there is something to copy to the alpha channel [20:56] ogra_: yeah, not today [20:57] cool [20:57] it's all fine and good until we start finding blockers all around [20:57] (or not) [20:59] Saviq: thanks for the bugs. I'm not sure, so I'll left them for somebody to triage. [20:59] bug #1472783 [20:59] Bug #1472783: oem guide mentions unsupported config parameters [20:59] bug 1472783 in Ubuntu Developer Portal "oem guide mentions unsupported config parameters" [Undecided,New] https://launchpad.net/bugs/1472783 [20:59] elopio, there's some indentation issues on https://developer.ubuntu.com/en/snappy/guides/appliance-builder-guide-webcam/ [20:59] we are trying to fix the doc bugs before the next release. [21:00] elopio, in the yaml listings [21:01] bug #1472784 [21:01] Bug #1472784: oem guide does not explain immutable config properly [21:01] bug 1472784 in Ubuntu Developer Portal "oem guide does not explain immutable config properly" [Undecided,New] https://launchpad.net/bugs/1472784 [21:05] kyrofa: why wouldn't this be shipped as part of the ubuntu personal image like it is on touch? [21:06] jdstrand, it can be. We figured it would be easier to update if it was a snap [21:07] jdstrand, do you disagree? [21:07] kyrofa: you can't right now. today, you must be framework to be able to be a dbus service [21:08] kyrofa: note you can't do this as a click either [21:08] kyrofa: because you need to adjust dbus bus policy (ie, not apparmor) in order to be a service [21:08] there is no current mechanism to do that (unless you are a framework snap) [21:09] jdstrand, is it a big deal for it to be a framework snap? [21:09] kyrofa: I suggest for now keeping it in ubuntu personal image and bringing this up with the architects group [21:10] kyrofa: it isn't a framework though, is it? you just are picking it as type framework because that happens to get you something you need [21:10] which I understand why you are doing that [21:10] I'm just saying that all the use cases for ubuntu personal have not been defined [21:10] Saviq: I only see the wrong identation on "build-in:" [21:10] am I missing another? [21:10] elopio, that might've been it, checking [21:10] jdstrand, yeah, it's really quite minimal, but apparently the only way to use dbus is to be a framework, that's all [21:11] and so there aren't appropriate mechanisms for you to use [21:11] kgunn, are you still around? ^^ [21:11] elopio, - kernel: video* is 3 spaces in [21:12] and that seems to be it [21:12] kyrofa: it might be that we want to allow bus-name in app types but trigger a manual review. I don't know (again, architects group (aka, tvoss)) [21:12] * jdstrand -> meeting [21:13] kyrofa: i am... [21:13] mmm, ok, that one comes from the source. Will propose a change in there. [21:13] and the built-in seems to be playing funny tricks with the editor. [21:14] kyrofa: it might be worth noting that snaps aren't meant to replace debs in a 1 to 1 fashion. this is providing a service to a specific something. perhaps put all those somethings into one snap and make that a framework (still, need architect's direction) [21:14] kyrofa: frameworks are strictly defined: [21:14] Saviq, elopio, I've just imported the latest stable oem doc, don't touch the page :p [21:15] ;) [21:15] Seriously :) [21:15] * kgunn wonders why Saviq is here :) [21:15] kyrofa: https://developer.ubuntu.com/en/snappy/guides/frameworks/ [21:15] kgunn, Orange Matchbox ;) [21:15] davidcalle: I'm not touching the oem page [21:15] ah [21:15] kgunn: he's keeping me busy :P [21:15] fun [21:15] am monitoring my energy use! [21:15] * jdstrand iskidding (happy to help) [21:15] Note that we are working on auto-import for stable and edge snappy docs. In ~two weeks or so. [21:15] oops [21:16] jdstrand, but but but! [21:16] * Saviq is filing bugs for you all! [21:16] bugsies [21:16] so many bugsies [21:16] jdstrand, I gotcha. Yeah, I definitely don't need a framework... I guess I didn't expect dbus to be limited to frameworks is all [21:16] kyrofa: i wouldn't have expected that either...thanks for poking [21:18] kgunn, so the scope is two pieces-- the scope itself and a little dbus daemon for maintaining state. The docs and jdstrand point out a dbus service is only supported for frameworks, which is way overkill for this [21:18] kyrofa: well, a dbus service is a service to other apps [21:19] kyrofa: sure... [21:19] jdstrand: but in a generic case, "apps" using dbus are consuming that service no ? [21:19] at least, i'd have thot if you provide a service you have to be an app.... [21:20] kgunn, yes, but in that case they depend on the framework and have a capability inherited from the framework [21:20] dang it...i mean fmwk [21:20] kyrofa: so in turn "they" proxy dbus? in that case i do understand [21:21] kgunn: apps may use a service if they security policy allows it. that policy is expressed via framework-policy [21:21] kgunn: or via system supplied policy [21:22] kgunn: right now on touch, we have a bunch of dbus services that are shipped as part of the image, and the image ships security policy that apps may specify to use it [21:22] kgunn: but the services themselves aren't shipped as clicks [21:23] jdstrand, so the only way to update them is OTA, yes? [21:23] kgunn: it is the same on snappy. things that ship services to other apps either need to be in the image or shipped as framework snaps [21:23] kyrofa: if on the image, yes. just like on touch [21:24] kgunn: my understanding was that the ubuntu personal image was going to be a big image (compared to core) like it is now on touch, as opposed to a collection of snaps on top of core [21:24] jdstrand: yep, and no problem, i think kyrofa can continue down the "it's just in the image" road.... [21:25] kgunn: if the latter, then we really need to get the architects talking about things with the various stakeholders (core, security, etc) [21:25] i was just curious about the dbus use mandating a thing be a fmwk.... [21:25] kgunn, jdstrand indeed I can. debs are easy [21:25] kgunn: well, it is because apps aren't supposed to be services to other apps [21:26] kgunn: apps are isolated [21:26] got it [21:26] kgunn: consider this-- if we did make it so that an app could ship a dbus service and that service could listen on the dbus, no other apps would be able to talk to it because there is no security from them to declare to talk to it [21:27] s/no security from/no security policy for/ [21:27] jdstrand, except a binary shipped in the same snap, yes? [21:27] yes [21:27] you can always do that [21:27] jdstrand, which is exactly what I need [21:27] ok, well, you can setup a private dbus [21:28] and not use the system one. it would be a private session bus [21:28] :P [21:28] please allow myself to talk to myself [21:28] actually, that won't work just yet [21:28] you would need the 'sockets' stuff that isn't implemented yet [21:29] actually, perhaps just an abstract socket unix rule that is namespaced... [21:29] I need to think about that [21:29] * jdstrand makes note [21:29] anyhoo, that isn't available today [21:30] jdstrand, alright, not a big deal, getting it in the image is easy enough, just a little more work for seb [21:30] kgunn: today, you can setup a writable named unix socket in the snap's writable area and have apps communicate over that [21:30] but that is probably more work than just putting it on the image [21:31] kgunn, do you think the long-term vision is having this as a snap, or leaving it in the image? If we want it as a snap eventually it sounds like we should start talking to people [21:31] ok, meeting for real now [21:31] jdstrand, :P [21:31] jdstrand, thanks for all your time! [21:31] np [21:33] kyrofa: honestly, it kinda feels like it'll always be in the image ? i mean at some point [21:33] we'll go all snaps all the time [21:33] and we'll always need a scope installed for the store [21:33] kgunn, yeah, it's kinda integral [21:33] feels more like a nice to have [21:34] kgunn, agreed [21:34] in terms of it being a snap [21:34] but thanks for trying [21:34] these are great attempts, we always learn a little more :) [21:35] kgunn, definitely! Okay, I'll invest some time making sure I've got a good .deb coming out of the CI then instead [21:35] kgunn, thanks for letting me drag you in! :) === j12t_ is now known as j12t [21:45] kyrofa: thank you! [21:54] looking for +1s on bug #1472797, anyone? [21:54] Bug #1472797: Should use bmap or a bmap-like solution to reduce flashing time [21:54] bug 1472797 in goget-ubuntu-touch (Ubuntu) "Should use bmap or a bmap-like solution to reduce flashing time" [Undecided,New] https://launchpad.net/bugs/1472797 [21:54] ;) [22:01] hmm where do I file bugs against ubuntu-core? [22:02] Saviq: the snappy project is prbably a fine first choice [22:07] should /var/lib/apps//current/ [22:07] exist? [22:07] w/ the proper packagename obviously [22:07] or has that approch been deprecated and the docs do not reflect that.