/srv/irclogs.ubuntu.com/2016/04/19/#snappy.txt

jdstrandsergiusens: yikes00:00
jdstrand$ scmp_sys_resolver 31700:00
jdstrandseccomp00:00
jdstrandyeah, mmm, for now the best thing to do would be to disable the seccomp sandbox in firefox00:01
jdstrandthat is going to require some investigating to do safely (if at all). it might require seccomp arg filtering to land too00:02
* jdstrand adds a card00:02
sergiusensjdstrand that can get complicated00:08
sergiusensjdstrand  as in, do you mean I have to install with --devmode?00:09
sergiusensubottu hey00:09
MoPacjust started trying to use the snap / snapd support in ubuntu 16.04, and I'm confused about (among other things) removing snap packages. I installed mir-server, but can't remove it.00:14
sergiusensMoPac as in `snap remove mir-server` did not work?00:15
MoPacI.e.: "sudo snap install mir-server ....  error: can't install "mir-server": snap "mir-server" already installed  "00:15
MoPacBut then...00:15
MoPacsudo snap remove mir-server error: can't remove "mir-server": cannot find mounted snap "mir-server" at revision 400:15
sergiusensMoPac did you have an old install of snappy or experimenting with it?00:15
MoPacsergiusens: Not that I know of00:16
sergiusensMoPac I logged a bug for something similar to that I think00:16
sergiusensMoPac just log a new one and also add the output of `snap changes`00:16
sergiusensMoPac I'll forward it to the developers00:16
MoPacwhen I do locate mir-server, I do find a folder  in /var/li/snapd       and files in /etc/systemd/  (snapd.mir-server... and multi-user.target.wants/snap.mir-server...)00:18
MoPacIs it possible those are part of some other installation?00:18
MoPacThere's also /var/snap/mir-server00:18
MoPacBut just this week when I installed it, it did a full download and everything through the snap command line command, so I just assumed all that other stuff was how this one system works00:19
sergiusensMoPac those files look fine00:22
MoPacAlas, and I'd hoped that snap packages would help tame the problem of an installed package's stuff being fragmented all over the filesystem..00:23
qenghoMan, either something is broken or I don't understand these new changes.00:25
qenghoOn my classic machine, I had snappy and a few packages installed. Now, 1) "snap list" lists nothing. 2) I don't understand how to configure things.00:26
sergiusensqengho the new changes landed were incompatible with what once was00:28
sergiusensqengho I had to wipe and start from scratch00:29
sergiusensthey introduced a state machine00:29
qenghoHuh. I do like me some state machines.00:29
sergiusensMoPac it does; those files are controlled by snappy itself; snaps cannot generate those00:29
qenghoOkay, so I'll remove debs with snap in the name, then look for filesystem artifacts, then install and start anew.00:30
sergiusensqengho afaik you need to stop snapd, umount everything in /snap and wipe /var/snap00:30
sergiusenscheck everything before wiping just in case :-)00:31
sergiusensqengho do you have any gtk xp btw?00:31
qenghosergiusens: some. Enough to hate ListStores00:32
MichaelTunnellanyone know if will Snappy work with GNOME Software in 16.04?00:32
qenghoMichaelTunnell: 16.04 will ship with almost everything in the traditional deb format, including up-to-date Gnome. It also ships with the ability to package new stuff in the new snap format.00:34
sergiusensqengho well this is more of a plumbing question :-) I saw there's an envvar that tells this /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache to go somewhere else ($SNAP_USER_DATA/ is my target of choice) but what about the contents of loaders.cache; is there a way to make that installtion path independent or in defect, to make gdk-pixbuf-query-loaders to look for them somewhere else?00:34
qenghosergiusens: Ah, I don't know that detail.00:36
MichaelTunnellqengho: I meant the integration with GNOME Software will snaps be installable with GNOME Software or only in terminal?00:49
qenghoMichaelTunnell: I'm sure snaps will be in the "store" program. That's almost like 1/4th the reason for inventing them.00:54
qenghosergiusens: also, plenty in /var/lib/  :\00:54
qenghoBed time. Back in 14 hours.00:54
qenghoOh man. only 12. :(00:55
=== devil is now known as Guest29558
Alfredosomeone could help me  I want to mount a disk when system boot but fstab file overwrite on reboot02:28
Alfredoin ubuntu snappy02:29
jdstrandsergiusens: in devmode initially or compile without the seccomp sandbox. ChrisCoulson may be able to advise you on that02:30
jdstrandsergiusens: you could try to add 'seccomp' to /var/lib/snapd/seccomp/profiles while testing to see if you need more or less, but I don't know if that is safe yet for the general case02:31
jdstrandsergiusens: (consider the fact that if you can alter the seccomp sandbox, then, well, you can alter your sandbox)02:32
jdstrandsergiusens: in theory, it should be ok, but it will take time to verify02:32
sergiusensjdstrand now I follow! Thanks. I also have a bunch of gtk things to solve as well; so it is not my only blocker02:35
sergiusensI wasn't aware gtk turned into this huge beast02:35
jdstrandI can imagine02:35
jdstrandyeah-- I tried with gcalculator02:35
jdstrandit was pretty hideous02:35
jdstrandI set like a thousand variables02:35
jdstrandand then it still didn't work :\02:36
jdstrandI talked to desrt about it and had more to try but had to focus on other snappy things and hadn't gotten back to it yet02:37
sergiusensI might pick on didier's brain tomorrow or maybe seb's02:37
jdstrandsergiusens: I don't know if this will help or not with firefox cause we were talking about gnome apps, but most of this is gtk stuff: http://paste.ubuntu.com/15923754/02:42
jdstrandhopefully it isn't too hard to follow...02:43
jdstrandI haven't worked through it so best to ask a desktop guy if you have questions02:43
jdstrandfyi, my online-ness is going to potentially be a little odd the next couple of days, but I read backscroll02:45
jdstrandI'm technically off tomorrow, but I may need to swap some things around02:45
sergiusensjdstrand thanks03:33
=== chihchun_afk is now known as chihchun
netpheakmorning, guys!04:48
=== Guest29558 is now known as devil_
mvoogra_: fyi, I uploaded a new ubuntu-device-flash with less debug output and a new alpha image for amd64 with snap 2.007:02
Gunther_hi! Is it still mandatory to do snapcraft login for kernel builds (os.snap)? This can be a problem in our jenkins build environment ...08:11
zygagood morning08:30
Gunther_good morning08:33
=== JamesTait is now known as Guest1123
=== Guest1123 is now known as JamesTait
_morphiszyga: https://github.com/zyga/devtools/pull/509:07
=== pmp is now known as Guest10951
davmor2ogra_: davmor2@davmor2-XPS-13-9343:~⟫ ubuntu-clock-app.clock /n can not find a snappy os I guess that is a bad thing right :)09:27
Gunther_mvo: the new amd64-all-snap.img does not boot :(. I tested it using VirtualBox: unable to resolve 'LABEL=writeable'09:28
mvoGunther_: thanks, I will take it down again, its very confusing, it boots fine in qemu/kvm :/09:29
mvoGunther_: I assume you also converted it first? what commands did you run, just trying to reproduce this now09:29
Gunther_VBoxManage convertfromraw amd64-all-snap.img all_snap.vdi --format VDI --variant Fixed09:30
mvota09:31
Gunther_ok it works if the vdi is attached to IDE but fails if the image is attached to SATA09:32
mvoGunther_: wuut? thats strange09:32
mvoGunther_: I suspect a kernel issue, let me try to reproduce and then play around with the kernel. thanks a bunch for this hint09:33
Gunther_No SATA support in the kernel?09:33
mvoGunther_: could be, or missing chipset or buggy or soemthing09:34
Gunther_Just reproduced this on real hw: If the SATA port is set to legacy IDE in BIOS, it boots. But not if it is set to SATA. This is not only a VirtualBox issue09:36
dholbachbzoltan_, what kind of ldd does the copy plugin do?09:36
bzoltan_dholbach:  it ldd's the content of my directory and fails on many of the09:37
stevebiscuitGunther_: I've had the same problem running under VirtualBox, attaching the image to the IDE controller seems to resolve it09:38
dholbachsergiusens, kyrofa: ^ do you know which problem bzoltan_  might be having?09:38
dholbachbzoltan_, you got cut off09:38
mvoGunther_: thanks a bunch09:38
bzoltan_dholbach:  thanks09:38
mvoGunther_: I can reproduce it , digging into it now09:41
Gunther_mvo: the naming of the net interfaces is also back to the classic "eth0" ...09:46
Gunther_is that intenionally09:46
mvoGunther_: a good question, I need to investigate this too09:57
Gunther_mvo: ok :)09:58
dpmhi all. I'm trying to clean up a desktop system after the move from /snaps to /snap. It looks like /var/lib/snappy/snaps contains a bunch of apps I installed a while ago. Is it safe to just 'rm -rf /var/lib/snappy/snaps'?10:01
Gunther_mvo: we seem to got a kernel upgrade after the first boot. The net interface names are enp0sX again,10:05
popeydpm: that's what I did, nuke the directory after stopping snapd10:11
dpmthanks popey. Done that and reinstalling everything now10:15
dpmpopey, dholbach, does the calculator app work for you? http://pastebin.ubuntu.com/1592752110:17
dpmtrying clock now10:17
zyga_morphis: thank you, merged!10:17
popeydpm: i get same10:20
popeydpm: clock fails in the same way10:22
zygapopey, dpm: are those snaps using unity7 plug?10:23
dpmpopey, zyga, actually, they're still unconfined in the store. Let me see if I can update their yaml files and re-upload10:24
dpmzyga, mvo, do you happen to know in which folder the .desktop file and icon should be dropped in for snapcraft?10:27
dpmlast time I talked to sergiusens it was: setup/gui/DESKTOP_FILE10:28
dpmsetup/gui/icon.png10:28
dpmbut I don't know if that's changed since10:28
Gunther_I seem to be unable to remove a sideloaded kernel.snap. Also to try to reinstall it fails: error: cannot perform the following tasks: - Mount snap "trionet-kernel" (cannot find mounted snap "trionet-kernel" at revision 100001)10:29
Gunther_sudo snap remove trionet-kernel_4.4.0_amd64.snap  error: can't remove "trionet-kernel_4.4.0_amd64.snap": cannot find snap "trionet-kernel_4.4.0_amd64.snap"10:30
Gunther_I am missing snappy ...10:30
mvodpm: meta/gui is the folder10:32
mvoGunther_: uh, oh :/ I assume all of this worked before? that are regressions that we need to tackle10:32
=== victorp_ is now known as victorp
dpmmvo, thanks. And then do I need to remove the 'icon' field or do anything different with the in snapcraft.yaml?10:33
mvoI'm curious if a 4.4.0-18-generic kernel boos in virtualbox on sata10:33
mvodpm: I think you can just remove it, if that does not work I will dg into the code10:33
popeyogra_: i see a canonical-pi3 in the store, does that mean we have a pi3 image somewhere?10:34
dpmthanks mvo!10:34
Gunther_mvo: I had issues before, I could remove a kernel.snap, but grub failed on reboot. See my posting on the mailing list.10:34
ogra_popey, you can just build one :)10:34
popeyogra_: but I will end up with sideloaded things I can't update?10:34
ogra_popey, sudo ./ubuntu-device-flash core rolling --channel edge --os ubuntu-core --kernel canonical-pi2-linux --gadget canonical-pi3 -o test.img10:34
popeye.g. my current image has a sideloaded canonical-pi3, which refuses to be replaced10:34
ogra_get the latest udf from mvo though10:34
dpmmvo, last question: https://github.com/ubuntu-core/snapcraft/blob/master/docs/metadata.md#snap-icon seems to indicate there should be a setup/gui directory - is that different from the meta/gui one or are the docs simply not up-to-date?10:35
ogra_popey, right, because i built it from local files back then10:35
popeyogra_: will building it as above make it so i can store update the snaps?10:35
ogra_yes10:35
popeysweet10:35
popeywhere's this funky udf?10:35
ogra_http://people.canonical.com/~mvo/all-snaps/10:35
popeytata10:37
dpmdholbach, popey, ok, I got a local build of clock working. I just need to figure out this stuff with the desktop file, see if I can get the x86 build as well, and then I'll upload to the store10:37
Gunther_mvo: regarding you question about4.4.0-18-generic: I am running a standard Ubuntu xenial on VirtualBox + SATA10:38
Gunther_mvo: uname -a Linux glaure-1604 4.4.0-18-generic #34-Ubuntu SMP Wed Apr 6 14:01:02 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux10:38
mvoGunther_: thanks! what is your lsmod output on this system?10:38
mvoogra_: I think we can push updated images today (yay), however still investigating a virtualbox issue that looks like kernel or kernel modules issue10:39
ogra_k10:39
Gunther_mvo: http://paste.ubuntu.com/15927730/10:39
mvoogra_: its very strange, it fails to boot in virtualbox on sata, its fine on ata10:40
mvothanks Gunther_10:40
ogra_uuh10:40
mvoogra_: I wonder if modules are missing from the kernel10:40
ogra_with our kernel ?10:40
Gunther_mvo: not limited to virtualbox - it does not boot on SATA10:40
ogra_Gunther_, did you try the default kernel snap too ?10:41
Gunther_ogra_: no but it is easy to test for me. Which one should I use?10:41
mvoogra_: its our kernel, I can reproduce it here too10:41
ogra_ah10:42
mvoogra_: I'm poking around in my busybox shell and it looks its very few .ko files only10:43
ogra_mvo, yeah, i switched to MODULES=list ...10:44
ogra_(saves up to 20MB (compressed !))10:45
ogra_i guess we'll need to add sata to the list then10:45
mvoogra_: something funny going on, the unpacked kernel snap has a lot more than what I see in my initramfs shell. do we do double initramfs loading or anything fancy10:45
Gunther_another issue is the naming of the network interfaces. At the first boot they are "ethX" on all following they are "enp0sX". This generates wrong entries at /etc/network/interfaces.d resulting in no valid net configuration after the first boot10:46
ogra_mvo, huh ? you mean the initrd in the kernel snap ?10:46
mvoogra_: oh, sorry, no, my mistake10:47
mvoogra_: the initird I need to poke at next, phonecall rightnow10:47
ogra_mvo, all initrds should only have squashfs nowadays10:47
ogra_mvo, we either list all controller modules or i switch back to MODULES=most10:49
mvoogra_: I think we miss controller modules, it seems they are =m10:51
ogra_mvo, yes10:51
ogra_i can add them all10:51
dakerkyrofa: what's the equilvant to "environment" in snapcraft 2.x ?10:52
sergiusensbzoltan dholbach log a bug please or give a pastebin at least. In the end we ldd and copy everything not in Ubuntu core and if it fails due to missing libs it will probably fail on install as well10:52
ogra_mvo, seems it is just "ahci.ko", i'll add that to the list ... if thats not enough we can switch back to MODULES=most10:53
mvoogra_: thanks10:54
ogra_Gunther_, wiould you mind trying that ? (adding ahci to your initrd modules in the kernel snapcraft.yaml so you end up with it installed )10:54
sergiusensdpm those paths are correct10:54
mvoogra_: will you regenerate the image once you did that?10:54
ogra_mvo, indeed10:54
Gunther_ogra_: sure I can try that10:55
mvoogra_: \o/10:55
dpmhi sergiusens - which ones are correct? meta/gui? setup/gui? Or both?10:55
ogra_to sad that the modules code is non arch specific in initramfs-tools ... we'll never need ahci on other arches i guess10:55
ogra_(arm and friends i mean)10:56
dholbachdpm, excellent10:57
sergiusenssetup/gui10:58
sergiusensUnless you are doing raw packaging which you aren't10:59
zygadpm: try setup/foo.desktop11:07
zygadpm: the icon should be in the main part of the snap, you can refer to it with $SNAP/some/path/icon.png11:08
zygadpm: the desktop file is correctly parsed and sanitized, copied to the right spot11:08
kalikianaSo... as of today's upgrade on my Xenial, "snappy" is gone, "snap" installs and runs snaps to /snap/ - but the snaps stop working after reboot and disappear from "snap list" - is this the right place to ask how to solve it?11:08
zygadpm: the icon is not copied there so it has to live with the main body of the snap11:09
zygakalikiana: yes,11:09
zygakalikiana: which snaps did you install?11:09
kalikianazyga: I had hello-world for example. I was able to run the commands from it. Now it's gone and I can't exec it anymore: execv failed: No such file or directory11:10
kalikianaIt seems like there are no mounts anymore11:10
zygakalikiana: do you hvae the snappy PPA or is that all from xenial proper?11:10
zygakalikiana: oh, interesting11:10
kalikianazyga: no snappy PPA, just Xenial11:10
zygamvo: I recall you mentioned this in the telegram channel, is that a bug in xanial that we don't mount snaps on reboot?11:10
kalikianazyga: I do have two mounts from the previous "snappy" command which is now gone, hello-world and docker11:12
kalikianaMaybe that conflicts somehow?11:12
kalikianaBut I have no way of removing those now11:12
zygakalikiana: I'm not sure but I would recommend a resetting your state, snap remove everything (if you can), remove snapd, remove everything in /var/lib/snapd and in a few other places11:12
* zyga should publish that reset-snappy script11:12
zygakalikiana: can you wait 20 minutes? I'll do this properly and then help you out11:13
kalikianaremove doesn't work: error: can't remove "hello-world": cannot find mounted snap "hello-world" at revision 2311:13
kalikianazyga: Sure, no hurry11:13
Gunther_ogra_: adding ahci seems to be non trivial for me. Please have a look at http://paste.ubuntu.com/15928133/11:16
bzoltan_Would somebody show me the simplest example of the copy plugin use?11:16
Gunther_ogra_: I am getting the error: modprobe -n --show-depends -d /home/jenkins/Mercurial/SW_APP/snap/driver/trion/parts/kernel/install -S 4.4.5-trion+ squashfs ahci [Errno 2] No such file or directory: 'ahci' -> '/home/jenkins/Mercuria l/SW_APP/snap/driver/trion/parts/kernel/build/initrd- staging/../../../ahci'11:16
ogra_Gunther_, might be you also need libahci11:17
ogra_Gunther_, is ahci enabled in your initrd ?11:17
ogra_err11:17
ogra_in your kernel config ... sorry11:17
ogra_oh, i see it11:17
* ogra_ wonders if the two optiojns are actually enough11:18
ogra_aha, you need CONFIG_ATA too11:20
Gunther_ok11:20
ogra_sergiusens, ^^^ how does the kernel plugin check config dependencies in snapcraft ?11:20
ogra_seems if i enable a high level config the low level deps are not getting enabled is the plugin just mangling .config or does it use some kernel config script ?11:21
Gunther_afaik the kernel plugins does nothing else than to run make "defconfig" and adding the given configuration from snapcraft.yaml11:25
Gunther_if no config file is given11:26
ogra_yeah, that wouldnt select the dependencies11:29
dpmzyga, sorry, I was on the phone, reading the backlog now, thanks11:30
sergiusensogra_ we don't, you are in charge11:31
ogra_sergiusens, ouch11:32
sergiusensmvo zyga please don't talk to people about internal layouts11:32
zygasergiusens: do you mean setup?11:32
sergiusenszyga I mean `meta/gui`11:32
zygaah, sorry11:32
zygaI will focus on the setup/ side11:33
sergiusenszyga if you do that, then you have to go into details of how the process works and I get questions from dpm of the type "which one is it?"11:33
mvosergiusens: well, I was asked about it, but yeah, I missed the context, of course dpm should just use the snapcraft primitives for this11:33
dpmsergiusens, zyga I'm totally confused.11:34
dpmcould someone just tell me:11:34
dpm- where should the desktop file go?11:34
sergiusensalso making him think he has to put something manually in snap/meta11:34
dpm- where should the icon file go?11:34
sergiusensthat is impossible and not feasable11:34
sergiusensmvo anyone asking about packaging setup here would ask about it from the snapcraft side here ;-)11:34
sergiusensmvo zyga which is why I wanted you guys to start using it ;-)11:35
sergiusensdpm so TOPDIR/snapcraft.yaml; TOPDIR/setup/gui/icon.png11:35
zygahmmm11:35
dpmsergiusens, ok, that makes sense, thanks. And which location for the desktop file?11:36
sergiusensthe docs were pretty clear in that respect, unless of course someone took you down the rabbit hole of looking in snap/meta ;-)11:36
zygasergiusens: please also explain how the desktop file should correctly relate to the icon file because that's non-obvious11:36
sergiusensdpm same TOPDIR/setup/gui/<desktop>.desktop11:36
dpmperfect11:36
dpmsergiusens, hm, but are there docs about it already? I couldn't find any mentions to the .desktop file in docs11:37
sergiusenszyga from your point of view; anything that is by convention goes into `setup`; the by convention for desktop files is going to suck a bit, but it is what we ended up with11:37
dpmanyway, that's the answer I was looking for, I'll add that to the clock app, thanks!11:37
sergiusensdpm no, desktop file is probably not mentioned. Let me check11:37
dpmsergiusens, I was looking at https://github.com/ubuntu-core/snapcraft/blob/master/docs/metadata.md#snap-icon11:38
zygasergiusens: I'm not disputing that, just the Icon=... line is tricky and requires voodoo to decuce by onself; we should just say how it should look like for things to wokr11:38
zygasergiusens: (AFAIR it should say Icon=$SNAP/meta/gui/icon.png)11:38
zygasergiusens: i.e. using $SNAP is mandatory for the icon to work in practice11:39
sergiusenszyga I thought you'd fix that on snap install11:39
zygasergiusens: but I may be wrong, plesae correct me11:39
zygasergiusens: I don't know :)11:39
sergiusenszyga I have no idea; but if someone who has no idea has to do Icon=$SNAP/meta/gui that is indeed crappy11:40
kyrofaGood morning11:40
zygasergiusens: later on I'll try and get back to you11:40
sergiusenskyrofa morning11:40
kyrofaHey sergiusens :)11:40
zygahey kyrofa11:40
* sergiusens is still chatting from his ubuntu phone hooked up to a bt keyboard using shout as a snap on digital ocean11:41
sergiusensI'm all in11:41
dpmmvo, do you have the sources for cap-test.xbomb somewhere? I'd like to see how Icon= is specified in the .desktop file ^^11:41
kyrofasergiusens, nice11:41
zygadpm: AFAIR just unsquasfs it, there is no source11:41
dpmok, thanks11:42
dpmzyga, sergiusens, can I use the copy plugin to copy the generated .desktop file and icon to setup/gui to avoid duplicating files in the clock app sources?11:42
* zyga doesn't know11:43
dpmor does the desktop/icon file voodoo happen before the plugin is run?11:43
sergiusensdpm no, and this is the sucky part about files with convention11:43
mvodpm: no sources unfortunately only the unpacked squashfs, you can look at /snap/cap-test/current/meta/gui/xbomb.desktop to see the "source" of the desktop file11:43
dpmok, thanks all11:44
sergiusensdpm so, I'll prepare a fix so you can use relative paths from the desktop file to find the icon11:44
dpmok11:45
dpmso cap-test specifies:11:45
dpmIcon=${SNAP}/xbomb.png11:45
dpmon the .desktop file, so I'll go for that for now11:45
sergiusensdpm I guess the desktop icon can point to anywhere, but the package icon has to be in the location I mentioned11:45
sergiusensif you want a nice icon in the store or whatever UI11:46
dpmsergiusens, ack11:48
dpmmvo, on the cap-test desktop file I also see a "StartupNotify=true" key. Do I need to add that to the clock app's desktop file as well?11:48
mvodpm: I'm not sure, it won't hurt but if upstream does not have it, you can probably ignore it11:49
zygadpm: that used to make icons bounce but I don't know if unity even implements that nowadays11:52
ogra_mvo, bah, on x86 it isnt possible to easily inject your own initrd into an image, right ?11:52
Gunther_sergiusens, ogra_ : I think I have found a kernel build issue in snapcraft. If a add more modules as kernel-initrd-modules like here: http://paste.ubuntu.com/15928133/   this information is used in the kernel plugin like this:  modprobe -n --show-depends -d /home/jenkins/Mercurial/SW_APP/snap/driver/trion/parts/kernel/install -S 4.4.5-trion+ squashfs ahci11:52
dpmack, thanks zyga11:53
Gunther_but only squashfs will generate valid output: modprobe -n --show-depends -d /home/jenkins/Mercurial/SW_APP/snap/driver/trion/parts/kernel/install -S 4.4.5-trion+ squashfs ahci11:53
dpmsergiusens, mvo, does this look ok in terms of adding the .desktop file + icon to the clock app? -> http://bazaar.launchpad.net/~dpm/ubuntu-clock-app/snap-all-things/revision/46811:53
mvodpm: looks good11:54
dpmawesome, thanks!11:54
ogra_Gunther_, yeah, that bneeds to be a per-module loop11:56
ogra_modprobe cant take a list in this case11:56
Gunther_ogra_: I will patch the kernel.py plugin and try that11:56
ogra_ogra@styx:~/all-snaps/amd64$ modprobe -n --show-depends  squashfs ahci11:57
ogra_insmod /lib/modules/4.4.0-18-generic/kernel/fs/squashfs/squashfs.ko ahci11:57
Gunther_exactly11:57
ogra_it thinks the second module name is a parameter11:57
Gunther_Should I report this as a bug?11:59
ogra_yes11:59
* dpm starts building clock app with desktop file support12:18
dpmmvo, sergiusens, am I supposed to see the icon in the dash and launcher for sideloaded apps? I built clock adding the desktop and icon files, sideloaded it, and I can only see a blank icon in the dash and launcher12:23
zygadpm: look at the dekstop file12:25
zygadpm: and see what it referes to12:25
dpmzyga, http://pastebin.ubuntu.com/15928862/12:26
zygadpm: thanks, let me check12:27
dpmzyga, so it seems I still need to manually put the icon file in $TOPDIR in addition to setup/gui?12:27
zygadpm: wait, I think something is wrong12:28
zygadpm: ${SNAP} should have been expanded12:29
zygadpm: looks like a bug somewhere12:29
dpmzyga, weird, for cap-test I can see the icon, though, and the ${SNAP} in the desktop file is not expanded either12:31
dpmzyga, but the difference there is that cap-test does ship an icon in the top directory12:31
zygaahh12:32
zygaI'm dumb12:32
zygadpm: of course -- that content is read only12:32
zygadpm: look at /var/lib/snapd/desktop/12:32
zygadpm: that will be what you want12:33
zygadpm: how does your desktop file look like there?12:33
* dpm looks12:34
dpmzyga, http://pastebin.ubuntu.com/15928960/12:35
zygadpm: then rebuild the snap with Icon=${SNAP}/meta/gui/icon.png12:36
zygaand put the icon in setup/gui/icon.png12:36
dpmzyga, yeah, the icon is already there, I'll just need to update Icon=12:36
dpmlet me give it a go12:37
zyga\o/12:37
Gunther_ogra_: https://bugs.launchpad.net/snapcraft/+bug/157211812:38
ubottuLaunchpad bug 1572118 in Snapcraft "kernel plugin _make_initrd fails to add given modules" [Undecided,New]12:38
zygasergiusens: can you patch snapcraft to generate: exec ... "$@"12:40
zygasergiusens: $* is a bug12:40
dpmzyga, it worked! :-)12:42
dpmzyga, but I guess that's still a bug in the sense developers should not know about meta/gui, right?12:43
ogra_Gunther_, thanks12:43
zygadpm: perhaps12:43
xorrrhi, in the snappy 15.04 img for raspberrypi2 there was apt-get in /usr/bin, i have use this to install wget to download scripts, in the 16.04 img apt-get seems to not be present anymore, what would be my alternative to have access to non-snap tools?12:43
jibelseb128, I had cap-test, clock and calculator installed from software center and after a reboot they are all gone.12:45
zygaxorrr: use classic dimension12:45
zygajibel: there's a bug where we don't mount snaps on reboot apparently12:45
jibelnice12:45
seb128jibel, ubuntu software you mean? ;-)12:45
seb128jibel, is snap list listing those?12:45
jibelseb128, yeah .*sofware.*12:45
sergiusenszyga yes we can; we already have a PR even12:45
jibelseb128, nope12:45
seb128k12:45
zygasergiusens: fantastic, thank you :)12:46
jibelzyga, you have a bug #?12:46
seb128so what zyga said I guess12:46
zygajibel: no sorry12:46
* ogra_ curses ... 12:47
sergiusensogra_ use a gui or ncurses instead12:47
ogra_mvo, what was the exact line for the task override ? was that "XB-Task: ubuntu-core" ?12:47
ogra_sergiusens, i prefera a good dialog :P12:48
mvoogra_: yeah12:48
ogra_damn thing ... always gets in my way12:48
* ogra_ ponders if waiting for 30min for the archive publisher or if uploading another package to the PPA ... 12:49
ogra_i guess the time it takes will be the same now12:49
mvoogra_: yeah, the task header is anoying12:49
jibelzyga, I filed bug 157212512:49
ubottubug 1572125 in ubuntu-snappy (Ubuntu) "install snaps are gone after a reboot" [Undecided,New] https://launchpad.net/bugs/157212512:49
zygajibel: thank you12:49
xorrrzyga, can't follow, classic dimension? is this a tool?12:49
ogra_who reboots anyway ... this is linux, not windows12:50
* ogra_ grins evil 12:50
zygaxorrr: it's a way to use classic ubuntu on snappy12:50
* zyga reboots to test that bug12:51
mvojibel: what does /etc/systemd/system/multi-user-target.wants/snap-*.mount looks like?12:51
jibelmvo, snap-*.mount or snaps-*.mount ?12:52
mvojibel: all of them, should be snap-* but if you have snaps instead that might be a clue too12:53
jibelmvo, http://paste.ubuntu.com/15929159/12:53
jibelmvo, there is no snap-*.mount12:53
mvota12:54
zygajibel: reproduced and confirmed12:58
* ogra_ taps foot12:59
=== davidcalle_ is now known as davidcalle
ysionneauzyga: I think the hash of ubuntu-device-flash (from mvo) changed again13:01
ysionneauI get integrity issues when using ubuntu-image13:02
zygaysionneau: would you mind sending a pull request, I'm in a call13:02
ysionneauok13:03
=== zyga_ is now known as zyga
Gunther_ogra_: the initrd now contains ahci.ko, still no success -> i will add libahci.ko too13:08
ysionneauzyga: done: https://github.com/zyga/devtools/pull/613:08
ogra_Gunther_, yeah13:09
dpmdholbach, popey, I just uploaded a working ubuntu-clock-app, would you mind reviewing it and approving if it works for you?13:15
kalikianazyga: Can you elaborate on how to "reset" snap/snappy? I'm happy to just remove all local data and try again to see if that resolves things.13:15
dholbachdpm, sure13:15
zygakalikiana: working on it13:16
zygakalikiana: in a call, give me a moment13:17
sergiusenskyrofa and zyga https://github.com/ubuntu-core/snapcraft/pull/47313:17
kalikianaOkay13:17
dpmdholbach, thanks! it seems the store still doesn't yet have the opengl interface?13:17
sergiusenskyrofa and zyga https://github.com/ubuntu-core/snapcraft/pull/47313:17
zygasergiusens: thanks :)13:18
dholbachdpm, click-reviewers-tools don't have it13:23
dholbachI have the same problem locally13:23
dholbachlet me see if it's updated in the branch13:23
dholbachno, it doesn't seem to be in there either13:24
dholbachfiling a bug13:24
dholbachhttps://bugs.launchpad.net/click-reviewers-tools/+bug/157214013:26
ubottuLaunchpad bug 1572140 in Canonical Click Reviewers tools "click-reviewers-tools don't know opengl interface" [Undecided,New]13:26
dholbachknown issues doc updated as well13:27
dpmthanks dholbach13:27
dholbachdpm, hohum...13:28
dholbacherror: cannot perform the following tasks:13:28
dholbach- Mount snap "ubuntu-clock-app" (cannot find mounted snap "ubuntu-clock-app" at revision 100001)13:28
dpmdholbach, what's that the output of?13:28
dholbachsudo snap install <snap>13:29
dpmdholbach, is that perhaps the result of rebooting and the issue with sideloaded apps?13:29
dholbachmaybe13:30
dholbachthis morning I had an issue like this when the state.json file was in an inconsistent state13:30
popeyuh13:30
popeyyou need to sudo snap install ./snap13:30
popeynot sudo snap install snap13:30
dholbachthat was fixed13:30
popeyor it tries to get it from the store13:30
popeyoh13:30
qengho"./"13:30
popeythings move fast here :)13:30
dholbachhttps://github.com/ubuntu-core/snappy/pull/90813:31
dpmI generally give it the full *.snap filename when I sideload13:31
qenghoIs it a test for a slash?13:31
_morphiszyga: ping13:37
zygahey13:37
ogra_mvo, fixed kernel snap works fine (with ahci added to the initrd)13:39
qenghoOkay, it's a new world. Where did "snappy config" and "snappy activate" functionality go?13:40
ogra_once all arches are done i'll push to the store13:40
zyga_morphis: I assume you are asking about bluez/nm interfaces13:41
Gunther_ogra_: Are you sure? Can look intp the kerne config?13:41
ogra_Gunther_, it is the linux-generic default config ... i just made sure ahci and libahci end up inside the initrd13:42
ogra_https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/xenial/ubuntu-core-system-image/+build/5850313:42
ogra_https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/xenial/ubuntu-core-system-image/+build/58503/+files/livecd.ubuntu-core.kernel.snap has the changed initrd13:42
_morphiszyga: yes, jdstrand said he gave you a patch to get the plug names into the policy13:42
popeydpm: clock app launches here13:42
zyga_morphis: yes, for bluez, I didn't do it yet but I have a TODO for today to do it13:42
zyga_morphis: we're doing another relase now13:42
Gunther_ogra_: ok. I have both in but still no success.13:43
popeydpm: some apparmor issues, but launches http://paste.ubuntu.com/15929760/13:43
ogra_Gunther_, well, works just fine here13:43
_morphiszyga: we should get ssweeny bluez interface fix in for that13:43
zyga_morphis: we've been fighting bugs and I was also really taking a slow day today13:43
_morphiszyga: :-)13:43
ogra_i'm looking at a booted vbox13:43
_morphiszyga: you have that patch available? can take a look at it too13:43
zyga_morphis: I've +1d it; it may get merged today, if not we're also planning 0-day SRU13:43
Gunther_ogra_: I must have done something different/wrong. I ll investigate13:43
zyga_morphis: the priority today is to not break the 16.04 release and fix critical bugs13:43
dpmpopey, indeed, these are known issues that might need a fix in the toolkit13:43
_morphiszyga: aye13:44
zyga_morphis: I'll ping you when I'll get back to bluez13:44
dpmpopey, dholbach, ok to approve clock, then? Calculator is building and I'll upload it next13:44
popeyit must have been approved if I got it from the store :)13:44
_morphiszyga: thanks13:44
dholbachdpm, it's approved13:47
sergiusensdpm dholbach have you guys tried any gtk apps? Those seem to be more complicated than anticipated :-)13:50
mvoogra_: \o/13:50
mvoogra_: thanks for fixing this13:50
sergiusenswell, I know less about gtk than Qt at least13:50
dpmsergiusens, we have IIRC, it seems getting the theming to not look like 1990  is one of the biggest issues13:51
ogra_oh, whee !!!13:51
ogra_http://i.imgur.com/gSPT5uj.png13:51
ogra_sergiusens, ^^^13:54
zygaogra_: is that m10?13:54
dpmogra_, hangouts working? :-)13:54
ogra_yep13:54
ogra_and yep :D13:54
dpm\o/13:54
zygawoooow13:54
Gunther_ogra_: Which config do I have to add to the kernel config to get /proc/config.gz  ?13:55
Gunther_ogra_: I think my problem is related with EXT4 filesystem upport13:55
ogra_CONFIG_IKCONFIG_PROC13:56
ogra_you want ext4 compiled in13:56
Gunther_ogra_: thanks and thanks13:56
sergiusensogra_ you even have video on! wow14:01
ogra_sergiusens, yeah, fully working14:01
sergiusensogra_ not surprised that it works, only surprised that you have video on :-P14:01
sergiusensogra_ this means it should eventually work on my phone; I want oSoMon to SRU the change into xenial; I'm using the webbrowser on desktop too; so much more light weight :-)14:02
popey14:51 < ogra_> http://i.imgur.com/gSPT5uj.png14:03
popeythat is the _first_ time I have ever seen ogra in a hangout :)14:03
ogra_LOL14:03
ogra_sergiusens, it is just three lines in the UA override file, worst case you can hack that in yourself14:08
_morphisjdstrand: pushed a reworked version of the networkmanager interface14:10
qenghoOkay, so looks like "config" and "activate" are being reimplemented. Foo.14:15
dholbachDid anyone ever seen an issue like this?14:21
dholbachdaniel@daydream:/tmp/2048.qml$ sudo snap install 2048-qml_1_amd64.snap14:21
dholbacherror: change finished in status "Hold" with no error message14:21
dholbachor is this related to the current state issues which are being investigated?14:21
dholbachzyga, ^?14:21
zygaone sec14:24
Gunther_where should I report a bug concering "snap"? https://bugs.launchpad.net/snappy ?14:26
zygadholbach: we saw it but it's still unclear what's going on14:29
zygaGunther_: yes14:29
dholbachzyga, shall I file a separate bug for it?14:29
zygadholbach: yes, I think so14:31
zygadholbach: that one looks a bit different14:31
dholbachok, will do14:31
zygathank you14:31
dholbachzyga, https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/157217514:34
ubottuLaunchpad bug 1572175 in snapd (Ubuntu) "change finished in status "Hold" with no error message" [Undecided,New]14:34
zygadholbach: could you try this script https://github.com/zyga/devtools/pull/7/files14:34
zygadholbach: use it to reset your state14:34
zygadholbach: reboot14:35
zygadholbach: and see if you can reproduce the issue14:35
dholbachzyga, I reset it this morningg already14:35
dholbachbut can try14:35
dholbachbut can try again14:35
zygadholbach: don't reboot again (that will trigger another bug)14:35
zygadholbach: if you can reproduce on top of that "clean slate" I will check it out locally14:35
pedronisdholbach: zyga: that one is weird it means all tasks for a change are in hold14:35
pedronismore interesting would14:36
pedroniswhat snap changes gives14:36
pedronisbefore resetting everything14:36
zygadholbach: ^^^14:36
zygapedronis: (good point)14:36
ppisatiogra_: i'm testing some custom kernel with snappy, but i'm having an hard time debugging why it fails in initrd14:36
dholbachI'm not sure I understand14:36
dholbachwhat am I supposed to do?14:36
zygadholbach: pastebin snap changes14:36
pedronisdholbach: sorry there's  command called "snap changes"14:36
ogra_ppisati, why is that ?14:36
dholbachah ok, thanks14:36
Gunther_ppisati: welcome to my world :)14:36
dholbachzyga, pedronis: http://paste.ubuntu.com/15930423/14:37
ppisatiogra_: basically, it fails while mounting root in /tmp_writable/system-data/var/lib/snappy/... /root14:37
ppisatiogra_: and i noticed that .../snappy/... is not there14:37
ogra_ppisati, old initrd then14:37
ppisatiogra_: before that i don't see any error14:37
ogra_the path changed a while ago14:37
zygappisati: it's now /var/lib/snapd14:37
ppisatiogra_: ok, so, what am i doing wrong?14:37
ogra_use a recent initrd14:38
ppisatiogra_: i'm building thekernel using snapcraft kernel pluging on a 4.4 kernel14:38
ppisatiogra_: on a xenial chroot14:38
ppisati*in14:38
ogra_latest snapcraft on xenial ?14:38
ppisatiogra_: from github14:38
ogra_with all your snapcraft login data present ?14:38
ppisatiogra_: yes14:38
ogra_weird14:39
ogra_sergiusens, you should realöly pull from cdimage :P14:39
ppisatiogra_: how do i check if i'm using an old initrd?14:39
popeyjdstrand: sorry, realised i asked that in the wrong channel - 15:36 < popey> jdstrand: did we get an answer about what we do with apps which need w access to /var/cache/fontconfig/ ?14:39
ppisatijust to be sure14:39
ogra_well the initrd has a version attached to the file inside the os snap ... not sure the plugin prints that somewhere14:40
ogra_*attached to the filename14:40
pedronisdholbach: what does "snap changes 8"  "snap changes 9" and "snap changes 10" and "snap changes 11" give ?14:40
dholbachpedronis, http://paste.ubuntu.com/15930491/14:40
dholbachsorry, forgot 1114:41
dholbachhttp://paste.ubuntu.com/15930498/14:41
ogra_ppisati, i think Gunther_ added a patch that allows you to use a local os snap for this ...14:41
ogra_not sure if that landed already14:41
ogra_http://cdimage.ubuntu.com/ubuntu-core/daily-preinstalled/current/ has the most recent one14:42
* ppisati checks14:42
pedronisdholbach: 11 is empty super weird14:43
zygakalikiana: hey, sorry ofr the delay14:44
zygakalikiana: can you please try this: https://github.com/zyga/devtools/blob/master/reset-state14:44
pedronisdholbach: what do you have in ls /snap/ubuntu-clock-app/  and /snap/ubuntu-clock-app/100001 ?14:44
zygakalikiana: this will give you a clean slate for experiments and reporting bugs14:45
dholbachpedronis, http://paste.ubuntu.com/15930578/14:45
pedronisdholbach: you 100001 is empty14:45
pedronisthat seems the reboot bug14:45
dholbachyep, it looks like it14:46
pedronisI mean the mount/reboot bug14:46
pedronisdholbach: so all you errors are accounted for14:46
pedronisdholbach: the empty 11 on Hold is super strange though14:46
dholbachok, cool - thanks a lot14:46
pedronisseems like a crash or something14:46
pedronisdholbach: anything interesting in the snapd logs ?14:47
popeydpm: dholbach have you packaged any non-qml graphical apps?14:48
dholbachcan you remind me how I check again? something with journalctl?14:48
zygadholbach: journalctl -u snapd14:48
dholbachthanks14:48
zygapedronis: perhaps we should add some instructions for people reporting bugs on lauchpad, to pastebin $ snap changes, journalctl, etc14:49
sergiusensogra_ I could and I wanted to but I couldn't find the snaps14:49
ogra_sergiusens, oh ?14:49
ogra_http://cdimage.ubuntu.com/ubuntu-core/daily-preinstalled/current/14:49
dholbachpedronis, http://paste.ubuntu.com/15930649/14:49
ogra_sergiusens, you want the *.os.snap files ...14:50
sergiusensogra_ I need it tied to xenial though14:51
ogra_ah14:51
ogra_that might only happen post release14:52
sergiusensIf not, once Y opens we will start picking from there and will have to SRU14:52
ogra_(unless you want to first check the default path and then fall back to a xenial one)14:52
ogra_well, fo Y the files will have the Y name as prefix14:52
dholbachpopey, no, sorry14:53
dholbachI tried, but failed14:53
popeyhm, same14:53
popeyok14:53
popeyta14:53
sergiusensI would rather leave it complicated as it is now so people get the fact that most of the kernel snaps they build are bound to break14:53
ogra_well, you are heavily relying on the assumption the dual initrd approach will actually work :)14:54
ogra_something nobody tested yet :)14:54
ogra_geez, uploading one set ofr snaps for all arches takes 1h of my day ... so annoying14:55
ppisatiFWIW, using the xenial src tree and the exact xenial config, i was able to build a working kernel14:55
ppisatibut when i started to reduce the config (start from x86_64_defconfig and add the systemd/ubuntu core options etc)14:56
ppisatii always end up in the initrd shell14:56
ogra_that sounds liek you disable something you shouldnt disable :)14:56
ppisaticause iit can't mound the root snap in /tmp_writable etcetct14:56
ppisatiogra_: yep14:56
ogra_moving ext4 to a module ?14:56
ogra_or some such14:56
ppisatiogra_: nope14:56
ogra_do you have squashfs defined in your initrd mopdules ?14:57
zygadholbach: could you please link/attach all the pastebins to https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/157217514:57
ubottuLaunchpad bug 1572175 in snapd (Ubuntu) "change finished in status "Hold" with no error message" [Undecided,New]14:57
dholbachzyga, sure14:57
zygadholbach: thanks!14:57
ppisatiogra_: yes, it's there and it's loaded14:57
dpmpopey, I haven't myself, no14:57
ppisatiogra_: the question is: i'm missing a part of14:57
dpmpopey, while dholbach are on a call, would you mind doing the calculator review on the store?14:58
ppisatiogra_: /tmp_writable/system-data/var/lib/snappy/...14:58
ppisatiogra_: where does it reside?14:58
dholbachdpm, already done14:58
pedronisdholbach: those in Hold (no Error) you should have got a message from snap the command, they are just left over of us creating the change before all the pre checks are done14:58
ogra_ppisati, inside the initrd ubuntu-core script14:59
dpmawesome, thanks dholbach14:59
pedronisnothing too serious we will fix14:59
* dpm updates spreadsheet14:59
ogra_ppisati, you definitely have an old initrd14:59
ppisatiogra_: but then why it works with the full config?14:59
ppisatiogra_: do you mind if i pass a kernel to test and you can confirm me it's an old initrd problem?14:59
ppisatiogra_: amd64 for kvm15:00
ogra_sure15:00
ppisatiok, one sec15:00
dholbachzyga, pedronis: so you suggest I run the reset-state script now and try again? or reboot?15:00
dholbachsorry if I'm a bit unconcentrated - I was in calls while we were looking at the problem15:01
ogra_mvo, (or beuno) ... please approve the set of http://paste.ubuntu.com/15930802/ (thats the full set of snaps with the fixed initrd)15:01
pedronisdholbach: the reset will not help I think15:01
dholbachok15:01
pedronisdholbach: what you need is the fix for the mount issues15:01
dholbachthat's 2.0.2 which went to the archive earlier?15:01
pedronisdholbach: mvo can tell you more about how to work with that15:01
pedronisdholbach: I think so, but not sure, mvo can tell15:01
dholbachok cool15:02
* zyga checks to offload mvo15:02
pedronisdholbach: you may need to cleanup snaps manually or fix some systemd units15:02
ppisatiogra_: http://people.canonical.com/~ppisati/xenialsnappyfuffa2defconfig_4.4.0_amd64.snap15:02
ppisatiyeah, the name is stupid, i know...15:02
dholbachso just installing 2.0.2 didn't fix it15:03
zygadholbach: use my reset script after installing 2.0.215:03
* zyga doesn't have 2.0.2 yet15:03
dholbachah ok15:03
dholbachwill do15:03
zygadholbach: then reinstall snaps you had15:03
pedronisdholbach: because the old units need fixing15:03
dholbachzyga, https://launchpad.net/ubuntu/+source/snapd/2.0.2/+build/959780015:03
zygapedronis: the script removes those units too15:04
pedronisah ok15:04
zygaah, it's in proposed15:04
zygadholbach: how does that promote to non-proposed?15:04
dholbachI think it's in binary NEW15:04
* Gunther_ is trying fuffa2defconfig :)15:04
dholbachso there's the first gate15:04
dholbachso there's the first gate: the review queue of uploaded source packages15:05
dholbachthen there's built binary packages in a queue15:05
dpmjibel, kgunn, ok, the new calculator and clock are now both installable from the store. They should be launchable from command line, the dash and the launcher15:05
dholbachboth of them are now in place since we're in final freeze and stuff15:05
beunoogra_, can you make sure you requested a manual review for all of them?15:05
ogra_phew ... in a few15:05
dholbachzyga, pedronis: http://paste.ubuntu.com/15930918/15:05
sergiusensogra_ it has been tested. And in any case, snappy can do the mashing on install if not15:06
dholbachzyga, pedronis: (after installing 2.0.2 and running reset-state)15:06
Gunther_ppisati: the same as with my kernel15:06
ogra_sergiusens, really ? show me the uboot changes then15:06
dholbachzyga, pedronis: maybe reboot?15:06
pedronisthe 2nd thing seems a store isse not sure15:06
zygahmmm15:06
zygastore issue15:06
pedronisit's not finding ubuntu-core15:06
ogra_(and no, chainloading grub is not an option until someone showed me how the DTs get handed over from bootloader to bootloader)15:06
dholbachok15:06
zygadholbach: with 2.0.2 your release will be looking for 1615:06
zygadholbach: I'm not sure if the store was changed yet15:07
zygabeuno: ^^15:07
dholbachok...15:07
dholbachI guess I'll hang in there then15:07
* zyga goes to make some snaps for testing15:07
ogra_yeah, make some schnaps !15:08
kgunndpm: yep, worked for me no prob15:09
sergiusensogra_ then my if not part of the sentence applies15:11
ogra_heh, k15:11
mvodholbach: store needs to be update to use the new "16" series15:11
dholbachok... so I guess I roll back to 2.0.1 then15:11
ogra_ppisati, i get the same error here ... werid15:11
dpmkgunn, great15:12
ogra_i wish i could see all messages ... i guess the error is scrolled off screen15:12
zygadholbach: 2.0.1 has the mount bug, you want 2.0.2 and you want beuno to tweak the store15:12
dholbachok15:14
beunowe're updating to 16 today15:14
ppisatiGunther_: are you having the same issue?15:15
Gunther_ppisati: yes it looks like that15:15
* zyga hugs sergiusens for "snapcraft help <plugin>"15:15
ppisatihttp://pastebin.ubuntu.com/15931130/15:16
ppisatiGunther_: ogra_ ^15:16
ppisatithis a snapcraft.yaml15:16
ppisatifor an exact copy of the amd64 that we use in xenial15:16
ppisatiand it works fine15:17
ppisatiif you want to try it out15:17
Gunther_looks very similar to mine. but ogra_ and I add ahci.ko and libahci.ko to initrd15:18
ogra_right, but thats a different issue15:18
ogra_i doubt ppisati uses VBox15:18
ppisatinope15:18
Gunther_you re right15:19
ppisatiqemu-kvm15:19
ogra_the the disk is found too15:19
ogra_sigh, how do i get kvm to actually output everything to serial15:19
ogra_booting with -nographic doesnt seem to get me the initrd errors15:19
dholbachdpm, I'm working on 2048 right now, but unfortunately my snapd state is broken right now (https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1572175) and the new snapd (2.0.2 from the archive admin queue, which fixes a bunch other issues) depends on a change which is going into the store, so I'm a bit stuck (just a quick summary)15:20
ubottuLaunchpad bug 1572175 in snapd (Ubuntu) "change finished in status "Hold" with no error message" [Undecided,New]15:20
dpmdholbach, argh, np, thanks for the update15:21
dholbachdpm, if your snapd still works, maybe you can try http://paste.ubuntu.com/15931236/?15:21
=== charles_ is now known as charles
dpmdholbach, cool, thanks15:22
dholbachdpm, shall I add it to the snappy-desktop-examples branch already?15:22
dpmdholbach, yes please. It will also need the wrapper to set the environment variables, I think.15:22
dpmunless it already worked for you without the wrapper?15:23
dholbachdpm, ok... I didn't get that far - "qmlscene 2048.qml" locally works15:23
* dpm tries15:23
Gunther_ogra_, ppisati : I try to use the https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/xenial/ubuntu-core-system-image/+build/58503/+files/livecd.ubuntu-core.os.snap now and not the os.snap coming from the store15:24
dholbachdpm, added to the branch15:24
dpmdholbach, argh: http://pastebin.ubuntu.com/15931341/15:26
dholbachdpm, https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/157217515:28
ubottuLaunchpad bug 1572175 in snapd (Ubuntu) "change finished in status "Hold" with no error message" [Undecided,New]15:28
dpmthat's a bit of a big blocker :/15:29
Gunther_ogra_: it worked!15:29
ogra_awesome15:30
mvodholbach, dpm: the store is moving to the new 16 series and we need to reupload our snaps for this, this means for the next couple of hours the 2.0.2 release is a bit bumpy15:30
zygamvo: reupload or republish?15:30
dpmmvo, thanks. Do you happen to know if there is a workaround for that "Hold with no error message" bug?15:31
Gunther_ppisati: its os.snap. the one downloaded by the snapcraft kernel.plugin is not "current" enough15:31
ogra_yeah15:31
mvozyga: I thnk its reupload, beuno will know for sure15:31
dholbachdpm, I think 2.0.2 from https://launchpad.net/ubuntu/+source/snapd/2.0.2 helps, but as mvo said that won't work as we're waiting for a store fix to land15:31
ogra_let me switch them to manual approval and get beuno to approve them, that should fix you15:31
mvodpm: not right now afaik15:32
* ogra_ goes on a clicking spree 15:32
mvodholbach: I'm publishing some snaps now (go-example-webserver) may already be available15:32
ogra_oh, seems someone approved the ubuntu-core ones without requesting15:34
ogra_beuno, http://paste.ubuntu.com/15931482/ ... all in manual queue now15:34
beunoogra_, I did!15:35
beunothey were indeed requested, somehow  :)15:35
ogra_ah, awesome :)15:35
beunoapproving the rest15:35
ogra_ppisati, so try again ...15:36
beunopackage contains external symlinks: lib/modules/4.4.0-1004-raspi2/build lint-snap-v2_external_symlinks15:36
beunoogra_, I assume that's expected, yes?15:36
ogra_indeed15:36
ogra_thats our kernel package15:36
ppisatiogra_: a new os.snap has landed?15:36
ogra_they all have that danglinmg symlink15:36
ogra_ppisati, yes15:36
ppisatik, /me tries15:36
beunoogra_, right, so the reason the other ones made it to the queue is because they only triggered the OS flag, which sends it to manual review automatically15:37
beunoogra_, these ones trigger an error due to these symlinks15:37
=== Guest10951 is now known as pmp
ogra_ah15:37
ogra_ubuntu@localhost:~$ sudo snap refresh ubuntu-core15:37
ogra_error: can't update "ubuntu-core": cannot find snap "ubuntu-core"15:37
ogra_bah !15:37
beunoogra_, you can work with jdstrand maybe to improve the reviewer tools15:37
beunoso that doesn't happen15:37
ogra_beuno, yeah, kernel snaps should be handled special :)15:38
ogra_so how do i get my updated rootfs now15:38
beunowe're all special in some way15:38
ogra_snap find shows the new one15:38
ogra_but snap refresh doesnt15:38
pedronisogra_: in which channel is the new one?15:39
pedronismvo: ^15:39
ogra_pedronis, shoudl all be edge15:39
pedronisyou need to do snap refresh --channel=edge ubuntu-core15:39
ogra_the image is built from edge (sideloaded gadget though)15:39
pedronismaybe15:39
pedronis(default is stable)15:39
ogra_ubuntu@localhost:~$ sudo snap refresh --channel=edge ubuntu-core15:40
ogra_error: can't update "ubuntu-core": cannot find snap "ubuntu-core"15:40
ogra_nope15:40
pedronisthen don't know15:40
ogra_ubuntu@localhost:~$ snap find|grep ^ubuntu-core15:40
ogra_ubuntu-core          16.04+20160419.13-38             The ubuntu-core OS snap15:40
pedronismvo: ^ is that a new store issue?  or things aren't published yet in the right places?15:40
ogra_ubuntu@localhost:~$ snap list|grep ^ubuntu-core15:40
ogra_ubuntu-core         16.04+20160415.05-15             canonical15:40
ogra_so list and find know about it15:40
ogra_same issue with the kernel snap btw15:42
ogra_ubuntu@localhost:~$ snap list|grep ^canonical-pi2-linux15:42
ogra_canonical-pi2-linux 4.4.0-1004-raspi2+20160410.15-31 canonical15:42
ogra_ubuntu@localhost:~$ snap find|grep ^canonical-pi2-linux15:42
ogra_canonical-pi2-linux  4.4.0-1004-raspi2+20160419.13-51 The ubuntu-core kernel snap15:42
mvoogra_: I don't see a 16.04+20160415 in the store yet, let me double check15:44
ogra_mvo, i want to upgrade to 16.04+20160419.13-3815:44
ogra_16.04+20160415 is the local version15:44
ogra_(this is armhf btw, so the timestamp varies a bit)15:45
plarselopio: fgimenez: Hi, any thoughts on the errors I sent you? Are you still hitting those as well?15:45
ppisatiit's stuck there trying to download ubuntu-core15:45
mvoogra_: so this is store and side load?15:45
ogra_mvo, store os and kernel, sideloaded gadget ... from yesterady15:46
* ogra_ tries the dragonboard instaed ... i think there i dont have any sideloading 15:46
elopio;5~;5~15:47
ogra_elopio, !15:47
ogra_elopio, "internet by bucket" ?15:47
ogra_mvo, same behaviour on dragfonboard without any sideloaded snaps15:47
ogra_(so it isnt the sideloading)15:48
pedronisogra_: do you have content in you /snap/ubuntu-core ?15:49
elopioogra_: what's that internet thing you are talking about? In this little town we just share the latest news sundays in the church.15:49
pedronisyour15:49
pedronisI mean the one you are trying to update15:49
ogra_ubuntu@localhost:~$ ls /snap/ubuntu-core/15:49
ogra_92  current15:49
mvoogra_: so you have an os snap and you call snap refresh ubuntu-core and it claims it can not find it? is that what you see?15:49
elopioplars: sorry, I have crappy connection. Will try to reproduce your problems in the afternoon.15:49
ogra_ubuntu@localhost:~$ ls /snap/ubuntu-core/current/15:49
ogra_apps  bin  boot  dev  etc  home  lib  media  meta  mnt  opt  proc  root  run  sbin  snap  snaps  srv  sys  tmp  usr  var  writable15:49
plarselopio: no problem, I'm not in a rush. Just curious15:50
ogra_mvo, right, the same goes for the kernel snap15:50
ogra_mvo, but find and list work fine ... seems to be refresh only15:51
mvoogra_: what version of snapd do you see in /usr/share/snappy/dpkg.list?15:54
ogra_ubuntu@localhost:~$ grep snapd /usr/share/snappy/dpkg.list15:55
ogra_ii  snapd                         1.9.3~ppa65-1                arm64        Tool to interact with Ubuntu Core Snappy.15:55
ogra_ii  ubuntu-core-snapd-units       1.9.3~ppa65-1                arm64        Scripts for snapd that should only run on ubuntu core systems.15:55
ogra_the image was built yesterday afternoon15:55
pedronisah this is pre 2.015:55
ogra_lates core from the store15:55
pedronisso doesn't work with the store anymore15:55
ogra_fun15:55
ogra_we really need auto-uploads to work :/15:56
pedronisit's complicated story15:56
mvoogra_: in rolling?15:56
mvoogra_: eh, edge?15:56
mvoogra_: sorry, stable is super outdated right now15:56
pedronisit's the store that stopped working for it to be precise15:56
mvoogra_: I will fix this soon but I had hoped to release stable with a 16 channel15:56
ogra_manually uploading all snaps for and image refresh is a job for someone who killed mother and father with an axe15:56
ogra_(takes easily 1-2h)15:56
ogra_mvo, thats all edge15:57
mvoogra_: tell me about it!15:57
pedronisedge but old edge15:57
pedronisno edge15:57
ogra_i havent used stable in 6 months or so15:57
mvoogra_: uh, then its matter of reuploading to edge, *sigh* amd64 is up-to-date15:57
mvoogra_: I thought I did update today all ubuntu-core snaps in edge15:57
ogra_mvo, you mean beaond what i uploaded qh ago ?15:57
ogra_*1h15:57
mvoogra_: maybe I was dreaming :/ or your image is build this monring before I did that15:57
pedronismvo: yes, but they cannot be updated15:57
pedronisbecause remember the store changed and they can't find things there15:57
mvopedronis: yes15:58
mvoogra_: oh, you did not do a reflash?15:58
pedroniswell he has 1.9 for snapd15:58
mvopedronis: sorry, misunderstood, I assumed he did a reflash not just an update15:58
pedronisthat doesn't sound reflashed15:58
mvoogra_: sorry, please reflash15:58
ogra_mvo, no, i did an image re-build and uploaded all snaps to the store about 1h ago ... about 30min ago beuno released all of them15:58
ogra_the image is from yesterday15:59
mvoogra_: and you got version 1.9.x, let me check the build logs15:59
pedronisppa vs archive?15:59
pedroniswe didn't udpate the ppa in a while?15:59
mvoogra_: right, the image needs to be rebuild15:59
ogra_task header ?15:59
mvopedronis: I did update the ppa today15:59
mvoogra_: hmmm15:59
ogra_the rootfs build alwaqys prerfers the archive if you dont have the task header15:59
mvoogra_: build log for armhf shows 2.0.2+ppa70-116:00
mvosame on arm6416:00
ogra_mvo, yes, for todays build ...16:00
ogra_my image is yesterdays16:00
mvoogra_: thats too old, sorry16:00
mvoogra_: you need to rebuild the image with todays snaps for this to work16:00
ogra_well, fine then ... but we need some auto-upload going ...16:01
mvoogra_: updates from yesterday to today won't work, its complicated (like pedronis said) and has to do with store interaction16:01
* ogra_ ponders to simply route it through a local PC for now 16:01
dpmpopey, for ffmpeg in snappy-playpen, are all the files around snapcraft.yaml needed for the build? If I understand it correctly, we need the *.launcher files, but the clean_build and rebuild files are just convenience scripts to run manually to make packaging easier, right?16:17
popeydpm: convenience16:17
popeyprobably don't need any of the launchers, as it looks like snapcraft makes a binary for the app name automatically16:17
popeydpm: I'd just grab the 'part' for ffmpeg16:20
ogra_jdstrand, tyhicks, FYI i unseeded tpm-tools today (since the MIR is unlikely to get through due to opencryptoki) http://people.canonical.com/~ogra/core-image-stats/20160419.4.changes16:28
ogra_ricmm, ^^^16:28
elopiokyrofa: sergiusens: how do we deal with projects that are in sourceforge?17:08
dpmzyga, still around?17:09
ogra_mvo, where does that stuff come from ? http://cdimage.ubuntu.com/ubuntu-snappy/daily/current/17:11
mvoogra_: I don't know, I would assume its a snapshot of my all-snaps page17:18
ogra_hwo can that happen if not you or me put it there ?17:23
ogra_having random images show up at a semi-official place without you or me knowing isnt actually great17:23
dpmpopey, btw, adding the ffmpeg part to the youtube-dl snap worked great to overcome the initial bug :). Now I'm looking at another part that's not quite working yet.17:25
ogra_slangasek, i assume you dont know either how the images at http://cdimage.ubuntu.com/ubuntu-snappy/daily/current/ got there ?17:25
popeydpm: yay!17:25
dpm:)17:25
jamiebennettogra_, mvo, would be nice to sort this out17:26
slangasekogra_: I put them there17:27
slangasekogra_: by taking a snapshot of the people.c.c stuff that we were pointed to, yes17:28
slangasekmore permanent solution still in progress17:28
ogra_slangasek, well, they are not actually usable :)17:28
slangasekogra_, mvo: one snag I became aware of in talking with infinity, seems that the udf needed for these builds is not in the archive? why not?17:28
ogra_nor upgradeable17:28
slangasekogra_: well, they are what I was pointed at when we discussed one-off publishing of snappy images and no one had rescinded that order.  I can certainly take them down again if that's the right answer17:29
slangasekor does someone have one I can replace them with that is upgradeable?17:29
ogra_slangasek, seems that someone wants to completely re-define gadget and kernel before we release images ... so that udf would be broken again in the archive17:29
ogra_slangasek, i usually ask people to build their own image nowadays ... and i think mvo also wiped them from the people.c.c page because they were always behind17:30
ogra_now with the last snapd and store changes they wont be upgradeable at all17:30
ogra_and these changes are still not final17:31
dpmniemeyer, I'm not sure I'm interpreting the output of 'snap interfaces' correctly. Does this mean that L19 is not connected? -> http://pastebin.ubuntu.com/15934268/17:31
slangasekogra_: ok; so you understand that we've been asked to publish pre-built images to cdimage.u.c ASAP?17:31
ogra_slangasek, we shoudl simply not release images yet ... they arent ready and might still change in incompatible ways ... especially if kernel and gadget get changed massively again17:31
slangasekand are not being given the tools to do so17:31
ogra_slangasek, well, not my decision ...17:32
* ogra_ was in fact asking for u-d-f in the archive for the last few months ... but the prob is really that the format changes all the time .... 17:32
ogra_*especially* with the nearly-rewrite that snappy has seen in the last weeks for desktop inclusion17:33
slangasekogra_: well, I would appreciate some consistency here; either we're "not ready" to publish images and Foundations should deprioritize this, or it's important to publish them and so the tools should be in place to support this17:33
ogra_slangasek, afaik snappy release date is some time in july ...17:33
ogra_and i'd say we're not ready currently ... with luck we can have an alpha state image by end of the week17:34
slangasekand so we'll have a working udf in the archive by...?17:34
ogra_probably mvo or niemeyer want to chime in here17:34
kyrofaelopio, sorry I was grabbing lunch17:34
ogra_since all relevant discussions happen in telegram where i'm not part of17:34
ogra_slangasek, by SRU (i guess) :)17:35
kyrofaelopio, however, I don't quite understand the question. How do we deal with them? Are they special in some way?17:35
slangasekogra_: I meant "by" as in "by what date"17:36
ogra_yes, i know ... cant tell you17:36
ogra_mvo ^^17:36
niemeyerdpm: Yes, that means it was disconnected at that time17:37
niemeyerslangasek: We believe we'll have working images by tomorrow17:38
slangasekniemeyer: what does that mean exactly?  you'll be building the images locally and we should do a one-off copy again to cdimage.u.c?17:38
dpmniemeyer, thanks. So that seems to confirm that the home interface is not autoconnected, if I understand it correctly. After manually running 'sudo snap connect youtube-dl:home ubuntu-core:home' it all seems to work17:39
ogra_slangasek, btw, we have a release process that images need to go through, documented in a trello board ... that includes the minimal amount of QA17:39
niemeyerslangasek: Sorry, I actually meant we'll have Snappy code capable of being run in an image built by udf tomorrow17:40
ogra_https://trello.com/c/PUpWXouz/89-stable-release-checkpoints17:40
niemeyerdpm: Sweet!17:40
slangasekniemeyer: ok; AIUI that still doesn't give me a udf in xenial that I can use for official image mastering17:40
ogra_niemeyer, the question was if we can get the u-d-f that produces usable images in the archive17:40
ogra_since the server that builds them will most likely use the archive to obtain all build tools17:41
ogra_slangasek, the prob with udf is that it also needs to be tied to http://cdimage.ubuntu.com/ubuntu-core/daily-preinstalled/current/ and to the store itself17:41
ogra_the build setu we need is pretty complex17:42
ogra_(cdimage produces the snaps ... the snaps need to go to the edge channel in the store, need to get approved and only then u-d-f can kick in and create images)17:42
slangasekniemeyer: and I guess ogra_ is raising concerns about the images currently published to http://cdimage.ubuntu.com/ubuntu-snappy/daily/current/ , which we've published there by request of olli/dholbach because not having images in an official location was blocking updating of the documentation for 16.04; so it's not clear to me if we need to be removing the images currently there or if we should just17:43
slangasekleave them alone and replace them with tomorrow's images once available / QAed17:43
ogra_there are multiple infrastructure parties involved17:43
ogra_slangasek, well, did any docs get updated to point to them ?17:43
slangasekogra_: I am aware of the overall architecture, I am only asking for udf in xenial17:43
ogra_if not we can leave them there ...17:43
slangasekogra_: and if the docs *did* get updated you would instead pull them and leave dangling doc links?17:44
ogra_if there are actually docs pointing to them they should warn that the majority of stuff doesnt work and that they are not upgradeable17:44
ogra_or we should wipe them for now17:44
ogra_neither is a good way ...17:44
niemeyerslangasek: are these snappy 2.0 images, 16.04, or something in between?17:46
ogra_niemeyer, 1.917:46
niemeyerIf it's something in between, I think we should remove them17:46
ogra_16.0417:46
ogra_from beginning of the month17:46
niemeyerYeah, that sounds like more pain than gain17:47
ogra_they wont be upgradeable and only have half of the interfaces implementation17:47
niemeyerI'd remove and ship new ones with 2.0 tomorrow17:47
ogra_if they pass QA :)17:47
niemeyerYep17:47
* ogra_ was aiming for friday ... then the worst release stuff is over and people have a brain agaiin 17:47
ogra_for alpha quality images that is17:48
ogra_and i think mvo was on the same page17:48
dpmdavidcalle, youtube-dl example working17:48
mvoyeah, image with snapd 2.0 this week, my goal was actually today and we almost made it17:48
mvothen came the store change to 1617:48
ogra_and vritualbox explosions :)17:49
mvobeuno: no pressure but in order for snap 2.0.2 with the series=16 change we need a working autopkg test which means we need a working 16 series because the autopkgtest tries to install stuff from 16 :/17:49
ogra_mvo, slangasek's main point is u-d-f though17:49
ogra_mvo, whatever will build future images will have to pull u-d-f from the archive17:50
mvoogra_: we have that only in a ppa currently :/17:50
ogra_which means we need some working version landed before release17:50
mvobeuno: I think we will need ubuntu-core and hello-world in there17:50
mvoogra_: in the archive?17:50
slangasekmvo: what blocks uploading it to the archive?17:50
ogra_mvo, why are we holding back (apart from expected changes) it snt like udf for core is in any way usable in the archive right now17:51
ogra_15.04 will soon be deprecated and for 16.04 the archive u-d-f would actually try to use system-image17:51
ogra_just upload the PPA one so we at least have a semi working snapshot ...17:52
* ogra_ can do that if you fear TIL :)17:53
ogra_slangasek, another thing ... due to bug hunting i didnt manage to write my MIRs, is there still time ( i dropped tpm-tools from the image but still need libnss-extrausers, watchdog and ubuntu-core-libs in main) ?17:55
slangasekogra_: whether there's time or not, please work on these so we can have sane archive state for release17:55
* ogra_ will write them today before EOD 17:55
ogra_yeah, understood17:56
beunonessita, ^^^^^17:56
beuno(otp)17:56
ogra_i guess worst case we can also drop watchdog ... extrausers is kind of essential though17:56
nessitabeuno, ogra_, a little lost from the backlog, how can I help?18:00
ogra_nessita, mvo> beuno: no pressure but in order for snap 2.0.2 with the series=16 change we need a working autopkg test which means we need a working 16 series because the autopkgtest tries to install stuff from 16 :/18:01
ogra_nessita, <mvo> beuno: I think we will need ubuntu-core and hello-world in there18:01
nessitaogra_, beuno, mvo I know, I'm on this since this morning, but still not available, working actively in this18:05
mvonessita: yeah, sorry for rushing this all18:22
mvoslangasek: we expect changes to the kernel and gadget snap definitions so a u-d-f that is uploaded today is probably not the final result. I don't know the details or scope of the changes, just that its unlikely that the archive u-d-f would be able to create images for snappy core 16 devices.18:23
mvoogra_: see above, we have a u-d-f branch that can create images today, however the format of the kernel/gadget is not finalized18:24
ogra_mvo, i know that :)18:25
ogra_but the diff we need to SRU will at least be smaller and whoever works on the image generation in foundations can move on18:25
ogra_(i didnt even know someone in foundations does :P )18:25
sergiusenskyrofa hey your autopackage tests failed18:27
kyrofasergiusens, hrmm18:27
kyrofasergiusens, OSError: [Errno 5] Input/output error18:29
kyrofasergiusens, running them again18:29
sergiusensmvo niemeyer ogra_ slangasek I am not super happy about publishing images AT all fwiw; the work that is going to happen later with gadget and kernel will probably break these same images. I publish them only once the final sutff is done and dust has settled18:38
ogra_slangasek, fully with you here :)18:39
sergiusensunless we can guarantee an upgrade path, I would really deprioritize18:39
ogra_(that is why i brought it up in the first place)18:39
niemeyer_sergiusens: Why will it break these images?18:39
ogra_sergiusens, yeah, how would we guarantee that if we dont even know how the changes will look like18:40
ogra_niemeyer_, the point is that we dont know if we will have any upgrade path from todays kernel/gadget at all yet18:40
slangaseksergiusens: this is essentially an argument for not documenting 16.04 at all until later because you don't want people to use it.  That's not my call, just want to be clear about the implications18:41
ogra_its isnt that we know it will break ... bt it is very likely18:41
niemeyer_ogra_, sergiusens: We can name the snaps as legacy-kernel and legacy-gadget18:41
niemeyer_We don't need to break the images, strictly speaking18:41
ogra_niemeyer_, how does that help me to upgrade an image i install today (to use in production asap)18:41
ogra_(i mean how does the renaming help)18:42
niemeyer_ogra_: It helps because we can keep the old using the old18:42
ogra_niemeyer_, and maintain two snaps per gadget/kernel ?18:43
ogra_note that releasing a single image is over 1h of work with manual uploads and manual approval in the store today18:43
niemeyer_ogra_: No.. and to be honest the goal wasn't to provide long term support for these initial images18:43
ogra_right18:43
niemeyer_ogra_: But rather to allow people to start playing18:43
pedronisalso these wouldn't be meant for production either way, they are more to start getting used to the other aspects of snappy that won't change as much18:43
ogra_so we shouldnt have them at all18:43
niemeyer_So what is best?18:43
ogra_until we can provide an upgrade path18:43
ogra_if people want images they should use u-d-f and roll their own for playing18:44
niemeyer_That seems a bit harsh..18:44
niemeyer_We can simply label the images as preview, and implement a mechanism that tells them when they cannot update18:44
ogra_better than giving them broken stuff they can not upgrade18:44
ogra_"implement a mechanism"18:45
niemeyer_ogra_: Better for whom?18:45
ogra_do we have time for that ?18:45
niemeyer_ogra_: LOL18:45
ogra_:)18:45
niemeyer_ogra_: Have you seen the last two weeks?18:45
ogra_yes18:45
ogra_i suffered too :)18:45
ogra_if i build an image using u-d-f i'll likely talk to someone before ... who tzhen tells me it will be an interim image that i can not upgrade ...18:46
niemeyer_ogra_: That's not the point.. pedronis or mvo could likely implement something like that while they're having an icecream on the other hand18:46
niemeyer_We just need to understand what we want18:46
ogra_if i download some image from cdimage that some G+ post pointed to i wont know that18:46
ogra_niemeyer_, videos or it didnt happen :P18:46
niemeyer_ogra_: The fact it's labeled as "preview" tells you18:46
ogra_niemeyer_, http://cdimage.ubuntu.com/ubuntu-snappy/daily/current/18:47
niemeyer_ogra_: Seriously.. I just got errors on my 16.04 upgade. Let's not pretend everything needs to be perfect or we don't ship18:47
ogra_currently nothing tells me18:47
ogra_but indeed we could add rthat there18:47
ogra_niemeyer_, you got errors ... i only get "snap not found" for any snap i try to upgrade on an image i freshly built yesterday18:48
niemeyer_The goal here is to unblock people to experiment, even if they're explicitly told the image may need reflashing once it's final18:48
ogra_and i was told it wont work anyway, i need to re-do the image and re-flash18:48
ogra_had i actually done any work on these images i would perhaps been pissed off now (as an enduser)18:48
niemeyer_ogra_: Yep, that's part of the fun of being involved on a fast moving project18:49
ogra_if we release anything this week it clearly needs to be marked alpha or pre-alpha18:49
ogra_niemeyer_, sure, and i personally dont mind ... but users will18:49
mvolabeling it alpha is fine and I think we need to have something for people to play with18:50
niemeyer_ogra_: That's one of the reasons why we don't have an image out yet.. the image you built and got snap not found was built locally, with your own udf, right?18:50
niemeyer_ogra_: We want to build an image that sort of works for people to experiment with, even if we need to cook a mechanism that will blacklist it against updates when we choose to18:50
ogra_niemeyer_, with the most official u-d-f ... the point is that the store changed and that the snaps in the sotre werev weeks outdated because it is a pain to release an image (as i said, took me over 1h to even upload all bits manually today)18:51
niemeyer_ogra_: Oliver, you should see when they broke the API last week, just while the integration test servers stopped responding..18:52
ogra_niemeyer_, so lest do an alpha image by end of the week (have something ready tomorrow to give it to QA)18:52
ogra_and very very clearly promote it as alpha everywhere18:52
niemeyer_ogra_: We have the same goal.. working and stable software. Take a deep breath and please give us a hand getting there.18:52
niemeyer_ogra_: Not releasing anything is not helpful towards that.18:52
ogra_do i get across liek i need a deep breath ?18:52
ogra_:)18:52
niemeyer_ogra_: I heard you.. tomorrow will meet with mvo so we figure which caveats we want in place.18:52
* ogra_ is totally calm :) 18:53
ogra_i just want to get this sorted ... and in a way that fits us all ...18:53
niemeyer_ogra_: Yep, we'll get it sorted, and will have images for people to play with. They will be experimental, and that's okay.18:54
ogra_niemeyer_, one point is that whatever will finally do the image build in the infrastructure willl need to pull the build tool from the archive18:54
ogra_niemeyer_, so we need to get u-d-f in ... even if it isnt finished that will at least create a smaller SRU diff18:54
niemeyer_ogra_: Tomorrow, with more time and out of mvo's evening, I will meet with him and discuss how to get experimental images in place.18:55
ogra_niemeyer_, and we also need to check the communication breakdown we had with http://cdimage.ubuntu.com/ubuntu-snappy/daily/current/ ... but thats something for the monday meeting18:55
ogra_niemeyer_, sure18:55
* ogra_ has been discussion with mvo all wee on that topic :) all this just got triggered by images showing up on cdimage out of the blue and nobody knowing why :) 18:56
ogra_*discussing18:56
niemeyer_ogra_: Yep, I know, and your input is appreciated.18:56
ogra_:)18:56
niemeyer_and sergiusens's18:56
niemeyer_ogra_: We'll be more careful as a side effect.18:56
niemeyer_ogra_, sergiusens: For the record, we already have a mechanism in place, today, that enables us to ship snaps that will refuse to work on an old revision of ubuntu-core.18:57
niemeyer_Forcing ubuntu-core itself to be updated first18:58
ogra_niemeyer_, well, but thats indeed requires ubuntu-core to be upgradeable :)18:58
ogra_which is todays issue18:58
niemeyer_ogra_: and it isn't!?18:58
ogra_(or was ... tomorrows images will now work)18:58
ogra_niemeyer_, not when buuilding from yesterdays snaps in the store18:59
ogra_i pushed a complete set of snaps today ... so now that should work18:59
niemeyer_ogra_: Because we decided to change the series while coordinating the store team, the 16.04 release team, and the snappy core team..?18:59
niemeyer_ogra_: This wasn't made out of the blue..?18:59
ogra_right ... so snap list and snap find show you upgardeable snaps but snap refresh ends up with "no snaps foound"19:00
niemeyer_ogra_: So if you say "snap refresh ubuntu-core" on the snapd that is being shipped with 16.04, what happens?19:00
ogra_niemeyer_, well, nothing of that seemed to be known by anyone when i first asked about the "no snaps found" issue here19:01
ogra_niemeyer_, you mean on a desktop ?19:01
ogra_lets see ... i havent upgraded my desktop in a few days now ...19:01
ogra_ogra@styx:~/all-snaps$ sudo snap refresh ubuntu-core19:02
ogra_[sudo] Passwort für ogra:19:02
ogra_error: can't refresh "ubuntu-core": snap "ubuntu-core" has changes in progress19:02
ogra_ogra@styx:~/all-snaps$19:02
niemeyer_ogra_: I mean on the 16.04 image that is being released tomorrow.. or the equivalent snapd 2.0.2 that is being shipped with it19:02
ogra_thats what i get on my system that i upgraded to 16.04 on sat.19:02
niemeyer_ogra_: That won't work.. you need to start with 2.0.219:02
niemeyer_ogra_: Or clean your old state19:02
ogra_niemeyer_, i have to fill some MIRs first, but i can test an image later ... seemingly there are more store changes needed according to the backlog19:03
ogra_(which will also require a complete re-upload of all snaps we use )19:03
niemeyer_ogra_: Possibly, but the point is that there's no reason why refreshing ubuntu-core would not work work19:03
=== pat_ is now known as pmcgowan
ogra_well, i need to build a complete image ... that takes time i dont have atm ... the one i run from yeterday isnt upgardeable19:04
ogra_(simply because ubuntu-core in the store had 1.9.x in it til today)19:05
sergiusensniemeyer ogra_ I'm ok with an image released as long as there is some upgrade path or some way to get the latest kernel and gadget snaps in the future. Also marking it as not production ready somewhere so people trying it are crystal clear on what they are getting into19:05
* sergiusens dropped a bombed 30 minutes ago and left for lunch19:06
sergiusensI won't do that next time :-)19:06
ogra_heh19:06
ogra_do what you need ... thats the baeuty of IRC ... it is asycnronous :)19:06
niemeyer_sergiusens: There may not be an upgrade path.. we can look into that, but we won't stop releasing an experimental image for people to try it out just because we may have to ask them to reflash.19:06
ogra_*beauty19:06
niemeyer_Yeah, and the other beauty is that you may just loggout so you can claim you didn't read the log19:07
ogra_i dont think the point is releasing experimental ones ... but releasing experimental ones under an official release url19:07
ogra_which we did19:07
niemeyer_Sure, too bad.. let's take it down as they shouldn't be there.. no sweat19:07
ogra_exactly19:08
niemeyer_Let's then cook something we're happy with, label it as experimental, and do put it there because we want people to try it out19:08
sergiusensniemeyer_ oh, I don't mind reflashing; I just want people using it to know before hand :-)19:08
niemeyer_Of course19:08
ogra_+119:08
niemeyer_"preview"19:09
sergiusensniemeyer_ ogra_ wrt logs and irc; I can also claim a network error and since you get no ack can't prove I read it or not :-P19:09
* sergiusens knows how to play dumb ;-)19:09
ogra_niemeyer_, the prob is now that the released images were put into place because someone (dholbach) updated or wanted to update the docs to point to them19:09
niemeyer_All good.. we'll get that fixed..19:09
ogra_i dont know if any docs were changed ... so i dont feel comfortable to just wipe the dir on cdimage19:09
niemeyer_ogra_: Just wipe it.. it's better than having people using something bad19:10
ogra_ok19:10
niemeyer_ogra_: We can then catch up with Daniel to fix doc, and politely respond to any reports19:10
ogra_yeah, and we need to talk to olli to actually coordinate such stuff instead of pinging slangasek directly :)19:11
ogra_but as i said, thats something for monday19:11
niemeyer_ogra_: .. and finally re-release the image we do want and understand the caveats, and release docs with it mentioning those caveats19:11
niemeyer_Yep19:11
ogra_yup19:11
niemeyer_Anyway, need to step out..19:11
niemeyer_talk soon19:11
ogra_slangasek, FYI i wiped the subdirs under http://cdimage.ubuntu.com/ubuntu-snappy/daily/ now19:18
zygadpm: re19:18
ogra_til we have some usanble image19:18
ogra_*usable19:19
dpmzyga, all sorted now, thanks :) I just wanted to confirm that a) the 'home' interface is not autoconnected (it's not) and b) how to manually connect it (done it now)19:19
zyga:D19:19
dpm:)19:20
zygadpm: cool, both confirmed :)19:20
zygadpm: what did you make that requires home?19:20
dpmzyga, http://bazaar.launchpad.net/~snappers/snappy-desktop-examples/trunk/files/head:/youtube-dl/19:20
dpmoh, I haven't pushed yet, just a sec19:21
dpmzyga, ok, the branch should now be up-to-date19:21
dpmdavidcalle, ^^19:21
zyganice!19:22
zygaI hope that over time we can create more fine-tuned interfaces19:22
zygaspecifically those that give a slice of home19:22
zygae.g. home with some attributes that specify, e.g. the XDG music directory for media player19:22
popeysergiusens: do you know how my desktop app snapped can use/see /var/cache/fontconfig and udev stuff (for access to enumerate input devices)?19:25
zygapopey: which udev stuff?19:26
zygapopey: the answer is *interfaces*19:26
popeyzyga: http://paste.ubuntu.com/15936638/19:27
zygapopey: use unity7 to get /var/cache/fontconfig19:27
popeyi have specified unity719:28
zyga#include <abstractions/fonts>19:28
zyga/var/cache/fontconfig/   r,19:28
zyga/var/cache/fontconfig/** mr,19:28
popeyhttp://bazaar.launchpad.net/~snappers/snappy-playpen/trunk/view/head:/mame/mamedeb/snapcraft.yaml19:28
zygathat's unity7, you can confirm you have that by looking at /var/lib/snapd/apparmor/profiles/snap.mame.run19:28
zygapopey: FYI I'd suggest naming the main app in a snap after the snap19:28
zygapopey: then the executable on path is a nice short "mame", not "mame.run"19:29
sergiusenszyga popey you have to maybe get the difference between Ubuntu and Ubuntu Core19:29
zygapopey: why does mame want to chmod [180438.835798] audit: type=1400 audit(1461075883.106:144): apparmor="DENIED" operation="chmod" profile="snap.mame.run" name="/var/cache/fontconfig/" pid=2174 comm="mame" requested_mask="w" denied_mask="w" fsuid=1000 ouid=019:29
sergiusensis /var/cache/fontconfig/ Ubuntu's or Ubuntu Core's?19:29
zygasergiusens: there is no difference19:29
ogra_zyga, doesnt that then come out as mame.mame (it used to in the past)19:30
sergiusenszyga really?19:30
zygaogra_: no, now that will be just "mame"19:30
ogra_yay19:30
popeyok, will simplify that19:30
zygasergiusens: interfaces work the same way everywhere19:30
ogra_since when is that ?19:30
popeyone thing at a time :)19:30
zygaogra_: we talked about it half a year ago, it happened like 6 weeks ago19:30
ogra_cool19:30
zygapopey: you know about --devmode, right?19:30
zygaogra_: yes, it gives apps a nice CLI UX19:31
* ogra_ is still waiting for snap config to re-appear ... sadly my snaps are useless without it 19:31
ogra_so i didnt touch snaps in recent times19:31
popeyzyga: no19:31
zygapopey: remove your snap and install with --devmode19:31
sergiusenszyga try and snap a gtk app then come back ;-)19:31
zygaogra_: config is coming back soon, muuuch better19:31
ogra_as long as i can port my stuff :)19:32
* ogra_ liked the old implementation actually :) 19:32
zygasergiusens: what do you mean?19:33
zygasergiusens: I miss pulseaudio interface, I'll add one locally for games19:33
zygaogra_: it will be easier on snaps to handle19:33
ogra_well, i handle it through shell scripts ... as long as i can go on doing that i'm fine19:34
zygaogra_: it will be _far_ easier to handle, especially in shell scripts19:34
ogra_(read: please keep it flexible on the programmers side)19:34
qenghoogra_: "activate" too!19:35
popeyzyga: what does devmode do?19:38
ogra_it calls a developer ...19:38
ogra_:)19:38
qenghoMakes apparmor warn instead of block. Probably something with seccomp too.19:38
ogra_(listen for your doorbell)19:39
popeyhm, still barfs19:39
popeyFATALERROR: Unable to load opengl library: <default>19:39
popeyhttp://paste.ubuntu.com/15936814/ http://paste.ubuntu.com/15936827/19:40
qenghoAre there any interface docs? I don't understand them yet.19:43
ogra_qengho, we need to attach a printer to zyga's brain19:45
zygapopey: installs the snap with non-enforcing confinement for figuring out missing interfaces19:45
zygaqengho: I'm wrinting one now19:45
zygaqengho: the first will go live todayt19:45
zygapopey: did you use the opengl interface?19:46
popeyzyga:     plugs: [network, network-bind, unity7, opengl]19:47
popeylike that?19:47
zygapopey: yep19:47
popeyyes then :)19:47
zygapopey: does mame need network?19:47
popeyno19:47
zygapopey: does it work in devmode? (I assume it doesn't)19:47
zygapopey: with devmode you have no security blockers19:48
popeyno19:48
zygapopey: if it doesn't work it's broken in some other way19:48
popeyyeah, the opengl thing looks to be the main issue now19:54
zygapopey: before you report it, which gpu do you have?19:54
popeyintel19:54
nessitaogra_, release 16 is ready in the store20:04
sergiusenselopio this is what you want https://github.com/ubuntu-core/snapcraft/blob/master/snapcraft/internal/meta.py#L21520:05
elopiokyrofa: pexepect.expect takes a pattern20:06
elopiosergiusens: thank you20:06
kyrofaelopio, yeah and it seems strings get turned into regex as well-- works great, thanks :)20:06
zygapopey: does mame work on your desktop normally?20:13
zygapopey: as a last hint, add a 2nd app (mame.sh) that runs /bin/sh and see how the libs you get in the snap differ from what you get on the outside20:13
kyrofasergiusens, elopio you guys should give the colors a run on an example to make sure you like them-- several to choose from20:21
elopiodpm: can you give me a link to your qt calculator snap?20:22
dpmelopio, https://launchpad.net/~dpm/+snap/ubuntu-calculator-app20:25
elopiodpm: ty20:26
popeyzyga: yes, mame works normally20:31
popeyzyga: in fact if I manually run the executable exactly from the snap, but not via the snap ubuntu app launcher, it works20:31
popeyit's only when launched via the snap ubuntu app launcher it fails20:31
qenghopopey: I get that too.20:33
zygapopey: does it really fail because of the app launcher? there's also the extra environment20:34
zygapopey: (which changes path resolution and libraies)20:34
niemeyer_popey: Do we have a mame snap working confined already?20:35
niemeyer_popey: (sorry, didn't track the conversation)20:35
popeyniemeyer_: that's what I'm working on20:35
niemeyer_popey: Sweet20:36
popeyzyga: well, without the snap environment it works20:36
zygapopey: right, I'm sorry, I'm trying to figure out what makes it not work20:37
qenghoHas anyone hit a limit on number of loop devices yet?20:37
popeyheheh, I wondered when someone would ask that qengho :)20:38
zygaqengho: hmm, no?20:39
zygaqengho: when doing what?20:39
qenghozyga: Adding packages. Last I recall, the default limit is something like 2**8. If I have 50 packages, I think a few months of version churn should hit that limit.20:41
zygaqengho: snap recycles20:41
zygaqengho: when you sideload that doesn't perhaps happen but store installs/refreshes will recycle20:42
zygaqengho: so you shound't hit the limt20:42
* popey makes a note of this day20:43
qenghoOh good.20:44
qenghoI think the limit is pretty arbitrary so the snapd package could change it.20:45
popeyzyga: https://www.youtube.com/watch?v=xqIu4gJa1jA showing where I am20:46
popeysorry the bit that shows what happens is at ~1m10s in20:48
zygapopey: interesting20:48
zygapopey: I don't understand that apparmor denial at the end20:49
zygapopey: is that with or without --devmode?20:49
popeywith20:49
zygahmm20:49
zygasomething for us to investigate20:49
zygaright now I have no idea20:49
popeyseems to be the opengl thing20:49
zygapopey: yes but the denial should not be there in the first place20:50
zygapopey: how big is your snap?20:50
popey-rw-r--r-- 1 alan alan  47M Apr 19 20:35 mame_0.160_amd64.snap20:50
zygapopey: I'll check that out tomorrow20:50
zygapopey: I'll finish writin an article and EOD20:51
popeykk thanks for the help zyga20:51
kyrofaAlright sergiusens, elopio https://github.com/ubuntu-core/snapcraft/pull/474 is green20:57
kyrofaHave you guys played with it at all?20:57
sergiusenskyrofa I have21:01
sergiusenskyrofa in some future a --no-colors or --no-colours option would be good21:01
sergiusenskyrofa elopio also https://github.com/ubuntu-core/snapcraft/pull/47521:01
kyrofasergiusens, easy to add21:02
sergiusenskyrofa the debate is on how to write colour ;-)21:05
kyrofasergiusens, or support both :P21:05
qenghosergiusens:  ... |cat21:05
=== chihchun is now known as chihchun_afk
mvoogra_: new u-d-f uploaded, new 16 series is there, I push a new amd64 image now and will continue with the other arches tomorrow but it looks very promising (fingers crossed and all that)21:26
mvoogra_: http://people.canonical.com/~mvo/all-snaps/ has new amd64 image and new u-d-f if anyone wants to give it a go21:32
mvolatest snappy, using the new 16 series in the store21:32
zygaqengho: hey22:57
zygaqengho: http://www.zygoon.pl/2016/04/snappy-snapcraft-and-interfaces.html22:58
sergiusenselopio kyrofa from what I read somewhere else matiasb seems to be hinting we will need macaroon support to upload/register using snapcraft; we should take a minute or two to analyze vila's PR tonight if possible23:30
sergiusensnessita hey, a little bird told me you can migrate packages to 16; would you mind migrating `shout`?23:32
sergiusensubottu hey23:34

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