[02:56] <mup> PR snapcraft#1480 closed: beta <Created by snappy-m-o> <Closed by elopio> <https://github.com/snapcore/snapcraft/pull/1480>
[02:59] <mup> PR snapcraft#1497 closed: ci: release snap to a branch for every PR <Created by sergiusens> <Closed by elopio> <https://github.com/snapcore/snapcraft/pull/1497>
[04:19] <mup> Bug #1687079 changed: cannot change profile for the next exec call: No such file or directory <Snappy:Expired> <https://launchpad.net/bugs/1687079>
[06:26] <mup> PR snapd#4071 opened: release: merge 2.29~rc1 changelog <Created by mvo5> <https://github.com/snapcore/snapd/pull/4071>
[06:27] <mvo> ogra_: thanks for your suggestion from yesterday, with -^ the changelogs in edge should be sensible again
[06:34] <kira> Hello need to install ubuntu core 16 on dell edge gateway
[06:34] <Guest79466> http://www.dell.com/support/manuals/in/en/indhs1/dell-edge-gateway-5000/dell-edge-gateway-5000_users_guide/factory-os-recovery-image?guid=guid-0506c333-601f-413c-bc47-90bc656d27eb&lang=en-us
[06:35] <Guest79466> Using the below link which suggest  15.04
[06:36] <Guest79466> http://www.dell.com/support/manuals/in/en/indhs1/dell-edge-gateway-5000/dell-edge-gateway-5000_users_guide/flashing-new-ubuntu-os-image?guid=guid-e9835159-7baf-4a32-9b2a-a3fe1a027224&lang=en-us
[06:41] <Guest79466> Hello need to install ubuntu core 16 on dell edge gateway
[06:58] <elopio1> snappy-m-o autopkgtest 1630 xenial:amd64:integration
[06:58] <snappy-m-o> elopio1: I've just triggered your test.
[07:04] <mup> PR snapd#4072 opened: daemon: use newChange() in changeAliases for consistency <Created by mvo5> <https://github.com/snapcore/snapd/pull/4072>
[07:28] <kalikiana> o/
[09:21] <Chipaca> core 16-2.28.5+ppa9 3304 canonical core
[09:21] <Chipaca> HMMMM
[09:22] <mwhudson> mvo: thanks for the golang fixery, sorry for being slack
[09:23] <Chipaca> mvo: is this a new 'make edge version better'?
[09:23] <Chipaca> mwhudson: hey
[09:23] <mwhudson> Chipaca: hello
[09:24] <zyga-ubuntu> mvo: hey, I assume you know about listing/main, is the version change intended and we should change the test or should we put a new RC build with different version string?
[09:25] <mvo> mwhudson: no worries
[09:25] <Chipaca> mvo: i think zyga-ubuntu's quesiton and mine are the same
[09:25] <mvo> mwhudson: you did the hard work by pointing me to the right fix :)
[09:26] <mvo> Chipaca, zyga-ubuntu sorry, let me quickly rebuild hte core and see if that fixes things. there was a leftover package in the edge ppa which is fixed since
[09:27] <zyga-ubuntu> aha, thanks! :)
[09:27] <mvo> Chipaca, zyga-ubuntu please give it ~30min or so that is hopefully enough, if not we need to whitelist "~" in the listing version
[09:28] <Chipaca> mvo: should we do that anyway? or is it good as a safety net?
[09:28] <mvo> Chipaca: in this case it was a good safety net, it choked on the "+" in there, right?
[09:28] <Chipaca> yes
[09:29] <zyga-ubuntu> + MATCH '^core .* [0-9]{2}-[0-9.]+(~[a-z0-9]+)?(\+git[0-9]+\.[0-9a-f]+)? +[0-9]+ +canonical +core *$'
[09:29] <zyga-ubuntu> core              16-2.28.5+ppa9  3301  canonical  core
[09:29] <zyga-ubuntu> yep, looks like it
[09:29] <mvo> yeah, I think that is ok, it should die on that, thats wrong content in our ppa
[09:30] <Chipaca> “Your server, "finley", has been scheduled to be upgraded to the newest version of Ubuntu! You will receive an email notification when the process begins. Please see the Knowledge Base article below for any possible changes that may affect you”
[09:30] <Chipaca> wooo
[09:30] <Chipaca> … except it's upgrading to 14.04
[09:30] <Chipaca> (from 12.04, so yay i guess?)
[10:16]  * zyga-ubuntu works on overlayfs-free variant of layout 
[10:16]  * ogra_ hugs zyga-ubuntu 
[10:18]  * Chipaca -> physio
[10:19] <Chipaca> zyga-ubuntu: is that because we can't go ahead with the overlayfs one? traversal issues?
[10:19] <Chipaca> or is it a fallback?
[10:19] <zyga-ubuntu> Chipaca: as a fallback
[10:19] <Chipaca> cool
[10:19] <Chipaca> ok
[10:19] <zyga-ubuntu> Chipaca: I want to at least have a plan B that works
[10:19] <zyga-ubuntu> Chipaca: overlay is much nicer and easier to work with but if we cannot do it (see the forum discussion) or it's unsafe, I need a fallback
[10:20] <Chipaca> zyga-ubuntu: people on the dusty long tail say thank you
[10:20] <zyga-ubuntu> fallback is also easy but undo is tricky
[10:20] <zyga-ubuntu> Chipaca: that's what we're here for :)
[10:20] <Chipaca> :-)
[10:20]  * Chipaca -> really, physio
[10:27] <zyga-ubuntu> mvo: do you know if spread-cron PR 49 python code is for python3 or python2?
[10:27] <mup> PR #49: allow (optional) snappy update $pkgname <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/49>
[10:29] <mvo> zyga-ubuntu: I don't know I would assume py3
[10:30] <mvo> zyga-ubuntu: actually looking at this its probably pretty old
[10:30] <mvo> zyga-ubuntu: so might be written for py2, but we can/could moderinize it
[10:30] <zyga-ubuntu> aha
[10:31] <zyga-ubuntu> mvo: yeah, I'm a bit of a junkie for statically typed python
[10:31] <zyga-ubuntu> mvo: I could ... you know, ... improve it :)
[10:32] <mup> PR snapd#4073 opened: snap: add io.snapcraft.Settings to proxy to xdg-settings <Created by mvo5> <https://github.com/snapcore/snapd/pull/4073>
[10:44] <MuffinPimp[m]> I asked this in #ubuntu but I figure I'll ask in here too: Is there an easy way to install an Ubuntu Core image from PXE?
[10:46] <zyga-ubuntu> MuffinPimp[m]: I don't think we support that yet but technically if you have a working image you can use any PXE bootable automated installer that will simply copy it and reboot
[10:46] <zyga-ubuntu> MuffinPimp[m]: but note that the first-boot on ubuntu core is special and requires interaction
[10:47] <zyga-ubuntu> MuffinPimp[m]: or special assertion that will complete the setup
[10:47] <MuffinPimp[m]> Yeah I was thinking of something like that but I don't know of such a tool.
[10:48] <MuffinPimp[m]> And yeah, I have access to a console so that wouldn't be a problem.
[10:50] <mup> PR core#62 opened: create xdg-settings inside the core snap <Created by mvo5> <https://github.com/snapcore/core/pull/62>
[10:51] <MuffinPimp[m]> I'm considering just caving and running Ubuntu Server instead since googling hasn't led me anywhere, but I figured I would ask first.
[10:53] <Chipaca> MuffinPimp[m]: I forget how PXE worked, does it work to boot an image, or does it need something bootable with a size limit?
[10:53] <Chipaca> last time i played with pxe was to boot some hppa box
[10:53] <zyga-ubuntu> Chipaca: it's a pice of code that boots over LAN, then cna pull in (you are in control) other stuff
[10:55] <Chipaca> i mean, you can boot iso images with pxe, so you should be able to boot a core image
[10:56] <MuffinPimp[m]> Yeah, but I want to install it.
[10:56] <zyga-ubuntu> I agree with Chipaca, it's possible and once someone glues all the bits together, should be a generic solution
[10:57] <vadi> Hello - my snaps are broken, and reinstalling like answers suggest isn't helping: https://hastebin.com/aqewojiseh.sql
[10:57] <vadi> What can I do?
[10:57] <zyga-ubuntu> vadi: hello
[10:58] <zyga-ubuntu> vadi: can you run "snap version" pleaes?
[10:58] <zyga-ubuntu> *please
[10:59] <Chipaca> MuffinPimp[m]: clonezilla?
[10:59] <MuffinPimp[m]> Hrmm
[10:59] <vadi> Sure, here is the output: https://hastebin.com/oxomogivil.rb
[10:59] <Chipaca> MuffinPimp[m]: AIUI that lets you PXE boot and then image a local drive with a network image
[11:00] <zyga-ubuntu> vadi: I see
[11:00] <Chipaca> vadi: what's that kernel?
[11:00] <zyga-ubuntu> vadi: you are running a mainline kernel,
[11:00] <Chipaca> ah :-)
[11:01] <zyga-ubuntu> vadi: your kernel has probably caused us not to load apparmor support code for snap-confine
[11:01] <vadi> I have to use the mainline kernel because the Ubuntu kernel does not let me unlock the encryption on the laptop anymore
[11:01] <MuffinPimp[m]> Chipaca: Lol I can't believe I didn't think of clonezilla before, thanks!
[11:01] <zyga-ubuntu> vadi: unfortunately those kernels are not supported yet, I think 2.29 should be better in that regard but you need to wait for a nightly build in the edge channel
[11:02] <Chipaca> vadi: what encryption is that? sounds like a regression we'd want to know about?
[11:02] <Chipaca> we == ubuntu people, not just snapd
[11:03] <vadi> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1724564, I can't type the password in for the crypt setup. Either nothing appears or my password starts getting printed top-left of the screen...
[11:03] <mup> Bug #1724564: Cannot enter password to unlock encryption in 4.10 <apport-collected> <kernel-da-key> <zesty> <linux (Ubuntu):Confirmed> <https://launchpad.net/bugs/1724564>
[11:03] <Chipaca> vadi: gah
[11:03] <vadi> Luckily I had a mainline kernel installed for something else that still lets me use my work laptop
[11:03] <Chipaca> vadi: try booting without the splash screen
[11:03] <vadi> How can I do that?
[11:03] <Chipaca> vadi: that is, change "splash" to "nosplash" in grub
[11:03] <Chipaca> vadi: or, boot in rescue mode and then continue the normal boot
[11:04] <vadi> I'll try the rescue and normal.
[11:12] <vadi> It took my password but it got stuck on this: https://photos.app.goo.gl/5QcAeGxOKj3RwTzQ2
[11:14] <skjensen> Hi guys, anyone who can help me with this? https://forum.snapcraft.io/t/issue-with-ubuntu-image-panic-runtime-error-slice-bounds-out-of-range/2571
[11:15] <skjensen> Issue with ubuntu-image: panic: runtime error: slice bounds out of range
[11:18] <Chipaca> niice
[11:19] <Chipaca> vadi: it said your password was ok?
[11:19] <zyga-ubuntu> skjensen: hey
[11:19] <skjensen> Hey
[11:20] <zyga-ubuntu> skjensen: hmmm, no idea
[11:20] <vadi> Yeah, I think it took it in and it went further. At least it scrolled off the screen rather quick.
[11:20] <Chipaca> skjensen: zyga-ubuntu: that's a bug, no matter what it is
[11:20] <Chipaca> i'll look into it
[11:20] <skjensen> Great thanks.. :) If you need any help to replicate or see the files I used please let me know.
[11:21] <Chipaca> skjensen: to be clear: the bug is that instead of returning an error, it panics
[11:21] <Chipaca> skjensen: the distinction probably doesn't make much difference to you unfortunately
[11:22] <skjensen> Okay.. Hopefully the new error message will help me get my problem fixed..
[11:23] <vadi> Gives you hope that it's not a blocker!
[11:23] <skjensen> absolutely
[11:24] <Chipaca> skjensen: the error is because it looks for two zero bytes in a boot file, and doesn't find it
[11:24] <Chipaca> in the header
[11:24] <skjensen> Chipaca: what does that mean?
[11:25] <Chipaca> mvo: you remember ubootenv?
[11:25] <Chipaca> skjensen: i'm not familiar with this bit of the code to give you the proper context, but mvo might remember (but it's lunchtime for him)
[11:26] <Chipaca> skjensen: what i see in the code is that we get a 'payload': 	payload := contentWithHeader[headerSize:]
[11:26] <Chipaca> skjensen: then we check the CRC on it, and that passes
[11:26] <Chipaca> skjensen: then we look for two null bytes in the header, and that fails, but we don't check it before using it as an index
[11:26] <Chipaca> and that panics
[11:27] <Chipaca> "in the header" -> in the payload i mean
[11:27] <Chipaca> *not* the header
[11:27] <Chipaca> that is, we skip the header, d'oh :-)
[11:27] <Chipaca> _which_ file it is, is what i hope mvo can tell me (because the panic doesn't)
[11:28] <Chipaca> ogra_: is the uboot env file a binary file?
[11:29] <ogra_> Chipaca, yes, it gets created by mkenvimage from the uboot tree, out of uboot.env.in
[11:29] <ogra_> it has to have a fixed size and format
[11:29] <pstolowski> guys, i'm not feeling well today, got flu or something, gonna call it a day
[11:29] <pstolowski> o/
[11:29] <Chipaca> ogra_: and it uses two null bytes as an EOF marker or something?
[11:30] <skjensen> I'm using this device-tree: tegra124-apalis but no extra uboot.env.in file in my gadget.. Can that be the reason?
[11:31] <ogra_> Chipaca, not sure, mvo played with hexedit on it ... but we have a fixed commend that needs to be used to create it, if you use that as required it will be the correct format
[11:31] <ogra_> mkenvimage -r -s 131072 -o uboot.env uboot.env.in
[11:32] <Chipaca> skjensen: if the file were missing you would've seen an explicit error about that
[11:32] <ogra_> this is what you have to use (and what all our reference snapcraft.yaml's have)
[11:32] <Chipaca> this is: the file exists, the payload CRC is alright, but it's missing an end-of-payload marker
[11:32] <ogra_> skjensen, yes, thats definitely the reason
[11:33] <ogra_> you need to have a uboot.env.in as input for mkenvimage
[11:33] <Chipaca> I shall write a PR to make this a nice error instead of a panic
[11:33] <skjensen> Okay thanks ogra_
[11:34] <ogra_> skjensen, there needs to also be the uboot.conf link pointing to uboot.env in yur gadget source
[11:34] <skjensen> But following your blog post about uboot I can't really figure out what to put into the uboot.env.in file?
[11:34] <ogra_> ubuntu-image reads the link, it does not directly use uboot.env
[11:35] <ogra_> skjensen, boot with the created uboot once (by manually setting up an SD as your board docs require) ... then run "printenv" in an attached serial terminal from the uboot commend prompt ...
[11:35] <ogra_> copy/paste the output into a text file you call uboot.env.in ...
[11:36] <ogra_> thats your base for it
[11:36] <ogra_> then you add the snap and snappy vars to it
[11:36]  * zyga-ubuntu -> Lunch
[11:37] <skjensen> Thanks ogra_ I will give that a go... :)
[11:39] <Chipaca> ogra_: missing the \0\0, would it be better to error out, or to consume the rest of the file?
[11:40] <ogra_> Chipaca, well, it smells like the file is missing completely there ...
[11:40] <Chipaca> yes, here yes
[11:40] <Chipaca> bah
[11:40] <Chipaca> it's not missing, otherwise it wouldn't've panic'ed
[11:41] <Chipaca> it exists, has the right header, but is missing the eof marker
[11:41] <Chipaca> end-of-payload marker
[11:41] <Chipaca> which might actually just be "fill with nul bytes until the given size"
[11:41] <Chipaca> i'll wait for mvo's advice, i think
[11:41] <ogra_> so yes ... then it should print a proper error ... but we should also make sure that mkenvimage doesnt even create such a file if no uboot.env.in exists
[11:42] <ogra_> i wonder why it didnt error during build for the gadget
[11:42] <Chipaca> ¯\_(ツ)_/¯
[11:42]  * Chipaca afk for a bit
[11:44] <ogra_> ogra@styx:~$ mkenvimage -r -s 131072 -o uboot.foo uboot.foo.in
[11:44] <ogra_> Can't open "uboot.foo.in": No such file or directory
[11:44] <ogra_> hmm, it should definitely have errored without input file
[11:47] <MuffinPimp[m]> Another couple of questions, how do I prevent Ubuntu Core from rebooting automatically? If I wanted to use ZFS would installing TH"classic"
[11:47] <ogra_> (and even if the build moved on, the uboot.conf link would point nowhere, so i wonder how it got into that state)
[11:47] <ogra_> MuffinPimp[m], you cant currently ... (prevent the reboot) ... and there is no ZFS suppport for core
[11:47] <ogra_> well
[11:47] <ogra_> ZFS for / that is
[11:48] <ogra_> for attached removable devices it might perhaps work (depends on the kernel)
[11:49] <MuffinPimp[m]> I CAN'T SEEM TO STOP TYPING IN CAPS, I REALLY NEED TO SEND THIS COMPUTER IN FOR REPAIRS SORRY
[11:49] <MuffinPimp[m]> IT JUST STARTED HAPPENING, NOT AN UBUNTU ISSUE JUST A REALLY INCONVENIENT TIME
[11:50] <ogra_> no worries, we'll all just plug our ears while you talk :P
[11:50] <skjensen> I might have completely skipped the mkenvimage part of the process.. and that's why ubuntu-image is throwing a panic.. Just in case you want to look into improving the error messages..
[11:50] <MuffinPimp[m]> YEAH, I KNOW I WAS THINKING FOR NON ROOT PARTITIONS
[11:50] <MuffinPimp[m]> LET ME TRY RESTARTING :/
[11:51] <ogra_> MuffinPimp[m], well, that then depends on the kernel (i'm not super familiar with ZFS, do you also need a userspace part ? thats probably missing as well)
[11:51] <ogra_> ogra@dragonboard:~$ grep ZFS /snap/dragonboard-kernel/current/config-4.4.0-1078-snapdragon
[11:51] <ogra_> ogra@dragonboard:~$
[11:52] <ogra_> i definitely dont see it in an arm64 kernel of our supported set
[11:52] <MuffinPimp[m]> That was annoying
[11:55] <MuffinPimp[m]> Yeah, the userspace tools aren't installed so I'm thinking the best way to install them would be "classic mode" idk if that has any gotchas though.
[11:56] <MuffinPimp[m]> that or just repackage the deb as a snap
[11:56] <ogra_> classic mode cant run any daemons
[11:57] <ogra_> it is really just for building stuff on the device
[11:57] <ogra_> so if your userspace tools require any service or systemd units it cant work in classic
[11:58] <MuffinPimp[m]> Hrm
[11:58] <ogra_> i guess a snap would be best though it would likely have to be unconfined / devmode or some such, i doubt there is an interface that could provide such a deep system level access
[11:58] <ogra_> (i could be wrong though)
[11:59] <oSoMoN> mvo, can you advise on https://forum.snapcraft.io/t/call-for-testing-chromium-62-0-3202-62/2569/6 ? Looks like snapd is being overly strict
[12:03] <mvo> oSoMoN: sure, let me check
[12:05] <mvo> oSoMoN: meh, yeah, snapd got stricter and now you are bitten by this :/ let me check in more detail
[12:07] <oSoMoN> mvo, I've fixed the incorrect entries in the desktop file and pushed a new revision out to the candidate channel, but the problem is that snapd refuses to upgrade from the revision currently installed because of the incorrect entries
[12:14] <Chipaca> mvo: is that a change in 2.29?
[12:14] <mup> PR snapd#4065 closed: servicestate: use taskset <Created by stolowski> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/4065>
[12:17] <ogra_> oSoMoN, it is funny that snapcraft didnt error the same way, afaik it checks all executables and binaries that get called from the apps section and from shipped .desktop files
[12:21] <oSoMoN> ogra_, I didn't check the snapcraft output, maybe it simply issues a warning instead of erroring out?
[12:24] <ogra_> that might be ...
[12:26] <cachio> ogra_, hey
[12:26] <ogra_> hey
[12:26] <ogra_> (morning ... i guess :) )
[12:27] <cachio> ogra_, tx, good afternoon for you, I got disconnected, did you see what I wrote?
[12:27] <ogra_> nope
[12:27] <cachio>  yesterday I was diving in all the building infrastructure :)
[12:27] <cachio> why the core snap is not automatically built by launchpad?
[12:27] <ogra_> it is
[12:28] <ogra_> lp-build-core is just the trigger script, see my last comments on the forum thread
[12:28] <cachio> but it is possible to setup in launchpad to do what the python script is doing, right?
[12:28] <ogra_> no
[12:29] <ogra_> there is no cron support in LP itself
[12:29] <ogra_> so you need something that "clicks" the request builds button
[12:29] <ogra_> (and feeds the info requred by the form this button brings up)
[12:30] <cachio> ogra_, ah, ok, so the reason is to be able to schedule the builds and not do it with any change in the repo, right?
[12:30] <ogra_> (arches, archives and such)
[12:31] <ogra_> the reason we use cron is because that was enough back when i implemented it ... but when this setup was designed it was designed with the ability in mind to be able to use other PPAs or other triggers
[12:31] <ogra_> there are just none yet :)
[12:33] <cachio> ogra_, I am trying to understand :)
[12:33] <ogra_> (we were still running 15.04-snappy when i did the original implementation and had not even switched to github )
[12:33] <ogra_> (so the setup was similar to how we roll isos ... simply once a day by cron ... )
[12:33] <cachio> ogra_, could we on here https://code.launchpad.net/~snappy-dev/+snap/core/+edit to set "Automatically build when branch changes" and point it to the edge ppa?
[12:34] <ogra_> cachio, the "branch" is not snapd but the build scripts ...
[12:35] <ogra_> cachio, so yes, you could do that but that would only re-build when the build env changes, as i understand you want a rebuild when snapd changes though
[12:36] <cachio> ogra_, but if in the "Source archive for automatic builds:" we add the snappy-edge ppa
[12:36] <ogra_> cachio, so what i'd do is to create a "watcher" tool that monitors the edge PPA ... (which as i understand has been set up by elopio1 and federico to always build a new deb when the snapd tree changes)
[12:36] <ogra_> and simply replace the cron part with that
[12:36] <ogra_> *and* point to the edge PPA
[12:36] <cachio> ogra_, but launchpad is offering to watch a ppa
[12:37] <ogra_> as additional build source
[12:37] <ogra_> ah
[12:37] <ogra_> well, if thats possible, tnen do that
[12:37] <ogra_> *then
[12:37] <ogra_> i didnt know that ...
[12:38] <ogra_> you need to make sure the PPA is also used alongside with the image PPA and xenial-updates though
[12:38] <ogra_> not sure how you can do that without using lp-lib ... since there is no such feature in the snap form of LP
[12:38] <cachio> ogra_, I would use this ppa https://code.launchpad.net/~snappy-dev/+archive/ubuntu/edge
[12:39] <ogra_> yes
[12:39] <niemeyer> ackk: Reviewed #3916 again
[12:39] <mup> PR #3916: snap,wrappers: add support for socket activation <Created by albertodonato> <https://github.com/snapcore/snapd/pull/3916>
[12:40] <niemeyer> ackk: A few more notes, probably the last ones
[12:40] <ackk> niemeyer, thanks!
[12:40] <niemeyer> ackk: If you can go through these quickly, I'm happy to re-review before I'm off
[12:40]  * ackk takes a look
[12:41] <cachio> ogra_, I sent you an email with the configuration that we could try
[12:41] <ogra_> cachio, what i dont see is how you define a PPA as trigger on https://code.launchpad.net/~snappy-dev/+snap/core or on https://code.launchpad.net/~snappy-dev/+snap/core/+request-builds
[12:42] <ogra_> and there is no way to set up two PPAs as build source on the second page
[12:42] <ogra_> this is why i use that lp-build-core script, because lp-lib is the only way to do this
[12:42] <ogra_> (or has been, if there are other ways then i simply dont know about them)
[12:43] <cachio> ogra_, you mean, to trigger when there is a change in the core project itself?
[12:44] <ogra_> cachio, ah, i see what you mean .. you should read the text under "Automatically build when branch changes"
[12:44] <cachio> ogra_, yes
[12:44] <ogra_> that does not refer to the PPA, it refers only to the git branch
[12:45] <ogra_> and the git branch is not snapd but https://github.com/snapcore/core (which contains the whole build env)
[12:45] <ogra_> so it would only auto-build if the build tools change, not if snapd changes
[12:45] <cachio> ogra_, ah, ok, and we don't have snapcraft.yaml in the edge ppa
[12:46] <ogra_> a PPA is a package archive for debs
[12:46] <ogra_> no, there is no snapcraft.yaml in the PPA
[12:46] <cachio> f
[12:47] <cachio> ogra_, I know, but I would use it just as the trigger
[12:47] <ogra_> cachio, what we have (what federico and elopio1 did set up once) is an auto-build of the snapd deb in the edge PPA ... the core build scripts use debs to create the core snap ... so what you actually want to watch is when the snapd deb in the edge PPA is getting refreshed ...
[12:48] <ogra_> then you want to trigger a new build of core and actually use that deb (by adding the additional edge PPA to the snap build)
[12:48] <ogra_> right
[12:48] <ogra_> you can use it as trigger but you cant do that without some lp-lib coding
[12:48] <ogra_> there is no way to use a PPA as trigger for a snap build automatically
[12:49] <cachio> ogra_, agree
[12:50] <ogra_> the way i described in my last forum post on that topic should work with the existing setup ... which doesnt mean there isnt perhaps a better way i dont know about though
[12:50] <cachio> ogra_, I already updated the python code
[12:50] <ogra_> good
[12:51] <mup> PR snapd#4074 opened: partition/ubootenv: don't panic when uboot.env is missing the eof marker <Created by chipaca> <https://github.com/snapcore/snapd/pull/4074>
[12:54] <ogra_> cachio, the trickiest part here is to hide the credentials from the rest of the world ... since they give 100% access to all team stuff, which is why i'd recommend to do it all from your home people.canonical.com or from some other machine in the datacenter that outsiders can not browse
[12:55] <ogra_> (people.c.c is the easiest though ... )
[12:55] <cachio> ogra_, well, so far I just have access to that machine
[12:56] <cachio> ogra_, I just have the certs needed
[12:56] <cachio> ogra_, the launchpad credentials saved are just for that machine, right?
[12:57] <ogra_> i think so
[12:58] <ogra_> yeah, looking at the credentials file in my home on lillipilly i see:
[12:58] <ogra_> consumer_key = System-wide: Ubuntu (lillypilly)
[12:58] <ogra_> as the first line
[12:58] <ogra_> so it creates a system token when you run it for the first time
[12:58] <cachio> ogra_, yes
[12:59] <cachio> ogra_, and in launchpad you can define how to use it, just once, until you disable it, etc
[12:59] <ogra_> yeah
[13:00] <ogra_> you dont want the access_secret public from that file though
[13:01] <ogra_> (not sure if thats any valuable without the token but i wouldnt want to try it either :) )
[13:03] <ogra_> cachio, oh, and note that lillipilly is a 12.04 machine ... the default python is 2 ...  (i just noticed zyga-ubuntu's complaint on your PR for lp-build-core)
[13:05] <mvo> oSoMoN: I put it on my list to investigate today
[13:20]  * kalikiana going for lunch
[13:22] <ackk> niemeyer, so, to confirm, we only want to accept $SNAP_DATA and $SNAP_COMMON as path prefixes for listen-stream, no absolute paths
[13:32] <oSoMoN> mvo, thanks!
[13:32] <mvo> Chipaca: will you mention your PR in https://forum.snapcraft.io/t/issue-with-ubuntu-image-panic-runtime-error-slice-bounds-out-of-range/2571 ?
[13:33] <Chipaca> mvo: done
[13:43] <ackk> niemeyer, addressed all your comments, but I have a question on the last one (on the PR)
[13:45] <JonelethIrenicus> how can i add to a path variable of a snappy package I have installed
[13:46] <Chipaca> JonelethIrenicus: what do you mean?
[13:47] <JonelethIrenicus> $PATH
[13:47] <JonelethIrenicus> i want to add a directory to the path
[13:50] <mup> PR snapd#4066 closed: overlord/snapstate: support completion for command aliases <Created by chipaca> <Closed by chipaca> <https://github.com/snapcore/snapd/pull/4066>
[13:50] <Chipaca> JonelethIrenicus: what for?
[13:51] <JonelethIrenicus> Chipaca: because I want to
[13:52] <Chipaca> JonelethIrenicus: is this a regular binary app in the snap, or a service?
[13:53] <JonelethIrenicus> its pycharm
[14:03] <ogra_> http://markshuttleworth.com/archives/1518
[14:03]  * ogra_ hugs sabdfl 
[14:04] <ogra_> thanks for giving the child a name :)
[14:07] <kalikiana> woot. bionic beaver is a name I did not expect. I love it :-D
[14:07] <niemeyer> ackk: Shoot
[14:08] <niemeyer> mvo: Updated the core opts doc to include the proxy.* options
[14:08] <ackk> niemeyer, see my last comment on the PR
[14:08] <ackk> niemeyer, I'm not sure what you're referring to wrt systemd creating paths
[14:08] <mvo> niemeyer: thank you
[14:10] <niemeyer> ackk: I see, it's fine to keep the MkdirAll
[14:10] <zyga-ubuntu> jdstrand: hey
[14:10] <niemeyer> ackk: I don't quite recall whether we remap into /etc or whether we're using /etc/systemd elsewhere in core devices
[14:10] <ackk> niemeyer, I think I had it there because the older implamentation had it
[14:10] <ackk> niemeyer, but as said, /etc/systemd/system should always be there
[14:10] <niemeyer> ackk: Yeah, and that might be the reason.. it's fine to keep it
[14:10] <niemeyer> ackk: Thanks for the changes.. I'll re-review after lunch
[14:10] <jdstrand> zyga-ubuntu: hey. actively looking at 4008
[14:10] <niemeyer> mvo: np!
[14:11] <ackk> niemeyer, ok, then the branch should be good
[14:11] <ackk> niemeyer, ty for looking at it
[14:11] <zyga-ubuntu> jdstrand: not sure how your commitments look like
[14:11] <zyga-ubuntu> jdstrand: aha, thank you! :)
[14:11] <zyga-ubuntu> jdstrand: then I'll get out of your way :)
[14:14] <cachio> mvo, about the user assertion, any update on that?
[14:16] <mvo> cachio: meh, not yet
[14:16] <mvo> sorry
[14:17] <cachio> mvo, can I help?
[14:17] <mvo> cachio: yes, you could create it via a json input file or by looking how we do those nowdays in the other tests. but I need to dig into that myself a bit to be more helpful :/
[14:20] <mvo> oSoMoN: if chromium has access to xdg-settings, will that be used to make itself the default browser?
[14:36] <pedronis> davidcalle: I see people still referring to https://insights.ubuntu.com/2017/01/28/ubuntu-core-how-to-enable-aliases-for-your-snaps-commands/ , it probably needs updating to reflect the changes happened to how aliases work
[14:42] <gokr> Anyone used the content interface?
[14:43] <zyga-ubuntu> gokr: hey, what do you need?
[14:43] <gokr> I have been battling this but... I think I now may know what the problem is.
[14:44] <gokr> We are making a proof of concept - with one snap being a kind of web server, that serves other snaps. And those others are exposed via content interface.
[14:47] <gokr> Unfortunately... I am not sure its a viable approach - since... I don't know if they will autoconnect unless both are from the same publisher. And... that feels like a restriction in this case.
[14:47] <davidcalle> pedronis: hmm, thanks, you are right
[14:49] <gokr> zyga-ubuntu: I make the connection, but I am having a hard time knowing where the content is supposed to be mounted.
[14:50] <gokr> It would be nice if I somehow could use some snap command or something that shows the actual mounts.
[14:52] <kyrofa> elopio1, the ruby autopkgtest doesn't seem to work on armhf either
[14:52] <sborovkov> Hi. Can someone point me to some documentation on launchpad build farm for snaps?
[14:53] <gokr> Woa, it worked. So... ok, the mount point must exist.
[14:53] <ogra_> sborovkov, hmm, i dont think there is much actual documentation, if you have a branch in LP you get a "create snap package" button, that takes you a form which is pretty self explaining ... not sure if cjwatson can point to something more detailed
[14:53] <sborovkov> Ok understood
[14:54] <kyrofa> sborovkov, ogra_ this is still mostly up-to-date: https://kyrofa.com/posts/building-your-snap-on-device-there-s-a-better-way
[14:54] <ogra_> ah, perfect !
[14:54] <sborovkov> thanks
[14:54] <kyrofa> Some of the UI has changed since I took the screenshots, but it'll get you there
[14:55] <ogra_> yeah, it is really self explaining after all ...
[14:55] <zyga-ubuntu> gokr: re
[14:55] <ogra_> (i personally found it harder to set up the git tree import from GH to LP than to create the snap package from it afterwards)
[14:55] <pedronis> davidcalle: yes, I had this in mind and forgot a couple of times to ping you, let me know if I can help somehow
[14:55] <zyga-ubuntu> gokr: yes, that's a limitation in 2.28.5, in 2.29 or 2.30 the target won't have to exist
[14:55] <pedronis> davidcalle: thanks
[14:56] <zyga-ubuntu> gokr: you can see the actual mounts using a little trick but I agree it's not easy to find
[14:56] <gokr> zyga-ubuntu: Ok, followup question. I want to mount into $SNAP_DATA/apps - but... oh? Hmmm, what version do I have...
[14:56] <zyga-ubuntu> gokr: you can run "sudo nsenter -m/run/snapd/ns/nameofthesnap.mnt"
[14:56] <gokr> 2.28.5, right
[14:56] <zyga-ubuntu> gokr: then you can run mount or look at /proc/self/mountinfo
[14:57] <gokr> great, thanks.
[14:57] <zyga-ubuntu> gokr: in 2.29.2 (perhaps) or 2.03 you will have the benefit of this pull request:
[14:57] <zyga-ubuntu> https://github.com/snapcore/snapd/pull/4008
[14:57] <mup> PR #4008: cmd/snap-update-ns: create missing mount points automatically <Created by zyga> <https://github.com/snapcore/snapd/pull/4008>
[14:57] <zyga-ubuntu> gokr: you can look at the tests to get an idea, look here: https://github.com/snapcore/snapd/pull/4008/files#diff-3112a3d1998c61825cfbcd270e9ecf15
[14:58] <zyga-ubuntu> gokr: as you can see there's a pair of snaps, for plugs and for slots
[14:58] <zyga-ubuntu> gokr: and they share data and code by using the content interface
[14:58] <zyga-ubuntu> gokr: (actually, I spoke too soon, code is shared in a follow-up PR)
[14:58] <zyga-ubuntu> gokr: look at what is being done
[14:58] <zyga-ubuntu> gokr: I'll gladly answer questions or take your suggestions
[14:59] <cjwatson> ogra_: *cough* been meaning to write something up on help.launchpad.net for about two years now
[15:00] <ogra_> cjwatson, just link to kyrofa's blog ;)
[15:01] <cjwatson> blogs aren't docs :)
[15:01] <kyrofa> cjwatson, happy to clean up what I've got there if you want some help with that
[15:01] <mup> PR snapd#4075 opened: many: reorg things in preparation to make handling of the base url in store dynamic  <Created by pedronis> <https://github.com/snapcore/snapd/pull/4075>
[15:01] <cjwatson> if you aren't already in ~launchpad-doc I would not object if you emailed me a chunk of wiki markup to drop somewhere :)
[15:02] <kyrofa> I'm not in launchpad-doc, but I will apply
[15:03] <kyrofa> Done
[15:04] <gokr> zyga-ubuntu: So... either I make an install hook (evidently) to create the $SNAP_DATA/apps dir (but still not sure that's done before the content connections are made?) - or I get a newer snap. How do I get a newer snap?
[15:07] <zyga-ubuntu> gokr: no, you cannot use an install hook
[15:08] <gokr> ok
[15:08] <zyga-ubuntu> gokr: install hook runs in the execution environment for the snap
[15:08] <zyga-ubuntu> gokr: and that already has the mount namespace prepared
[15:08] <gokr> right, as I suspected
[15:08] <zyga-ubuntu> gokr: long story short, you need to wait for 2.29.2 or 2.30 and then it will not be a problem anymore
[15:09] <oSoMoN> mvo, re xdg-settings, yes: https://cs.chromium.org/chromium/src/chrome/browser/shell_integration_linux.cc?type=cs&sq=package:chromium&l=86
[15:09] <gokr> So currently I can only mount to $SNAP_DATA/ ?
[15:09] <zyga-ubuntu> gokr: yes, I'm afraid so :/
[15:09] <gokr> Or to $SNAP/whatever - if readonly?
[15:10] <zyga-ubuntu> yes
[15:10] <zyga-ubuntu> but $SNAP/whatever must be in the snap already (it must be an empty directory)
[15:10] <gokr> Right, but that may be doable.
[15:10] <gokr> ok, cool
[15:10] <zyga-ubuntu> well, those things are getting improvements
[15:10] <zyga-ubuntu> gokr: please look at this thread, where we discuss how to improve the content interface
[15:11] <cachio> mvo, is it any reason why we sync github and snapd-vendor in launchapd for any green in master?
[15:11] <zyga-ubuntu> https://forum.snapcraft.io/t/improvements-in-the-content-interface/2387
[15:11]  * kalikiana waves at kyrofa 
[15:11] <cachio> mvo, we could do it nightly based on the last green on master too
[15:11] <kyrofa> Good afternoon kalikiana
[15:12] <kalikiana> kyrofa: Can you merge snapcraft#1627 ?
[15:12] <mup> PR snapcraft#1627: lxd: split container classes into different files <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1627>
[15:14] <gokr> zyga-ubuntu: So... I am presenting tomorrow around this idea - and hopefully with a small demo. It would be nice to verify it with you.
[15:16] <mvo> cachio_lunch: we are mostly doing it because this way we get quicker test cycles. we could do it nightly only too
[15:17] <kyrofa> kalikiana, looks like it's out of date
[15:17] <kalikiana> huh?
[15:18] <kyrofa> kalikiana, it's behind master. Sometimes that's okay, but since the PR is not small, I'd like to run tests against an updated branch
[15:18] <kyrofa> So I just updated it
[15:19] <kyrofa> If it's still green, I'll merge it
[15:19] <kalikiana> Oh. D'uh :-D Sounds sensible
[15:19] <kalikiana> Thanks
[15:19]  * ogra_ sees the most recent forum post and thinks someone runs in circles ... 
[15:26] <ikey> the dollahz one?
[15:26] <ikey> oh christ
[15:26] <ikey> if people could get over recreating the android success story that'd be swell
[15:28] <zyga-ubuntu> ogra_: ?
[15:28] <zyga-ubuntu> oh
[15:28] <zyga-ubuntu> I see
[15:28] <ogra_> yeah,, Chipaca bit the bullet already
[15:29] <Chipaca> ¯\_(ツ)_/¯
[15:29] <zyga-ubuntu> Chipaca: thank you: )
[15:29] <zyga-ubuntu> I'm off to my parents, but I'm working on snapd on the way :)
[15:29] <zyga-ubuntu> ttyl
[15:29] <zyga-ubuntu> man, I wish irssi knew my network status and could do the right thing
[15:30] <zyga-ubuntu> I'm so lazy not to script it
[15:30] <zyga-ubuntu> anyway, ttyl
[15:38] <kyrofa> Chipaca, you're our hero
[15:43]  * Chipaca actually LOLs
[15:45]  * zyga-ubuntu got a USB thumb drive that is 67GB big
[15:45] <Pharaoh_Atem> hey ikey
[15:45] <zyga-ubuntu> should I trust that?
[15:45] <zyga-ubuntu> looks very ... odd
[15:45] <ikey> Pharaoh_Atem, rawr
[15:47] <Chipaca> niemeyer: augh. joining those threads makes things worse imho :-(
[15:47]  * Chipaca gives up and takes a break
[15:47] <niemeyer> Chipaca: I've literally answered that very question already
[15:47] <niemeyer> Chipaca: IN that topic
[15:48]  * kalikiana waves at Pharaoh_Atem 
[15:48]  * Pharaoh_Atem waves back at kalikiana
[15:48] <niemeyer> Chipaca: It sounds worse to have N topics repeating the same questions and then copy & paste responses
[15:58] <ogra_> niemeyer, it feels like you answered that question at least 20 times ...
[15:59] <ogra_> (just that it was differently phrased each time)
[16:00] <zyga-ubuntu> maybe it's one of those questions that need to be a video
[16:00] <ogra_> lol
[16:01] <zyga-ubuntu> wait, I found one
[16:01] <ogra_> well, helloween isnt far out ... could be a funny video ... :)
[16:01] <zyga-ubuntu> https://www.youtube.com/watch?v=WWaLxFIVX1s
[16:01]  * zyga-ubuntu gets back to writing tests
[16:01] <ogra_> yeah, that fits
[16:08] <kyrofa> snappy-m-o, autopkgtests 1583 xenial:amd64
[16:08] <snappy-m-o> Command "," / ", autopkgtests" not found.
[16:08] <snappy-m-o>  Did you mean "/snappy-m-o autopkgtest" ?
[16:09] <kyrofa> snappy-m-o, autopkgtest 1583 xenial:amd64
[16:09] <snappy-m-o> kyrofa: I've just triggered your test.
[16:09] <ikey> https://media.giphy.com/media/vk7VesvyZEwuI/giphy.gif
[16:09] <kyrofa> snappy-m-o, I only ever use you for one thing. You should know what I want
[16:09] <snappy-m-o> Command "," / ", I" not found.
[16:09] <kyrofa> ikey, :P
[16:10] <ogra_> ikey, lol
[16:10] <ikey> ^_^
[16:12] <zyga-ubuntu> jamesh: hey
[16:12] <zyga-ubuntu> jamesh: it's a bit early but maybe you're around now
[16:13] <zyga-ubuntu> Chipaca: o/
[16:23] <Chipaca> zyga-ubuntu: \o
[16:23] <pedronis> Chipaca: are you off tomorrow? or only Thu?
[16:24] <Chipaca> pedronis: thu an' fri
[16:24] <Chipaca> why?
[16:24] <Chipaca> i can also take tomorrow off if you want :-D
[16:24] <pedronis> Chipaca: I need a review :)
[16:24] <pedronis> that's why
[16:24] <Chipaca> :-)
[16:24] <Chipaca> pedronis: i'll be here tomorrow
[16:25] <pedronis> ok, thank you
[16:26] <Chipaca> i'll make sure i mark the pr as 'changes requested' over some typo in a comment, just before i EOW
[16:30] <pedronis> I should also try to do some reviews tomorrow, it seems our queue is growing again
[16:37] <Chipaca> ogra_: http://www.webtender.com/db/drink/4197
[16:38] <Chipaca> dunno why it's for you, but it's clearly for you
[16:38] <ogra_> cheers !
[16:39]  * kalikiana going to find something for dinner
[16:50] <cachio> mvo, sorry, which tests are triggered when we sync with snapd-vendor?
[17:03] <elopio1> kyrofa: are you going to join the new ubuntu on air thing? https://community.ubuntu.com/t/ubuntu-hour-friday-october-27th/1019 :D
[17:03] <kyrofa> elopio1, I saw the post but hadn't read it yet, let me do so
[17:03] <cachio> mvo, If we sync once a day, we will almost make sure the core we have in snapd-vendor repo is the code used to build the core snap
[17:04] <cachio> So, I can detect a new core snap in edge and run the tests using snapd-vendor and it should work
[17:04] <cachio> mvo, is it ok if I propose a PR with that change?
[17:05] <cachio> then the commits information won't be longer needed
[17:07] <kyrofa> elopio1, I'll be there!
[17:10] <kyrofa> snappy-m-o, autopkgtest 1636 xenial:amd64
[17:10] <snappy-m-o> kyrofa: I've just triggered your test.
[17:16] <elopio1> kyrofa: great! Please reply on the topic, to start moving it and so I know who to send the link on friday.
[17:17] <elopio1> what about you zyga-ubuntu ? We have a new testing-day like show ^
[17:19] <zyga-ubuntu> re
[17:19] <zyga-ubuntu> Chipaca: sorry for bothering you at this time
[17:20] <zyga-ubuntu> Chipaca: are you still working, can I trick you into a tiny review? (really small)
[17:23] <pedronis> mvo: niemeyer: I just remembered we also need to do something about firstboot and core config, atm we apply optionally default config for core from the gadget  at first boot but that depends on configstate and the configure hook
[17:25] <pedronis> mvo: it suggests, one option would be to hook/redirect just below/behind configstate.Configure
[17:40] <zyga-ubuntu> anyway
[17:40] <zyga-ubuntu> https://github.com/snapcore/snapd/pull/4068 if anyone wants
[17:40] <mup> PR #4068: interfaces/builtin: add support for content "source" section <Created by zyga> <https://github.com/snapcore/snapd/pull/4068>
[18:28] <zyga-ubuntu> jdstrand: thank you for the review
[18:28] <zyga-ubuntu> jdstrand: I'm making comments and I'll tweak the comments in the code shortly
[18:31] <zyga-ubuntu> jdstrand: I'm eating supper but if you can re-review this after ~45 min it should be all ready
[18:32] <cachio> zyga-ubuntu, if you have 2 minutes could you please take a look to PR
[18:32] <cachio> 4064
[18:32] <cachio> just to confirm if it is an issue or not
[18:35] <kalikiana> kyrofa: snapcraft#1627 seems to be green
[18:35] <mup> PR snapcraft#1627: lxd: split container classes into different files <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1627>
[18:37] <kyrofa> kalikiana, done
[18:37] <kalikiana> woot
[18:37] <zyga-ubuntu> looking
[18:37] <kalikiana> kyrofa: Thank you so much, sir!
[18:37] <mup> PR snapcraft#1627 closed: lxd: split container classes into different files <Created by kalikiana> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/1627>
[18:38] <zyga-ubuntu> cachio: ah, I bet you that the interface actually relies on apparmor alone and thus won't have any effect on fedora, debian and likely, opensuse
[18:39] <zyga-ubuntu> cachio: check for partial confinement in the test and then skip that other half of the test that would fail if it were disconnected
[18:40] <cachio> zyga-ubuntu, ok, but in debian the files don0t exist, so I suppose it is not supported by the kernel
[18:40] <cachio> zyga-ubuntu, is it true?
[18:46] <kyrofa> snappy-m-o, autopkgtest 1636 xenial:amd64
[18:46] <snappy-m-o> kyrofa: I've just triggered your test.
[18:48] <cachio> zyga-ubuntu, in debian it is failing when we execute the snap
[18:52] <zyga-ubuntu> cachio: interesting, I wasn't aware of that
[18:52] <zyga-ubuntu> cachio: I'll check and get back to you but that will be tomorrow
[18:52] <cachio> zyga-ubuntu, sure
[19:21] <jdstrand> zyga-ubuntu: I'm going to go for a walk and when I come back, I'll take a look at the PR again
[19:21] <zyga-ubuntu> jdstrand: done :)
[19:21] <zyga-ubuntu> jdstrand: thank you :)
[19:22] <zyga-ubuntu> jdstrand: assuming tests are happy this will be a major improvement to content interface
[19:22] <zyga-ubuntu> enjoy your walk :)
[22:35] <kyrofa> snappy-m-o, autopkgtest 1583 xenial:amd64
[22:35] <snappy-m-o> kyrofa: I've just triggered your test.