[00:54] PR snapd#5011 opened: data/selinux: Recognize more aspects that snapd needs access [00:57] zyga, ^ [04:23] Hey guys, Im trying to build my own snap for a custom Arm kernel of Ubuntu. It's build well, but i cant install it. I have a "mount snap core" error [04:24] The hardware is a Jetson TX2, the kernel is Linux4Tegra 28.2 [04:24] am i getting this "mount snap core" error because of my kernel? or because I did smtg wrong [04:25] it's running ubuntu [05:07] morning [05:20] good morning [05:20] Pharaoh_Atem: ack, thank you [05:20] Caelum: ack, trying [05:21] eraserpencil: perhaps missing squashfs support in the boot loader or the kernel, not sure thoguh [05:23] Caelum: ah, we need to adjust badness thing [05:23] Caelum: we should submit our policykit files somewhere to SUSE central packages to get rid of the problem [05:30] zyga: hey, morning [06:01] hey [06:10] zyga: how is it that it can compress into squashfs it it didnt have squashfs [06:13] eraserpencil: compress? the kernel never works on the compression side [06:14] eraserpencil: also the boot loader and kernel have separate implementations [06:14] eraserpencil: so perhaps it was the boot loader that got through the kernel but the kernel could not mount the root filesystem (squashfs) because it was not enabled in your kernel [06:14] eraserpencil: I'm just saying it's possible, check your kernel configuration [06:15] how? [06:17] ahh custom kernel, ok nvm [06:20] eraserpencil: you are using your own kernel, right? [06:20] Caelum: fixed locally, will push when the package builds [06:20] it's LInux4Tegra by Nvidia [06:20] Asking the forum there now [06:22] eraserpencil: you may want to look at forum.snapcraft.io too [06:22] perhaps there's already a working kernel with snap support there [06:22] kk [06:22] thanks [06:33] mborzecki: hey, good morning. have you seen the feedback in 4942? [06:35] mvo: hey, yes, i'll be updating this shortly, got dug up in some rpm stuff [06:36] Hey mvo, welcome back [06:37] mborzecki: cool, thank you [06:38] zyga: hey, thank you! nice to be back :) how are you (and the rest of the gang)? any fires ? [06:38] I think we are good but we need 2.32.3 in stable ASAP [06:39] And we need .4 === ejat_ is now known as ejat [06:40] zyga: sounds good [06:40] .4 must bring hook fixes and the new store api [06:40] zyga: we need .4 for the new api? or for moe? [06:41] zyga: have the hook fixes landed in 2.32 already? [06:42] Nope [06:42] But there is an initial or [06:42] PR [06:43] zyga: cool, I have a look now [06:46] zyga: do you think we should cherry-pick 5011? [06:46] PR snapd#5011 closed: data/selinux: Give snapd access to more aspects of the system [06:47] mvo: hi mvo, we want to enable one custom board with ubuntu core, I followed the guide on the website [06:48] mvo: but when I want to upload the kernel snap, it was rejected since kernel type is not allowed.. [06:48] mvo: so what should we do now to enable our device? [06:50] hamo: custom enablement is probably good to discuss with e.g. ogra_ (he will be around in ~2h or so usually). you can sideload the kernel via ubuntu-image. you can also request a manual review for a rejected snap. kernels are not auto-accepted into the store because of all the security implications that this has [06:51] hamo: and good morning :) [06:51] zyga: 5006 looks like an easy win :) [06:55] yeah, I'll do Jamie's interface PRs now [06:56] mvo: haha.. It's afternoon here, good afternoon [06:57] mvo: oh, about ubuntu-image, there's a broken snap that should probably be disabled now [06:57] mvo: another question, I see I can directly upload to edge channel, but when I want to upload this kernel to edge channel, it failed as "A file with this exact same content has already been uploaded" [06:57] mvo: how could I delete the bad one and re-upload it? [06:58] hamo: exact same content? [06:58] it's already there [06:58] upload a different one [06:58] zyga: yep, the same snap to another channel [06:58] hamo: you don't need to upload it [06:59] hamo: just publish it [06:59] you can publish a revision into a channel [06:59] hamo: yeah, it means the snap is already in the store, you can simply use "snapcraft release $your-snap $your-rev edge" (for example) [06:59] zyga: mvo Good... let me try it [06:59] PR snapd#5006 closed: interfaces: misc updates for default, firewall-control, fuse-support and process-control [07:00] mvo: I asked jdstrand about back ports of the interface PRs [07:00] ohhh [07:00] I'm blind :) [07:00] PR snapd#5008 closed: interfaces: misc updates for default, firewall-control, fuse-support and process-control - 2.32 [07:01] zyga: thank you! [07:02] zyga: what broken snap is there? a broken ubuntu-image snap? [07:02] zyga: if so, anything we need to do about it? [07:02] mvo: ubuntu-image is broken [07:02] I think someone from foundations should take action [07:03] zyga: mvo could I do release if the target package is in pending-review status? [07:03] hamo: I don't know [07:04] zyga: can you join #ubuntu-devel please ? not sure that sil2100 is aware of the issue [07:04] hamo: I think you need to wait until this is reviewed, but please try I'm not 100% certain myself [07:08] good morning [07:10] kalikiana: good morning [07:10] pedronis: \o/ for 5004 - you rock! === pstolowski|eow is now known as pstolowski [07:11] morning [07:14] hey kalikiana, pstolowski :) [07:32] PR snapd#4992 closed: tests/main/interfaces-opengl-nvidia: verify access to 32bit libraries [07:32] mborzecki: woah, 4989 (arch) succeeded on arch?!? [07:32] mvo: yes :) [07:33] mvo: even not that many tests had to be disabled :P [07:34] mborzecki: nice job! [07:35] mvo: even better, with all the gce support niemeyer it should have no impact on how long the tests take to run :P [07:35] mborzecki: I really like this aspect of the PR :) [07:39] PR snapd#5005 closed: interfaces/hostname-control: allow setting the hostname via syscall and systemd [07:46] mvo: zyga another question, does snap/ubuntu core support boot from nand flash? [07:47] hamo: Yoooooooooo [07:47] hamo: yes, it's just something that has to be handled by the gadget [07:47] hamo: to be precise, snapd doesn't care where it's booted from [07:48] zyga: really grea.....t, any example of nand gadget? [07:48] nope [07:48] I only work on reference devices [07:48] my point is that snapd doesn't constrain that [07:49] if you can boot from NAND on your board that's fine [07:50] mvo: about https://github.com/snapcore/snapd/pull/4987 -- I merged and then reverted your PR [07:50] PR #4987: tests: add test to ensure `snap refresh --amend` works with different channels [07:51] as AFAIK it was conflicting with pedronis' big activity PR and it was contained therein [07:51] currently ubuntu core try to extend / modify the partition layout at the first boot. Which doesn't work for NAND... Hi, ondra, Have you tried it on Nand device? [07:52] PR snapd#4999 closed: advisor: use json for package database === JerryKao is now known as Jerry-Bluefin [08:21] do we have anything to manipulate/open file descriptors to journald? [08:23] mborzecki: via journalctl, in systemd (search for jctl) [08:23] mborzecki: all it does is use osutil.StreamCommand though [08:23] not sure that's what you mean [08:24] mborzecki: why? [08:24] mvo, zyga: any idea about the snapd autopkg test failure on i386? the history doesn't look well in any case [08:24] hmm, no, could you please pass the link to the error? [08:25] Chipaca: something bothering me about app autostart, so gnome-session does `sd_journal_stream_fd("foo.desktop",..)` and uses that fd as stdout/stderr [08:26] Chipaca: in case of our autostart via `snap userd --autostart`, we end up with say `snap-userd-autostart.desktop: ...` in the users journal, because the fd was open for snap-userd-autostart.desktop [08:26] Chipaca: a way to fix it would be to open another set of fds just for the app and tag them [08:26] * Chipaca reads sd_journal_stream_fd(3) [08:27] mvo: ^^ intersting in the context of app autostart [08:27] doko: last I looked at it we got random reached during the tests. for some reason it looks like the autopkgtest VMs are slow(er) than the other machines? maybe overcommited more? [08:27] mborzecki: hm, interessting [08:28] mborzecki: is userd still short-lived? [08:29] Chipaca: yes, it just starts the apps and goes away [08:29] 'cause if it is, i'd say just build against libsystemd [08:29] and do the actual sd_journal_stream_fd call [08:29] Chipaca: that would drag in cgo [08:29] mborzecki: yes [08:30] mborzecki: our reticence to use cgo is mostly around memory leaks, and applies to long-lived processes [08:30] mborzecki: (that is outside of specific omg-needs-to-be-static cases =) ) [08:30] mvo: the queue is empty now, so I wouldn't expect that. but please could you address this with Laney and/or make the tests more conservative then? or is this a real issue with git? [08:31] mborzecki: OTOH it's quite likely the sd_journal_stream_fd call is really just calling dbus, so you could do it that way [08:31] * Chipaca doesn't know though [08:31] Chipaca: hm that might be a bit controversial, i'd rather land the PR as it is now and do a smaller iteration to address this incovenience [08:32] mborzecki: or [08:32] doko: I doubt its a real issue, this works fine in our GCE environment, we see close to 100% success there (sometimes network related failures). I will check with Laney. [08:32] mborzecki: you could exec the command piped to systemd-cat [08:33] doko, Laney an interessting observation is that they all (the recent ones) die in "+ journalctl --sync\n\n". makes me wonder if something is wrong with the systemd setup on these instance [08:33] Chipaca: hm i could just reimplement this in Go: https://github.com/systemd/systemd/blob/97a33b126c845327a3a19d6e66f05684823868fb/src/journal/journal-send.c#L395 ;) [08:34] mvo: zyga: hi, do we support hooks and applications in bases? I don't think we prohibit them? do we use themselves as the root filesystem or core if we run them? we should probably use themselves I suppose, execpt to get snapctl etc [08:34] we use themselves I believe but we hardly ever try [08:35] core is almost like a base snap (almost) so we don't exercise that code [08:35] I'm not sure reading snap-confine code [08:35] alloca(l + 1 + 1 + 2 + 2 + 2 + 2 + 2) [08:35] pedronis: we do not prohibit them, but unless we have a use-case, maybe we should? [08:35] pedronis: note that base is conveyed from snap run [08:35] mborzecki: totally sane [08:35] Chipaca: this one is intersting too: header[l++] = '0' + !!level_prefix; [08:36] Chipaca: int level_prefix [08:37] mborzecki: I think rewriting that specific function in Go seems sane [08:37] mborzecki: but, maybe do it in a separate PR [08:37] Chipaca: agreed [08:38] mborzecki: are you reading kernel sources? [08:38] mvo: zyga: we don't pass itself from snap run if the snap is a base, so I suppose we use core as the filesystem which is not correct [08:38] ah, systemd [08:38] zyga: systemd, gnome-session and glib :P [08:38] pedronis: that feels like a bug then [08:39] because taking foo.desktop and starting an app cannot be trivial :) [08:39] mvo: yea, I think either we should prohibit them, or bases should not have a base (I think that we might check already) and should be their own base [08:40] pedronis: yeah, I think we do not allow a base to have a base but worth double checking, I make a note to look at this [08:41] mvo: for context I was looking at this because of the question of what waits to setup in UpdateMany [08:42] mvo: snaps should wait for their base, and everything should wait for core (in theory, and in the future the snapd snap) as the source of snapctl, snap-exec etc [08:42] pedronis: I think that this setup makes sense [08:43] snaps should wait for the things their default providers too [08:43] no? [08:43] Chipaca: that's already done a bit differently [08:44] Chipaca: here is the question of things for which snap-confine is unhappy if there's no current symlink [08:44] mborzecki: OTOH systemd-cat is literally prepending "systemd-cat" to the exec line [08:44] pedronis: ah [08:45] Chipaca: basically snap-confine reads the current of core and base, and if the inactive we cannot really do things with services or hooks of a snap [08:45] yep yep [08:47] mvo: btw I prepared the backport of new api for 2.32, should wait until we are confident 2.32.3 is good before merging though [08:49] pedronis: yes, I saw it and will eyeball it today (it was already reviewed so I will just do a quick sanity check) [08:49] pedronis: and agreed that we need to hold it back a little [09:14] pedronis: just double checked, we error if a base or an os snap has a base set [09:20] mvo: ok, so either we fix snap run to send the --base to be base for a base, or we need to prohibit [09:20] more [09:23] pedronis: maybe we talk about it in the standup but my preference for now would be to disable hooks/apps on bases [09:23] (unless we have a use-case) [09:50] PR snapd#5012 opened: snap: fix `snap advise-snap --command` output to match spec [09:58] mvo: ok, it changes a bit the answer on what waiting needs to happen [09:59] pedronis: changed in what way? [10:00] mvo: if bases don't have apps, services or hooks, we don't need to wait on anything for them [10:01] pedronis: indeed [10:08] zyga: Do you guys expose host fonts to apps? [10:08] zyga: i.e. https://github.com/flatpak/flatpak/issues/1563 [10:08] Yes, one of the interfaces does this [10:09] But we expose the fonts, not all of the guts [10:09] same here [10:09] but, the guts is unfortunately needed for some things [10:09] thus that issue [10:09] Of course, the guts are a total horrorshow [10:10] Yes, we [10:10] Know this are not abi stable [10:13] alexlarsson: re, so I think the fonts are the 1st best thing we can do [10:13] the "guts" (caches, config files) are a no-no for now [10:13] I'd be interested to understand more about when we need the config files [10:13] We do expose the caches [10:13] those are versioned [10:13] I believe for intance https://github.com/flatpak/flatpak/issues/1556 is due to the lack of the conf.d files [10:14] Hmm, interestingly that says snappy can display them :) [10:15] But, the conf.d snippets has per-language additions to some standard font names [10:15] hmm, interesting [10:15] alexlarsson: so snaps do get most of /etc from the host [10:15] so that you get glyphs picked from that font for e.g. sans- [10:15] so perhaps we just didn't notice the issue because we share /etc/fonts/ automatically [10:16] The desktop helpers do some voodoo too. [10:16] https://github.com/ubuntu/snapcraft-desktop-helpers/blob/a3de48097a4d7e81ef309e1b2c4eaea970ef88cc/common/desktop-exports#L166 [10:16] yes, the helpers massage the world into compliance [10:17] Like, on fedora, 65-0-lohit-bengali.conf has: [10:17] https://paste.fedoraproject.org/paste/-gRyyRM~iFjfyMWMJFAgmA [10:17] Which i believe makes it pick that font for indic glyphs when showing sans-serif [10:18] * zyga refrains from commenting about XML as a imperative programming language [10:18] Or something like that (who knows how this shit really works) [10:18] but yeah [10:18] it seems that this font config is what over time moved to /lib as "configuration" for systemd units and other non-config things that need to be there by default [10:19] maybe fontconfig needs similar treatment, move most of that off to /lib and allow /etc for _optional_ overrides [10:19] In fedora the files in there are symlinked from /usr/share/fontconfig/conf.avail/ [10:19] same on Debian [10:19] But i think they need to be in one directory for the priority sort thing to work [10:19] well, almost [10:20] sorry, it's /etc/fonts/conf.avail [10:20] there's a swarm of symlinks to that go from /etc/fonts/conf.d/ to ../conf.avail/ [10:20] The main problem i have with it is that it just randomly includes these snippets that can do *anything* [10:21] like, set font directories, include other xml files, etc [10:21] They just randomly reused the system config language for per-font tweaks [10:21] I think bringing those from the host is a mistak [10:21] mistake* [10:21] on our end it's just historic thing we want to undo [10:22] we should ship working configuration in a read-only place [10:22] and offer additional fonts from the host, but not their configuration [10:22] *until* fonts can be shipped by flatpaks/snaps [10:22] But, if it is needed for e.g i18n, then we're kinda hosed [10:22] and something sane is done about the "configuration" (some form of validation of what is allowed) [10:23] I'm lightly considering some kind of sanitizer thing to export the right things [10:23] Just wanted to sync with you as it seems you'll have similar issues [10:24] so we are in the same boat, I think our setup works "more" but mostly by historic accident [10:24] I wonder if anyone ever edits those [10:24] and if we could really just make all of those configuration files immutable [10:24] I don't think anyone edits the files [10:24] it might be a problem if the format changes (e.g. new syntax to do something new) [10:24] but, the directory will change as you install font packages [10:25] and including the host's /etc causes problems [10:25] In fact the font *did* just change [10:25] eh, format [10:25] font or the config system? [10:25] oh [10:25] can you explain what changed? [10:25] https://bugs.freedesktop.org/show_bug.cgi?id=105818 [10:26] I think some translation thing changed [10:26] so, chrome with statically linked fontconfig cannot read the fontconfig 2.13 conf files [10:26] epic, eh? [10:26] yes, year of the linux desktop is surely not this year [10:27] I think it is still backwards compat though [10:27] so, a sanitizer could just ignore "new" stuff [10:27] yes the bug report comment says: "you could still use the older config files with newer library but the newer config files may not works with older library like that." [10:27] so we could offer a frozen view of older configuration syntax, if one was available with each and every font package on all the distributions (read: probably not) [10:28] Yeah, the problem would be if the host font dropped a conf.d with some new config feature [10:28] one idea is to offer a filter [10:28] that takes an .xml config file [10:28] some extra hint as to which output format to create [10:28] and strip or translate some features into a compatible format for the given library [10:29] In an ideal world the config format should be split into two things [10:29] that translator could run in a sandbox on export [10:29] one that does system config [10:29] and one that does per-font tweaks and that is minimal and stable [10:29] But, thats not what we got... [10:30] But yeah, we need some kind of xml-convertor/stripper like that [10:31] But, one has to actually understand all this crack to write it... [10:31] alexlarsson: given the "track record" of xml I'd either sandbox the converter or write it in a safe language (preferably both) [10:31] Well, it is the host [10:31] like, the host is not going to be attacking the sandbox [10:31] its normally the other way around [10:32] So, i don't think that is the largest problem [10:32] But it has to be very flexible in handling new, unknown format extensions [10:32] does flatpak allow flatpaks to ship fonts to the host? [10:33] no [10:33] runtimes can bundle fonts, and apps can bundle fonts [10:33] So you have *some* guarantees [10:33] ok [10:33] but normally the idea is to use system fonts [10:33] For the apps [10:35] alexlarsson: when did this issue surface? [10:35] with the format chagne [10:35] the chrome thing? [10:35] Antergos Linux, 4.15.15-1-ARCH [10:36] when 2.13 was released, so like a month or so ago [10:36] ah, so probably some bleeding edge version of fontconfig [10:36] sorry, I wasn't clear, I was thinking about fontconfig itself [10:36] fontconfig 2.13 [10:37] tumbleweed is at 2.12 [10:37] we will notice the issue soon then [10:38] interestingly on opensuse /etc/fonts/conf.d is full of symlinks to /usr [10:39] we can work around that to expose font configuration some other way but I worry that this is a ticking bomb [10:40] mvo: 2.32.3 failed to build in xenial [10:42] I see the build was restarted [10:46] zyga: failed in the PPA? [10:46] mvo: I noticed the build was restored and I removed the mail from my inbox, I don't recall [10:49] zyga: aha, ok [10:50] zyga: yeah, very rarely we get those [11:12] ogra_: i have a core system which doesn't seem to have resized the writable part. It's only 8GB on a 80GB disk. Is there some way to force it or do I need to bust out a live cd and gparted? [11:14] popey, well, it would be good to find out why it actually didnt resize (the resize code is pretty dumb, it should always work) ... can you re-flash and capture the log from /run/initramfs ? [11:15] (if the partition got resized but the filesystem has errors you wouldnt need gparted, just resize2fs) [11:15] s/has/had/ [11:16] i think i know why it didn't [11:16] i dd'ed onto a usb stick, then once setup, i dd'ed *that* to the hard disk [11:16] so i guess it thinks it already ran once, so doesnt need to [11:18] well ... the script checks the partition size vs the device size and looks if there is free space after the writable partition [11:18] ok, used resize2fs and its okay now [11:18] ok [11:18] the partition was full size, but the filesystem wasnt [11:18] thanks! [11:18] so the parttition was actually at full size [11:18] (also is this the right place for core questions?) [11:18] *snap* [11:19] I mean, we don't have a category on the forum? [11:19] sure [11:19] "device" is the core cateogory [11:19] but i have admittedly not had much time the last week to look at the forum [11:19] ahh === pstolowski is now known as pstolowski|lunch [11:19] does an app installed with snap update itself? [11:19] if installed from the store, yes katnip [11:20] (got a big backlog i need to go through ... working for customers eats time :) ) [11:20] ok ty [11:20] katnip: any snap in particular you're interested in? [11:20] it is hexchat [11:20] zyga, after the change introduced to make snapd work better with selinux, should we be able to run tests on the google fedora again? [11:20] zyga, I mean, without the change to make it permissive [11:21] katnip: ok, yes, when TingPing updates hexchat in the store, you'll get it [11:22] cachio: I don't think so [11:22] nice, thanks [11:23] kalikiana: hey, do you happen to know if there is a plan to support "refresh-mode" in the snapcraft.yaml json schema? [11:23] kalikiana: its a relatively new feature of snapd [11:31] mvo: did I answer your question about test in 5004 ? [11:33] pedronis: let me quickly double check [11:40] pedronis: replied, it is indeed testing the thing I was looking for already [11:40] thx [11:40] looking into pawel comment atm [11:41] * Son_Goku groans into existence [11:43] mvo, so it looks like my ability to compile snapd has been restored according to Koschei: https://apps.fedoraproject.org/koschei/package/snapd [11:43] (if you were wondering why I hadn't been packaging the last few releases, that gives you an indicator of why...) [11:44] PR snapd#5013 opened: cmd/snap-confine: ignore missing cgroups in snap-device-helper [11:44] Son_Goku: \o/ great to hear. it was the go-yaml breakage? [11:44] yes [11:44] mvo: ^ trivial review [11:45] mvo: consider a .4 candidate PR [11:45] as evidenced by https://apps.fedoraproject.org/koschei/build/4577065, the dependency of golang-gopkg-yaml-devel-v2 from 1-21 to 1-22 fixed it [11:45] that was picked up by Koschei on April 7 [11:46] mvo, pedronis, hmm, is there some special trick to set a password to expired via system user assertion or is that simply not implemented (pretty typical usecase to have something like "admin/admin" and force the user to set a new PW on first login) [11:47] * cachio afk [11:47] mvo, root cause was that yaml was mispackaged (v1 had v2 and v2 had v1) [11:48] * Fri Mar 30 2018 Robert-André Mauchin - 1-22.gitcd8b52f [11:48] - Fix mixed-up directories [11:49] Son_Goku: heh, ok [11:50] I'm pushing new go-yaml updates to stable _now_ [11:50] https://bodhi.fedoraproject.org/updates/FEDORA-2018-e05b554cb4 [11:50] it should sync out in the next 12 hours [11:51] ogra_: not implemented afaict, what do you try to pass exactly? is the validation rejecting it? [11:51] mvo, so we can turn CI back on for Fedora either later today or tomorrow [11:51] we should also consider wiring up Fedora 28 CI [11:52] mvo, not trying to pass anything ... for a pre-release image a customer is asking for a default user/passwd in the image we give them ... would be nice to have that PW expired by default to force an updated PW ... i was just going through the documentation and didnt find anything on that topic === pstolowski|lunch is now known as pstolowski [11:53] ogra_: yeah, we don't support this right now [11:53] they want a dev image along with the production one and dont want to force the developers to make their own assertion ... but a known fixed PW is rather insecure as you know :) [11:54] i'll file a feature request on the forum ... [11:55] standup is at 3pm? [11:55] I think so, mvo? [11:56] zyga, mborzecki yes [11:56] ok [11:56] ok, I need to take the dog out, also visit the vet nearby [11:56] I may take the stand-up from my phone [11:59] Who will make a Snap of a Java Runtime, so other Snaps can get Java support? :-) [12:00] (Like VLC, to bring full Java menus to Blu-ray playback) [12:05] off to pick up the kids, will be back for standup [12:10] ogra_: what do I have to do to get screen or tmux pre-installed on core? [12:11] (screen is 560K, tmux is 345K) or so... [12:17] popey: bribery works [12:18] screen is probably more useful on core because of the serial port support (unless tmux also has it and i just don't know how to use it) [12:18] popey: OTOH, wouldn't a screen snap work? [12:18] I suggested tmux because AIUI screen is ye olde and tmux is newer shiny [12:19] would need classic which wouldn't work on core [12:19] why would it need classic? [12:19] hmm [12:19] * ogra_ never used tmux ... (i'm probably to old for that new fangled stuff :P ) ... but i'm alos wondering why a snap wouldnt work [12:19] run arbitrary binaries [12:19] there is a tmux snap [12:19] its classic [12:19] classic though [12:19] hence why I'm asking [12:19] make a non-classic one ;) [12:20] it wont work non-classic [12:20] thats like saying have a bash non-classic, it would be moribund [12:20] screen definitely doesnt need to exec any arbitrary binaries [12:20] it just needs access to the tty's [12:21] popey: i hear ogra_ volunteering to write a non-classic screen snap [12:21] screen also needs /var/run/screen to be 777 [12:21] haha, ayeh, in 6 months or so ... (totally swamped with customer work nowadays .. ) [12:22] hah! I just copied the screen binary out of the deb and it works! [12:22] :) [12:22] popey: can it resume a session tho [12:22] (it should still be built in imo) [12:22] nah [12:22] yes [12:22] it should be snapped [12:23] ok on it [12:23] popey: ogra_: probably with an ad-hoc interface [12:23] popey: ogra_: especially if there's a common (or common core + special for each) between screen and tmux [12:23] say screen uses /var/run/screen and tmux /var/run/tmux or sth [12:23] I'll try screen first [12:24] I wonder what jdstrand thinks =) [12:24] because I need something, having to use ALT+F(n) and keep logging in is getting me down [12:24] just patch it to use a proper $SNAP_* dir ... [12:24] cant be that hard [12:24] (tm) [12:25] mvo: pstolowski: I updated 5004 [12:25] pedronis: thaks [12:25] *thanks [12:27] Hello all! [12:28] niemeyer: welcome back [12:29] popey: Thanks! [12:31] niemeyer: are you really here? i thought you were conferencing this week [12:32] \o/ offlineimap in one screen, mutt in another, cointop in another and irssi in the last \o/ Ubuntu Core "Workstation" done :D [12:32] yay ! [12:33] popeycore: sounds like you should snap bb [12:33] bb ? [12:33] hehe [12:33] or mplayer with aalib? [12:33] byobou ? [12:33] ogra_: apt show bb [12:33] niemeyer: hi! [12:33] pedronis: +1 with one question/suggestion [12:34] popeycore:¿por qué no los dos? [12:34] Chipaca: I'm really somewhat here today [12:34] Chipaca: Departing tomorrow [12:34] niemeyer: ah, ok =) [12:37] alan@hal:~$ snap run screen [12:37] Must be connected to a terminal. [12:37] :( [12:38] popey: you probably got an apparmor denial there [12:38] yeah [12:38] one looking at /etc/shadow and one looking at /var/lib/extrausers/shadow [12:39] huh, that was not what i expected [12:39] we might need a tty interface for that [12:39] or a console one or whatnot [12:41] jdstrand: good morning (when it's morning where you are). I am making a GNU Screen snap for core. Where should I request an interface/apparmor rules changes? :) [12:46] pstolowski: added the logging [12:47] pedronis: awesome, ty! [12:49] mvo: we want a backport of 5004 once it has landed, right? [12:56] popey: the forum is fine, but I would've thought you'd need classic [12:56] zyga: as for 5006 and 2.32-- I already requested and milestoned 5008. seems you saw that [12:56] yes, I saw that a moment after I asked [12:57] cool [12:58] pedronis: 5004> yes! but I can handle this as well if you want (ideally we squash the merge for easy cherry-pick) [12:58] yes, I marked squash-merge [12:58] marked it [12:59] ta [12:59] jdstrand: I don't know if you remember this issue: https://github.com/snapcore/snapd/pull/5013 [12:59] PR #5013: cmd/snap-confine: ignore missing cgroups in snap-device-helper [12:59] jdstrand: we try to configure cgroups before we create them [13:00] I do. thanks for the PR === mborzeck1 is now known as mborzecki [13:06] zyga: I approved. there is a comment suggestion to consider if you want [13:06] jdstrand: thanks you [13:07] zyga: fyi, for that comment: s/on start/after start/ [13:17] jdstrand: there you go https://forum.snapcraft.io/t/screen-snap/4917 :) [13:23] popey, did you try adding and connecting account-control ? [13:23] might make the second denial go away [13:26] yeah, but i still get the error and it's not working [13:35] i'm having problems building the maas snap on bionic. it worked on friday, but today i get this error: https://pastebin.ubuntu.com/p/tSW5RrZMBd/ [14:05] zyga, bug #1746710 is probably an issue in the desktop launcher and going to be fixed by the changes kenvandine is working on to handle real system & translated xdg dirs [14:05] Bug #1746710: Snap creates redundant duplicate directories in home folder [14:10] pedronis: looking at asserts/* it seems that we do not yet support list alternations in the base declaration. Eg, this is not valid: [14:10] deny-auto-connection: [14:10] - on-classic: false [14:10] - plug-attributes: [14:10] read: all [14:10] pedronis: is that accurate? [14:11] I need to look [14:12] well, there is a parseList... [14:14] it seems strange, it should be supported [14:14] I end up seeing: [14:14] panic: cannot initialize the builtin base-declaration: invalid map entry key: " plug-attributes" [14:15] which has some weird whitespace issues.. [14:15] wait a sec [14:15] this is what I see: [14:15] panic: cannot initialize the builtin base-declaration: invalid map entry key: " read" [14:16] maybe it is just a missing left trim [14:16] I never looked at the code that builds the base-decl from snippets [14:16] whitespace issues seem more likey though [14:16] because the code is the same for base-decl [14:16] and normal decl [14:16] and afaict they support alternation at that level [14:20] pedronis: ok, I did: [14:21] deny-auto-connection: [14:21] - on-classic: false [14:21] - plug-attributes: [14:21] read: all [14:21] pedronis: if I adjust that to: [14:21] deny-auto-connection: [14:21] - [14:21] on-classic: false [14:21] - [14:21] plug-attributes: [14:22] read: a;; [14:22] s/a;;/all/ [14:22] I get farther [14:22] ah [14:22] yes [14:22] remember that syntanx is yaml (but not quite) [14:23] * jdstrand nods [14:23] this is the first alternation in a base declaration [14:23] so I forgot about that point [14:24] well, I forgot too [14:24] and in the store it's JSON [14:24] so we don't see it [14:24] * jdstrand nods [14:24] pedronis: I think I'm good now. thanks! [14:24] that's the correct synax for map inside list elem [14:24] np [14:24] * jdstrand nods [14:25] zyga: i note you registered links. Do you fancy transferring it to snapcrafters so we can keep it up to date (yours is 2.12, latest is 2.15) [14:25] yes [14:25] popey: just tell me what to do [14:26] zyga: email bret and ask to transfer the snap to snapcrafters please. [14:27] zyga - better as a forum post, so my inbox isn't a bottleneck :) [14:28] The reason I said email is because whenever I post on the forum about transferring, we end up having to send a mail to confirm email addresses [14:28] noise][: that's perfect [14:28] I'll make a thread about this now [14:28] thank you! [14:29] popey: true, but at least there are several people that can pick up the request vs emailing an individual [14:29] at some point we'll need to make a web form on dashboard to initiate transfers [14:30] ok [14:31] popey: https://forum.snapcraft.io/t/request-for-transfer-of-links-snap-to-snapcrafters/4919 [14:31] PR snapd#5014 opened: overlord/snapstate: introduce envvars to control the channels for bases and prereqs [14:32] mvo: ^ [14:36] pedronis: thank you [14:46] PR snapd#5015 opened: cmd/snap-confine: ignore missing cgroups in snap-device-helper (2.32) [14:47] jdstrand: I see you noticed the thread where we discuss interface transactions [14:49] jdstrand: how do you feel about that concept in general. I think we could defer some operations and only do the costly one on "commit" [14:57] zyga: I gave it a heart :) [14:57] zyga: so, I like it. for performance, we should definitely not be recompiling the profile on each connection [14:58] zyga: this is going to be particularly noticeable on arm [14:59] even on intel it's noticeable when we do things for each interface connection [14:59] not once per snap [14:59] or even once per transaction involving a set of snaps [15:00] zyga: I know (I read the topic), but on arm it will be particularly painful [15:00] yes [15:14] that 'why are my fans spinning up? oh one of the cores has been at 100% for 2 minutes now running apport' moment [15:18] Chipaca: apport helps to make UK weather better by making some more winds ;-) [15:21] PR snapd#5004 closed: daemon,overlord/hookstate: stop/wait for running hooks before closing the snapctl socket [15:24] Can I install a 32bit version of VLC on my 64bit Ubuntu with Snap somehow? [15:26] mr_lou: no, not easily [15:27] mr_lou: is there a particular reason why you would like that? [15:27] zyga, Well.... wanted to try the --classic in order to let VLC be in contact with the outside world, and thus be able to utilize Java, which is needed for full Blu-ray playback (menus on Blu-ray's use Java). [15:28] Another option is for someone to make a Java Snap. Or at least I've heard so. [15:28] classic is not a magic bullet, it won't make a snap that doesn't anticipate that work [15:28] mr_lou: I'm afraid that that's now how things operate, there are plenty of java snaps around; what needs to happen is VLC upstream who control the VLC make that decision [15:29] I mean a Java Runtime Snap... a JVM. [15:29] yes, I understand what you mean [15:29] theoretically 32bit snaps should work on a 64bit host ... the core snap currently ships the 32bit libc alongside [15:29] mr_lou: you could make your own version of VLC that is compiled with java support, add java inside and try that [15:30] Oh [15:30] ogra_: yes but you cannot select a 32 bit snap if 64 bit snap is avaialable [15:30] (practically i'm not sure since vlc libs might call out to more than just libc) [15:30] On 18.04 I get a constant stream of gnome-shell notifications about apparmor denials of bits of spotify (although spotify seems to work anyway). Is this a snapd/apparmor/etc. bug or something that I should try to figure out how to report upstream? Two sample denials: [15:30] ah [15:30] type=AVC msg=audit(1523287531.978:16850): apparmor="DENIED" operation="mknod" profile="snap.spotify.spotify" name="/home/cjwatson/snap/spotify/6/.config/spotify/Users/colmmacuait-user/pending-messages.tmp" pid=21657 comm=436F726520546872656164 requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000 [15:30] snapd limitation, k [15:30] type=AVC msg=audit(1523287596.759:16882): apparmor="DENIED" operation="truncate" profile="snap.spotify.spotify" name="/home/cjwatson/snap/spotify/6/.cache/spotify/Storage/index.dat" pid=21657 comm=4E6574776F726B20546872656164 requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000 [15:30] truncate is interesting [15:30] we should support taht [15:30] jdstrand: ^ [15:30] I assume the mknod is for a pipe or something, not an actual device node [15:30] cjwatson: the mknod one is less fun, it's probably a socket [15:31] cjwatson: sounds like spotify got refreshed while it was running [15:31] H [15:31] ah, that's interesting [15:31] this is the bug [15:31] what's the revision you have now cjwatson? [15:31] open fds, etc [15:31] yes, it seems so [15:31] Ah, so it was [15:31] it's in my corner for sure [15:31] 810 Done 2018-04-09T14:53:59Z 2018-04-09T15:15:51Z Auto-refresh snap "spotify" [15:31] after user mount namespaces [15:31] rev 13 now [15:32] cjwatson: stop spotify and restart and it will go away. zyga has this assigned to him so hopefully 2.33 will have a fix [15:32] 2.34 more likely [15:32] 2.33 is all but ready but we need to release 2.32 that works first [15:32] or at least, have a way to handle this gracefully [15:32] jdstrand: thanks - I would never have guessed that [15:33] cjwatson: yeah, it is an annoying usability wart. it'll get addressed [15:33] PR snapd#5015 closed: cmd/snap-confine: ignore missing cgroups in snap-device-helper (2.32) [15:36] zyga, Can't one Snap talk with other Snaps? If a JVM was a Snap of its own, it could be used by a lot of other Snaps? Like e.g. Android Studio too? [15:37] mr_lou: yes it can but there are specific safeguards in place. [15:37] mr_lou: the VLC snap would have to explicitly support this [15:38] mr_lou: and unless the JVM snap was from a source that was approved as a publicly available JVM snap then VLC maintainers would have to ship their own JVM snap for this purpose (at that time they could just bundle java inside VLC) [15:38] mr_lou: the goal is to avoid someone breaking lots of snaps that "depend" on the JVM [15:39] Chipaca: can I ask you for a review of https://github.com/snapcore/snapd/pull/4868 [15:39] PR #4868: cmd/snap-update-ns: add secure bind mount implementation for use with user mounts [15:39] it's got two +1s but I one is from me and I made some changes there [15:43] PR snapd#5016 opened: interfaces/home: add 'read' attribute to allow non-owner read to @{HOME} [15:46] jdstrand: https://github.com/snapcore/snapd/pull/5016/files#r180139800 [15:46] PR #5016: interfaces/home: add 'read' attribute to allow non-owner read to @{HOME} [15:47] zyga, I see. So the best approach is to get VideoLAN to embed a JVM. [15:47] yes === devil is now known as Guest20311 [15:49] zyga, Ok. Thanks. [15:51] zyga: sure [15:51] thanks! [15:51] uhhh [15:51] ? [15:51] in a bit though [15:51] sure, no rush :) [15:52] am in the middle of the refactor niemeyer asked for snapshot config to not be raw json [15:52] sure [15:52] no rush, it's not needed today [15:52] ah, ok [15:52] added to my TODO for tomorrow then [15:52] this is 2.33 material [15:52] thanks [15:53] PR snapd#4977 closed: debian: add gbp.conf script to build snapd via `gbp buildpackage` [15:53] zyga: to be clear I would really like #5014 in 2.32.4, because otherwise the first snapd deb in bionic will also not be testable [15:53] PR #5014: overlord/snapstate: introduce envvars to control the channels for bases and prereqs [15:54] pedronis: +1 [15:54] pedronis: my comments about documentation were really orthogonal to the change, I think this should land [15:54] zyga: but you didn't vote on the change [15:54] ah, indeed, I'm following notifications from GitHub and I was just reacting to the change [15:57] ok, more later [15:57] * zyga -> school [15:57] grrr. just had another occasion where doing "snap install" took out my entire x session [15:57] popey: snap install bullseye [16:02] PR snapd#5017 opened: daemon,overlord/hookstate: stop/wait for running hooks before closing the snapctl socket (2.32) [16:02] zyga: wrt pr 5016 [16:02] PR #5016: interfaces/home: add 'read' attribute to allow non-owner read to @{HOME} [16:03] zyga: I used the same methodology that the existing browser-support uses [16:04] zyga: so, 'if r, ok := plug.Attrs["read"]; ok {' is supposed to see if it is there (ie, !ok returns nil, otherwise, go into the condition) [16:04] zyga: then '_, ok = r.(string)' checks if sees if a string [16:05] zyga: if it isn't or if it isn't and it isn't one of the allowed values, exit with error [16:05] zyga: what am I missing? [16:06] I don't see how 'r' is an interface{}... if it was, the testsuite would fail [16:06] r, ok := plug.Attrs["read"] [16:07] s/or if it isn't/or if it is/ [16:08] PR snapcraft#2058 opened: Install python-distutils for the Python plugin on bionic [16:09] jdstrand: What is the type of plug.Attrs [16:11] (Typing from my phone) [16:11] zyga: map[string]interface{} [16:12] So r must be interface{} [16:12] based on snap/info.go, PlugInfo [16:12] Perhaps go does the right thing [16:12] zyga: I mean, I'm just using what browser-support has always done [16:12] As I said I don’t know how == and != is implemented in different types [16:12] Yeah, registered that [16:13] I will check what happens after school meeting [16:13] Just wanted to point out that it may be subtly broken or cleverly correct :-) [16:16] zyga: I'm not a go expert yet, but my understanding was that for go json, map[string]interface{} is used to 'hold a map of strings to arbitrary data types' (see https://gobyexample.com/json), therefore, based on how the json decoding works, if it isn't there, it is null === pstolowski is now known as pstolowski|afk [16:18] jdstrand: nil is typed though, fwiw [16:18] * Chipaca is probably missing context === nacc_ is now known as nacc [16:19] Chipaca: https://github.com/snapcore/snapd/pull/5016/files#r180139800 [16:19] PR #5016: interfaces/home: add 'read' attribute to allow non-owner read to @{HOME} [16:19] jdstrand: yeah, you need something like s, ok := r.(string) [16:19] jdstrand: and then s will be the string [16:19] Chipaca: it is the next line [16:20] jdstrand: interface == string does the right thing though [16:20] jdstrand: no, i mean [16:20] jdstrand: you do: _, ok := r.(string) [16:20] jdstrand: and then in the next line you do if r == "all" [16:20] jdstrand: that r there is still an interface{}, not a string [16:21] so you can't compare it to a string [16:21] but it isn't [16:21] ? [16:21] it is only an interfacec{} if r, ok := plug.Attrs["read"] [16:21] is !ok [16:21] Chipaca: you can [16:21] jdstrand: https://play.golang.org/p/ptO5oOH6daa [16:22] it looks ok [16:22] A value x of non-interface type X and a value t of interface type T are comparable when values of type X are comparable and X implements T. They are equal if t's dynamic type is identical to X and t's dynamic value is equal to x. [16:22] I mean, I can change this, but again, why was the browser-support not an issue and why does the testsuite pass if this is wrong [16:22] yeah, [16:22] pedronis: !! [16:22] basically comparing interfaces and non-interfaces does the reasonable thing [16:22] jdstrand: heh, if it compiles, i was wrong :-) [16:22] (except nil is hard) [16:22] jdstrand: sorry for the noise then [16:23] jdstrand: so, about you not being a go expert yet [16:24] jdstrand: … :-) [16:24] well, is a legitimate doubt [16:24] well, just cause I got the testsuite to pass doesn't mean I am an expert by any means! :) [16:24] but indeed we use that in various places [16:24] it's generally ok [16:25] unless nil and pointers are involved [16:25] then it's fun(tm) [16:25] because nil of interface, and nil of pointer types are not the same [16:25] right. we don't compare to nil here [16:26] and depending on return types of functions etc, is very easy to mix those up [16:27] and it's only not only interface{}, error is also an easy one to get a mess with nil === Guest20311 is now known as devil__ [16:31] jdstrand: Chipaca: this illustrates the issue [16:33] it also shows that is the source of the interface value that needs to be careful though (unless source and use are really connected/close) [17:39] niemeyer, if you could today create the secret for travis and spread should be great [17:40] cachio: I'm talking to cprov about Travis right now [17:40] niemeyer, great, thanks [17:40] cachio: This is not about spread, though [17:41] cachio: It's just the Travis token that for whatever reason stopped working [17:41] niemeyer, ahh, ok [17:42] (token for the travis API itself, that creates the request for building) [18:26] PR snapd#5018 opened: overlord/snapstate: on multi-snap refresh make sure bases and core are finished before dependent snaps [18:27] re! [18:27] * zyga is back from school [18:30] PR snapd#5013 closed: cmd/snap-confine: ignore missing cgroups in snap-device-helper [19:03] mvo, can we have https://github.com/snapcore/snapd/pull/5011 cherry-picked into 2.32? [19:03] PR #5011: data/selinux: Give snapd access to more aspects of the system [19:06] PR snapcraft#2035 closed: ci: cache core and lxd to avoid redownloading [19:08] mvo: looking [19:08] Son_Goku: yes sure [19:09] Son_Goku: do you want to make a backport or shall I quickly? [19:09] zyga, also, bodhi just pushed updated golang-gopkg-yaml to master mirror: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e05b554cb4 [19:09] zyga, you do it please [19:09] Son_Goku: ack [19:09] I'm technically working still ;) [19:09] I will re-trigger the fedora CI PR [19:09] sure :) thank you for the fixes! [19:11] np [19:15] PR snapd#5019 opened: data/selinux: Give snapd access to more aspects of the system [19:15] Son_Goku: done [19:16] awesome [19:49] cprov, got an error case to make you aware of, but LP isn't working right now so I'm reaching out directly [19:50] cprov, https://bugs.launchpad.net/snapcraft/+bug/1750177 [19:50] Bug #1750177: When asking to release to a branch that's too long, a traceback is printed that gives no hints as to the source of the error. [19:50] cprov, the error response from the store is HTML instead of json [19:50] (it's a 500) [19:50] kyrofa: otp, will be with you in a few. Thanks for the bug [19:50] cprov, sure thing. I'll add an "also effects" once LP lets me [19:52] kyrofa: oh, timeout error, wow [19:52] Yeah [20:04] cprov, if I print the entire error response from the store, will that include anything particularly sensitive? [20:05] Right now, when someone logs a bug, even if they run in debug mode we have no clue what the store handed them. I'd like to print the response in debug mode [20:05] kyrofa: no, it's a internal server error page, I suppose, nothing sensitive or useful (tbh) [20:05] cprov, I mean for ALL errors [20:07] kyrofa: I don't think we should do that, we can land fixes to prevent non-API errors then snapcraft failing to interpret that should bail [20:07] printing bad responses is as bad and printing traceback, isn't it ? [20:08] cprov, we traceback in debug mode as well [20:08] cprov, the primary experience (non debug mode) should be clean, of course [20:08] cprov, bug when someone logs a bug, I want to see the response we barfed on [20:08] Otherwise I have to try and duplicate it, and that's not always possible [20:10] kyrofa: it's not that terrible if it's only printed in debug mode [20:11] kyrofa: we have the error context logged server-side [20:11] cprov, okay, so error responses shouldn't include anything overly sensitive? [20:35] jdstrand: Chipaca: seems I wanted to link to an example (about nil and interfaces) but didn't: I meant to share this: https://play.golang.org/p/0CGDjdMtcIS [20:39] pedronis: heh, I was wondering :) [20:39] roadmr: hi! fyi, https://bugs.launchpad.net/snapstore/+bug/1762544 [20:39] roadmr: I decided to enable the resquashfs sooner than later in the review tools in light of the upcoming sprint [20:40] jdstrand: oy! let's see [20:41] ratliff: fyi, ^ [20:43] PR snapcraft#2059 opened: storeapi: handle 500 error response when releasing snap [20:50] zyga: cachio: 2.32 is still configured to use mainly linode for tests and things don't seem to b working great there [20:51] hi snappy people . . . is there a way to clear previous versions of an installed snap (other than uninstalling and re-installing the snap)? i've had three versions updates of the 'hugo' binary, and now have three loop mounted squashfs filesystems. [20:51] jdstrand: so what happens now if I set SNAP_ENFORCE_RESQUASHFS=0? no change in behavior? [20:51] (now == with the tools currently in the store, r1018 IIRC) [20:52] that particular setup messes with commands like "lsblk" [20:53] roadmr: it will go back to how it acts today [20:54] roadmr: well, wait. if you do that *today* without 1021, it will actually turn on enforcement since the previous envvar check was dumb (only checked if SNAP_ENFORCE_RESQUASHFS was set) [20:54] roadmr: so, the feature flag should accompany r1021 [20:54] jdstrand: OHH! yes, that's what I wanted to know [20:55] jdstrand: ok hm... this'll let me reason about the logic I need to implement. I'd love to have the feature flag ready *before* rolling out r1021 but if they go out together that could also work [20:56] i understand that the prior versions are in place to allow reverting to prior versions, but want to see if i can limit the number of prior versions / limit the number of prior loop-mounted snap / squashfs filesystems [20:56] roadmr: if you want, I can revert 1021, fix the env var check, then you can pull that revision. then add back the flipped logic [20:57] j1mc: the limit is 3 (and at the moment is not configurable), there's also been some discussion to really mount only the last (at least for normal snaps) [20:57] j1mc: you can 'snap remove --revision= yoursnap' to remove one of the old ones [20:57] pedronis: thank you [20:58] j1mc: you can get the revision number from 'snap list --all yoursnap' [20:58] j1mc: you can't today. you might want to add your thoughts to https://forum.snapcraft.io/t/all-revisions-of-snaps-are-mounted-when-they-dont-need-to-be/2294 [20:58] and you can workaround as Chipaca mentioned [20:58] roadmr: shall I do that? [20:59] thank you both [20:59] jdstrand: was thinking... yes, that'd be great (i.e. if regardless of default behavior, they respond correctly to the env var being either =0 (off) or =1 (on), otherwise I don't have a way to preemptively add the feature flag [21:00] ok. I'll update the bug when I do that. should just be a few minutes [21:00] jdstrand: the chances of a borked review-tools *and* a borked feature flag in the same rollout are slim but I'd prefer to be cautious [21:00] many thanks [21:28] roadmr: ok, done. I updated the description to say r1022 has the default enforcement, and then added https://bugs.launchpad.net/snapstore/+bug/1762544/comments/1 [21:29] jdstrand: gotcha! [21:29] jdstrand: so am I clear to add r1021 to the store queue? no behavioral change wrt resquashing vs. what I have now? [21:30] roadmr: correct. please pull r1021 [21:30] ok, incoming! [21:31] roadmr: thanks! [21:34] stgraber: hey, any reason why lxd on 2.0/stable is still 2.0.11? [21:39] pedronis, yes, we should port all the google changes to 2.32.x [21:39] I think we started moving to google after 2.32 was sent to beta [21:39] * cachio afk [22:07] any steam snaps [22:18] sergiusens: yes, because that's the latest 2.0.x stable release [22:20] stgraber: am I stuck and out of luck to use 2.21? [22:21] or is that an unsupported release? [22:22] sergiusens: 2.21 is unsupported [22:23] it's a feature release, we support those until the next one, which is out now (3.0) [22:23] if they're in an Ubuntu release, then we will do security updates as required for that Ubuntu release, but that's the extend of what we do on a non-LTS release of LXD [22:23] stgraber, .0 are LTS releases? [22:24] kyrofa: major bumps are LTS releaes, yes. 1.0.x, 2.0.x, 3.0.x [22:24] Gotcha [22:26] stgraber: ok, so is it going into backports? Just wondering as autopkgtest use 2.21. Aside from that, is there a migration guide to move from 2.0 to 3.0? Or anything in particular to take into account? [22:28] sergiusens: it will, yes [22:29] stgraber, quick sidebar: I can't seem to be able to run snaps within nested containers, is that a known issue? [22:29] kyrofa: snaps inside nested containers can't work because apparmor only allows for one level of nesting, so snapd in nested containers won't be able to load apparmor policies [22:29] popey: o/ [22:30] Okay, that sounds familiar [22:30] sergiusens: 2.0 to 2.21 and 2.0 to 3.0 is pretty much the same thing, there's no manual upgrade stage, the upgrade is handled for you. API is backward compatible so no API breakage. The CLI has a few changes but it's not considered API for us (though we obviously try to limit potential breakages to major releases as was done here) [22:31] stgraber: last time we talked you told me the REST API was more of internal thing and to stick to the CLI :-) I'll work out the quirks if it is not much [22:33] stgraber, looks like Sergio had some network issues, but yeah-- we were under the impression the the REST API was unstable, so we used the CLI instead. Is that not true? [22:34] kyrofa: very much the other way around, API is only ever extended, things are never removed from it, same isn't guaranteed with CLI [22:34] Seems we got our wires crossed somewhere, then-- we'll have to rethink that, thank you [23:04] mcphail: yay [23:50] why are the desktop parts taking forever to pull these days?! [23:51] s/pull/preparing to build/ [23:51] i.e. what has changed recently that makes them take forever to do nothing? [23:52] diddledan, "preparing to build" just unpacks stage-packages [23:52] Perhaps more were added? [23:52] so why does it take forever? [23:52] https://usercontent.irccloud-cdn.com/file/8tUnpecv/image.png [23:52] it's been sat there for ages. other parts don't do that. it is specific to the desktop parts [23:53] No idea [23:53] Well, desktop parts do tend to have a large number of stage-packages [23:53] But that's all I've got [23:53] it's new behaviour tho [23:53] something has changed [23:54] Try running in debug mode, see if that gives you anything different [23:57] perhaps it's the extra checks for executable stacks et al?? [23:59] I don't believe that stuff happens until prime