[00:04] jdstrand: Replied, sorry for the delay there [00:18] is my system messed up somehow? https://www.irccloud.com/pastebin/zgh6Nf9E/ === jamesh__ is now known as jamesh [04:59] morning [05:41] Good morning [05:41] I need to take the dog out and I will be back here shortly [06:25] * zyga reviews 5316 [06:51] PR snapd#5316 closed: store, et al: kill dead code that uses the bulk endpoint [06:52] whaa [06:52] I was reading it : [06:52] :-) [06:52] but that's fine [06:52] I guess I should make some coffee and meet with mvo then [06:53] zyga: yeah, but rush [06:54] rush or no rush? :D [06:54] zyga: no rush [06:54] zyga: sorry [06:54] zyga: I guess that is a sign that I need more tea [06:58] i think we're not picking up enough nvidia/cuda libraries [06:59] CUDA 9.1 runtime ships libcudart.so* which is not included in our globs === pstolowski|afk is now known as pstolowski [07:01] morning [07:01] mborzecki: I would love a proof of concept nvidia snap [07:02] zyga: this and the 'mesa' snap [07:02] mesa is slightly different [07:02] I don't know where it fits [07:02] is it all a bunch of .so files [07:02] or does it need to be in some weird specific spot [07:19] cuda sdk - merge 1.2GB download :/ [07:36] Bug #1639746 changed: Snap launching other snaps [07:54] hey all, where do I file bugs about emails from snapcraft.io? Thunderbird flags them as spoofing because of links pointing to a different place than they display. And then when viewing the online version, Firefox warns about it not being a fully safe connection (assets loaded via http) [07:55] Saviq: good question, I don't know honestly, perhaps popey or JamieBennett knows? [07:57] https://github.com/canonical-websites/snapcraft.io [07:57] Saviq: https://github.com/canonical-websites/snapcraft.io/ is a good place for it, make sure you tag @evandandrea and @lewciie [07:57] Thank you [07:58] * zyga thinks that it would be good to add a small piece of text to the page footer for this [07:58] maybe worth a small PR [07:58] thanks! [08:01] github is down or sth? [08:02] PR snapd#5322 opened: cmd/snap-confine: include CUDA runtime libraries [08:10] moin moin [08:10] mvo, mborzecki, zyga : do you want to take another look at https://github.com/snapcore/snapd/pull/5288 ? i'd like to land it and see if it improves situation; i've added a little more debug and also added rm -rf cleanup step before the test starts, in case we're reusing the machine and previous cleanup didn't work for whatever reason (i suspect this could explain our issues as I think in such case our caching kicks in and [08:10] we don't see retry on download, only on assertion fetch) [08:10] PR #5288: tests: econnreset/retry tweaks [08:11] looking [08:24] wanted to check cuda with snaps on arch, but the cuda package is installed under /opt/cuda, so our carefully crafter s-c globs basically went out the window [08:30] mvo: you around? [08:30] Chipaca: yes [08:31] mvo: you have dev access to the hello-world snap, yes? [08:31] Chipaca: let me check, yes [08:31] Chipaca: you have as well [08:31] I do? [08:31] Chipaca: sure, check your mail [08:31] ah [08:32] I've been invited to perhaps :-) [08:32] Chipaca: ;) [08:38] PR snapd#5323 opened: ifacestate: prevent running interface hooks twice when self-connecting on autoconnect [08:41] hrmph, the hello-world data in the store tests has been edited in undocumented ways :-( [08:42] it's testing for content plugs that aren't there for ex [08:42] mborzecki: zyga had a suggestion for the InstanceName doc comment, you +1 it, are you applying it in the PR or when you actually implement the logic in a follow up? [08:43] pedronis: must have missed it, let me push a quick patch [08:43] Chipaca: I think we have grown more features that is fair to stick on hello-world :/ [08:43] pedronis: pff yeah, didn't stage it :( [08:44] pedronis: I know, and it's fine, but that's why there's a "download the json, and then " comment in the tests [08:44] grmbl, grmbl, *AND* grmbl. [08:45] I don't think I ever noticed that [08:45] it's probably/likely partly my fault, sorry [08:46] pstolowski: yeah, let's merge 5288 . [08:46] k, thanks [08:47] PR snapd#5288 closed: tests: econnreset/retry tweaks [08:48] mborzecki: np [08:54] mborzecki: can you have a quick look at https://github.com/snapcore/snapd/pull/5315/files [08:54] PR #5315: cmd/snap-update-ns: introduce MimicRequiredError, make ReadOnlyFsErro… [08:54] I applied your suggestion now [08:55] Saviq: yeah, a github issue about the mails is best, thanks. [09:05] popey: https://github.com/canonical-websites/snapcraft.io/issues/729 https://github.com/canonical-websites/snapcraft.io/issues/730 [09:06] thanks Saviq [09:07] PR snapd#5324 opened: snap: run snap-confine from the re-exec location [09:33] life-changing: travis-ci.org##.ansi filter in ublock kills the cpu hungry log window and only leaves 'raw log' button [09:33] mvo: I saw that, I'm making progress on the system interfaces now === boxrick_ is now known as boxrick [09:36] zyga: nice [09:37] mvo: there's one more special case to handle [09:37] Morning mvo zyga [09:38] but we can do the smart thing as well (not touch it) [09:38] base policy [09:38] we should translate system back to core there [09:38] I've been asked by an ISV if it is possible to run snapd in Docker. [09:38] Wimpress: hello, how are you doing sir? [09:38] My frst thought is no, but I "think" I saw someone show me snapd working in Docker. [09:38] Wimpress: from what I know it is maybe possible but we don't test that today. It depends on how docker confines the container [09:39] and also what kind of distro is inside I suppose [09:39] yes, that's also a factor [09:39] So technically possible but not an "out of box" experience? [09:40] zyga: I had a few more thoughts about the "old portals" issue, which I've added to the PR: https://github.com/snapcore/snapd/pull/5271#issuecomment-397235058 [09:40] PR #5271: cmd/snap: attempt to start the document portal if running with a session bus [09:41] zyga: in short, I agree that it is a problem but think we might have been overestimating how prevalent it is [09:43] jamesh: thank you for the write up and analysis, I think I tend to agree [09:43] let me think about this today and try to catch jdstrand later to discuss, we will reply there [09:52] pstolowski: couple small comments on the disconnect hooks one [09:58] PR snapd#5325 opened: interfaces: add Repository.AllInterfaces [09:59] pstolowski: https://github.com/snapcore/snapd/pull/5325 [09:59] small helper for upcoming branch [09:59] PR #5325: interfaces: add Repository.AllInterfaces [10:00] jamesh: question out of the blue: do you know how to tell gnome what 'app' a window is from? [10:00] jamesh: or how it does that for non-gnome apps? [10:00] jamesh: snapped apps don't have an 'app' in looking glass, and they don't have an icon, and I suspect it's the same thing [10:01] Chipaca: knowing gnome I'd not be surprised if it used google to search each time you open the activities screen [10:01] zyga: :) [10:01] Chipaca: I'm not sure exactly how gnome-shell links the windows to apps off the top of my head (or if it differs for Wayland vs. X11 apps), sorry. [10:01] The comment said /* Faster than scanning desktop files */ [10:02] jamesh: no problem [10:02] jamesh: I'll continue to ask random people in the street then [10:02] :) [10:02] I know the code in unity7 had some nasty hacks [10:03] * zyga thinks http://blog.lenovo.com/en/blog/the-new-thinkpad-p52/ is crazy cool [10:03] some of which persists in snapd with the BAMF_DESKTOP_FILE_HINT stuff [10:05] jamesh: the BAMF_ thing was to tie it into bamfdaemon, and some older apps also needed to set WMClass [10:05] jamesh: but gnome shell indeed seems to ignore both these things :-) [10:06] Chipaca: can we run gedit and see what it does [10:06] (bamfdaemon, i'm not surprised) [10:06] Chipaca: I suspect the best way to learn is just to observe a real app [10:06] I'd be completely unsurprised if it were something like "the desktop file needs to be named exactly like the binary" [10:06] also saddened [10:06] that is in fact the case AIUI [10:06] right. IIRC, bamfdaemon would read the environment of the process via /proc to look for that variable to make the link [10:07] Chipaca: all bugs are shallow ... eyes... sad... (pours more alcohol) [10:08] popey: do you know if there's a way to override that? [10:08] i do not, I comply [10:08] popey: how? [10:08] maybe the desktop: entry in snapcraft.yaml [10:08] Chipaca: only 20 separate implementations to check :-( [10:08] i always put the .desktop file in snap/gui [10:09] e.g. https://github.com/snapcrafters/opentoonz/tree/master/snap/gui [10:10] PR snapd#5324 closed: snap: run snap-confine from the re-exec location [10:10] popey: let me test that then [10:10] ok, thanks [10:10] would be nice not to have to do it [10:10] (but we always do) [10:13] huh [10:13] well i'll be jiggered [10:13] renaming the desktoop file to kiosceditor_kiosceditor did the trick [10:14] zyga: can you take another look at #5306? [10:14] PR #5306: cmd/libsnap-confine-private: introduce a helper for splitting snap name [10:15] popey: https://forum.snapcraft.io/t/ubuntu-18-04-and-snap-issues/5832/8?u=chipaca [10:15] <3 [10:17] pedronis: in overlord/snapstate's fakeStore there's a bunch of code that uses a snap's channel to decide what to do [10:17] pedronis: but I'm killing channel (and anychannel) as arguments to snapinfo -- they're not used anywhere in non-test code [10:18] pedronis: do you think it'd be reasonable to give fakeStore an out-of-band way of knowing what's wanted of it? [10:18] mborzecki: sure [10:20] pedronis: (i think i might add channel back just for these tests, and kill it in a followup, as it'll get gnarly) [10:21] PR snapd#5326 opened: api/snapctl: allow -h and --help for regular users [10:23] mborzecki: is instance name and instance key the same thing, can they be used interchangeably? [10:24] zyga: AIUI instance name == name + "_" + key [10:24] zyga: foo_bar, foo_bar === instance name, foo === snap name, bar === instance key [10:25] thanks [10:27] pedronis: #5314 was updated, please take another look [10:27] PR #5314: many: rename snap.Info.Name() to snap.Info.InstanceName(), leave parallel-install TODOs [10:33] mborzecki: done [10:35] another instance of [10:36] Jun 14 09:24:29 arch snapd[28173]: Jun 14 09:24:27 arch systemd[1]: var-lib-snapd-snap-test\x2dsnapd\x2dcontent\x2dslot-2.mount: Mount process finished, but there is no mount. [10:36] Jun 14 09:24:29 arch snapd[28173]: Jun 14 09:24:27 arch systemd[1]: var-lib-snapd-snap-test\x2dsnapd\x2dcontent\x2dslot-2.mount: Failed with result 'protocol'. [10:36] in mvo's branch [10:55] PR snapd#5324 opened: [RFC] snap: run snap-confine from the re-exec location [11:01] zyga: the snap-confine on core18 is a bit thorny, I wrote some options down in 5324 maybe we can chat after lunch about the pros/cons, nothing seems perfect but maybe the alternative plan in 5324 is worth persuing [11:01] ok, I'm reading your PR now [11:01] the system interfaces approach is clean so far [11:01] not finished yet but very simple what's going on (for now) [11:02] mvo ping [11:03] ondra: pong (but almost at lunch) [11:03] mvo sure, will try to be quick :) [11:03] mborzecki: thanks will look in a little bit [11:03] mvo have I missed something about pi3 kernel and dtb? [11:03] zyga: yeah, its not hard, just feels a bit "uneven" that we need to use different dirs for the profiles on classic and core and to reuse the snap profile dir [11:04] ondra: missed in what sense? I haven't looked at this in a while [11:04] mvo I'm getting a bit confused, so are we free to update kernel as much as we like and dtbs update correctly? [11:04] ondra: well, we unblocked the kernel updates a while ago because the dtb diff was just a single line in a serial port uart freq [11:04] mvo I thought we are not updating dtbs from kernel snap to system-boot at all [11:04] ondra: but of course if this changes and the diff becomes bigger we need to halt things again [11:05] ondra: we are not doing it in snapd, that is correct [11:05] ondra: I mean, we don't copy stuff around into /boot at this point [11:05] ondra: we have no code for this [11:05] mvo so we are not updating dtbs, but rather relying that kernel does not really change there [11:05] ondra: correct [11:06] ondra: yeah, its just so that people get kernel updates but we still have not tackled the dtb update problem [11:06] mvo can you please comment on that forum post? as Gustavo thinks there is no problem to solve, and I do not think this is correct assumption [11:07] ondra: That's not what was written there [11:07] ondra: do you have a link for me? [11:07] mvo: https://forum.snapcraft.io/t/proposal-to-enable-pi2-3-major-kernel-updates/5842/8 [11:07] niemeyer: ta [11:08] mvo: np [11:08] niemeyer you are claiming that we have updates flowing and there is no problem, but clearly we do not have dtb updates flowing [11:09] niemeyer so to me there seems to be mismatch in understanding what is actually updating [11:10] ondra: I specifically said: [11:10] a) The pi2 kernel had a major update just weeks ago, which disagrees with what was presented in the first few sentences [11:10] b) We have a design for dtb updates in place [11:10] c) If your needs are different, they need to be put into that design instead of besides it [11:11] PR snapd#5327 opened: store: switch store.SnapInfo to use the new v2/info endpoint [11:11] pedronis: ^ [11:11] d) If you do critical updates like this in hooks it will likely destroy systems in the future [11:11] e) We should have a meeting to discuss this [11:11] Chipaca: thx, will look [11:11] ondra: Which of these points is incorrect or unreasonable? [11:12] niemeyer I have been talking about this very problem with mvo in Berlin and he told we are still not updating dtbs when we update kernel, [11:12] niemeyer so you are telling we are updating dtbs? [11:12] mvo: is /etc/apparmor.d really read-only on core? [11:12] ondra: I said the pi2 kernel had a major update. Is that true or not? [11:12] zyga: yes [11:13] mvo: I see, well, that's okay [11:13] ondra: You're arguing with things I did not say [11:13] I mean, it's harder but we can manage [11:13] zyga: the trouble is that it has a bunch of subdirs [11:13] zyga: otherwise I would say we just make it writable [11:13] niemeyer was that update carefully crafted in a way it does not require dtb changes and can use old dtbs? [11:14] mvo: if we can move s-c profiles in all the cases to a new place I'm okay with that [11:14] ondra: we checked carefully that the new kernel would work fine with the old dtbs [11:14] niemeyer proposal is targeting issue when dtbs are not updated with kernel updates, you claim there is no such a problem [11:14] mvo: and we can consider deploying snapd.apparmor.service to core too, to be 100% sure that we have freedom here [11:14] niemeyer I do not agree with that [11:14] ondra: Which of the points above says that? [11:15] ondra: In other words, you're saying that yourself.. not me [11:15] zyga: interessting [11:15] mvo: this would allow us to use a directory such as /var/lib/snapd/apparmor/internal or whatever we want [11:15] mvo: and not clash in any wy [11:15] *way [11:15] niemeyer from forum "@ondra My understanding is that we have updates to pi2 boards flowing, and that the dtb problem in that specific case was a red-herring. " [11:15] zyga: I like internal/ [11:15] mvo: or ... [11:15] ondra: Exactly.. we had a pi2 kernel update just weeks ago [11:15] system ;) [11:15] niemeyer so you are saying there is problem [11:15] zyga: heh [11:15] mvo: but anyway, that's besides the point, let me read your branch carefully [11:15] ondra: I said we *DID UPDATE IT* [11:15] niemeyer and I can update kernel freely? [11:16] zyga: I think that is great input, we can probably move it all [11:16] ondra: THis is not theoretical [11:16] mvo: the service is already in place, we should see if we can just enable it (it's harmless) [11:16] niemeyer so you don't see problem that we cannot update dtbs? [11:16] mvo: that is, ship it and enable via the snapd.run-from-snapd-snap service [11:16] ondra: Why are you still making stuff up? [11:16] zyga: we need to extend it to cover system/ as well, right? [11:16] mvo: yes but it is our service [11:16] it's simple to extend [11:17] zyga: cool [11:17] and we can ship it in snapd snap [11:17] niemeyer because you are telling me there is no problem to solve [11:17] ondra: So you hate the blue color? [11:17] and it's a blessed shell script instead of one liner for the purpose of being shellchecked [11:17] zyga: I need to run for lunch, lets catchup afterwards (and/or feel free to write your thoughts into the open PR) [11:17] mvo: sure, go ahead [11:17] niemeyer OK whatever, clearly impossible to talk to you [11:18] ondra: Honestly, this is nuts.. I'm literally saying "let's please have a meeting to discuss your needs" and "if your needs are different let's integrate in the design" [11:18] ondra, niemeyer: I'm sure we are perfectly capable of solving the problem if we talk together, I really recommend that we have a call later today/tomorrow [11:18] zyga: That's literally the first thing I said :) [11:19] perhaps ondra is not aware of the existing plans or there is a technical detail that we are missing [11:19] Quoting: [11:19] """ [11:19] Nevertheless, we already have a design for the proper representation of dtbs that can be updated. Let’s please not cook a different solution without looking at that design first. Even if it’s incomplete for your needs, we should improve on it instead of besides it. Happy to discuss this in our next meeting. [11:19] """ [11:19] * zyga hugs niemeyer and ondra *together* [11:20] anyone looking at interfaces-calendar-service test flakiness? if not, i'll coz it's driving me crazy [11:20] pstolowski: there's a PR from cachio but I don't quite understand how that helps or what the problem is [11:20] pstolowski: I'd recommend diving into it , yeah [11:20] and it seems to happen on all kinds of systems so a small loop with debug would be good [11:20] oh ok, let me first check what did he do [11:20] thank you! [11:22] right.. it seems that retry didn't help, the PR failed on this test again [11:22] interesting [11:23] zyga: i think it's related to gvfs which does fuse internally [11:23] mmm [11:23] mborzecki: yeah, it feels like something is mounted there [11:23] otherwise rm would not fail [11:23] maybe worth trying is to kill gvfsd* in restore [11:23] but that's a long shot anyway :P [11:25] I think we need to reproduce and see what's there [11:26] pstolowski, the retry didn't work? [11:26] cachio: it seems to, your PR failed on travis [11:26] *so [11:29] but failed on a different test [11:29] there are 2 tests failing for the same reason [11:29] calendar and contacts [11:30] pstolowski, I was trying to see what it is locking the files inside [11:31] but when I debug it, it is already unlocked [11:31] cachio: when it fails, can you check if there's anything in that directory (gvfs-metadata) and if there are any gvfs processes alive, if so, kill them === chihchun is now known as chihchun_afk [11:37] mborzecki, running again to see [11:38] ok, i'm off to the kindergarten, bbl [11:40] PR core18#26 closed: hooks: add path [11:41] Chipaca: did a first pass, main point is that I think the helpers merit unit tests (also because the current shape of responses doesn't exercize all corners of them) [11:42] looks good though otherwise [11:53] * Chipaca ~> lunch [11:57] zyga: what did you want to talk about? a snapd-apparmor.service for core? [11:58] jdstrand: I'm not sure, yesterday or today/ [11:58] yesterday I only wanted to ask for a re-review of chopTree PR [11:59] there are some interface PRs in flight but I think those are handled well on elsewhere already [11:59] I'm sorry, I think the answer is "I'm not sure" [11:59] zyga: it seems https://github.com/snapcore/snapd/pull/5271#issuecomment-397235058 [11:59] PR #5271: cmd/snap: attempt to start the document portal if running with a session bus [11:59] ah [11:59] yes, that's that! [12:00] so here I tend to agree with James, please think about it and let's discuss in the PR (since James is far away in terms of timezones) [12:00] zyga: but I would caution you on moving snap-confine to internal/. I mean, the idea of that is not bad in and of itself, but understanding why the profiles aren't being loaded in /etc/apparmor.d is important before suggesting a solution [12:00] zyga: do we understand the race/problem there? [12:01] zyga: as in, are we just kicking the can and going to see it happen with internal/ too? [12:01] jdstrand: this is a more subtle question, it is specific to core systems only [12:02] where we cannot write to /etc/apparmor.d [12:02] but need a place to store snap-confine profiles for snapd reexec [12:02] and using /var/lib/snapd/apparmor/profiles was undesired as it would need a new prefix not to clash with snap profiles [12:02] (but we could do that) [12:02] why are we reexecing on core? [12:02] this is the new work on a standalone snapd snap [12:02] where core18 or core16 is used for booting [12:03] but snapd is in a separate snap [12:03] (snapd.snap) [12:03] there's a new protocol for running that [12:03] but it involves writing a profile for snap-confine for a given snapd snap revision [12:03] mvo: I just realised there is a complication [12:03] it still isn't clear. why are we reexecing on core? [12:03] jdstrand: because core18 and core16 don't ship a snapd snap [12:03] er [12:03] snapd itseslf [12:04] I mean, core16 and core18 won't have snapd, so there is nothing to reexec [12:04] this isn't really reexecing, it needs a new name [12:04] so? [12:04] ok [12:04] so we will exec snap-confine from /snap/snapd/123/usr/lib/snapd/snap-confine [12:04] we need to generate a profile for that in snapd [12:04] and we need to store it persistently [12:04] but regardless of what it is called, snapd needs to put a snap-confine profile somewhere [12:04] and load it on boot [12:04] the question is where do we store it [12:04] and /etc/apparmor.d is read only [12:05] and has a host of other things inside that makes it harder for us to use as a sync directory [12:05] this is getting into the territory of why I thought the snapd snap should not be a normal app snap [12:05] it is not a normal app snap [12:05] but a new 'type: snapd' [12:06] ok, then that has evolved. last I heard it was [12:06] (new type is an interesting idea but it's orthogonal, it has special handling already) [12:06] it is not a normal app snap in the sense that it doesn't expose itself as a service [12:06] or snap as an app [12:06] it's all handled externally with snapd.run-from-snapd-snap.service [12:06] popey: remember that xps? something was burnt out getting power to the ram; £65 later i've got an xps [12:07] it is 'type: app' with special-casing. more and more as we go. that is orthogonal, but the more special casing, the more it shouldn't be 'type: app'. it isn't an app. it is a snap from managing and running apps [12:07] s/from/for/ [12:07] anyway [12:07] sure, put it in apparmor/internal, leave cache the same [12:07] jdstrand: ack, thank you [12:08] jdstrand: I agree about making it explicitly special and I think we will over time, this is just a way to hit core18 work on time [12:08] you will then need snapd-apparmor.service [12:09] jdstrand: yes, but as I said, it is just a proposal at this stage [12:09] note, I still consider /etc/apparmor.d as read-only a good property on core [12:09] mvo and I will talk about what the options are and then decide what to pursue [12:09] because it makes it impossible to mess with system policy, tunables and abstractions [12:09] jdstrand: yeah, I think that's fine too, it's just something we were not aware of a short while ago :) [12:10] we actively chose to have /etc/apparmor.d/cache read/write but /etc/apparmor.d read-only [12:10] PR snapd#5328 opened: snapstate: stop using evolving SnapSpec internally, use an internal-only snapSpec instead [12:37] zyga: I was surprised to see that the 'profile not found' issue was not on your list. it seems I see at least once a day an issue where someone is hitting it [12:38] hmm, indeed, I should look into it [12:39] zyga: thanks [12:39] I need to scan the forum for existing reports [12:39] jdstrand: has apparmor upstream ever considered /var/lib/apparor.d in addition to /etc/apparmor.d ? [12:40] jdstrand: having that as an official place would make some things on core18 easier for me, i.e. the snap-confine dynamic profile generation [12:41] zyga: I was thinking about snapd.apparmor.service, the downside of using it is robustness, having something on core18 itself load profiles (like the current apparmor service) would mean things work even if snapd.run-from-snap does not work for whatever reason [12:41] zyga: the snapd.* services are all generated only in /run/ at this point [12:41] zyga: wdyt? [12:42] zyga: I wonder if I should write a forum post about this, it has more edges than I expected it to have [12:43] jdstrand: I see what you are saying but once run-from-snapd-snap stops working we are toast anyway [12:43] no "snap", no "snap revert" [12:43] nothing works at that time [12:44] zyga: well, yes. however if in such an even at least the snaps themself keep running that would be preferable it seems [12:44] zyga: different levels of de-generation :) [12:51] mvo: apparmor upstream has not dictated how downstreams load policy [12:52] mvo: apparmor upstream is interested in making a systemd unit that can be used across distros. this will allow adding additional directories, etc [12:52] jdstrand: ok [12:53] mvo: today, it is an Ubuntu-ism to load /var/lib/snapd/apparmor/profiles [12:53] mvo: it would be possible for the apparmor init to add /var/lib/snapd/apparmor/internal [12:53] mvo: it is also possible to ship /var/lib/snapd/apparmor/snap-confine.... [12:54] err [12:54] /var/lib/snapd/apparmor/profiles/snap-confine.... [12:54] that is a directory [12:54] ah [12:54] yes [12:54] then the init doesn't have to change anything [12:55] we already have snap-update-ns. in there, it isn't impossible to think about snap-confine.something too [12:55] ensure dir could ignore stuff that was prefixed with snap-confine. [12:55] etc [12:56] jdstrand: you mean to use the "snap-confine." prefix? [12:56] jdstrand: just like we use the snap-update-ns. prefix? [12:56] yes, that would work [12:56] jdstrand: if we go with a unique prefix we could use "system." as this is already not availalbe as a snap [12:56] zyga: (cc) -^ [12:57] and then we just write it in both core and classic into the same location - that will be nicer than the current mess^Wapproach [12:57] mvo: system could even be a snap as snap profiles are snap.* [12:57] mvo: yes, that is a possibility, then you are working within the current Ubuntu-ism [12:57] (so snap.system.foo) [12:57] vs system.whatever [12:57] zyga: good point [12:57] system. obviously works too [12:58] jdstrand: yeah, I think I will go with this, thank you and zyga for your input! [12:58] np [12:58] niemeyer, seriously, i'm not attemprting to discuss anything with you, i was asking for a link to the design you referred to and you shut the topic down ... and you call *me* "passive aggressive" ?!?! [12:59] ogra_: I won't discuss it here either. That's not passive aggressive, that's not having an argument at all. I'll talk to ondra in a place we can understand each other more easily. [13:00] niemeyer, pretty please do you have a link or dont you have a link, i do *not* want to discuss anything but you refer to a design that i'd like to be aware of [13:00] without any intend to discuss anything with you i just want to know about it since i will likely have to use it [13:02] * zyga -> standup === doko is now known as doko_ === doko_ is now known as doko__ === doko__ is now known as doko [13:04] niemeyer random question, are we planning to support upgrade from UC16 to UC18? [13:04] ondra: Yeah, definitely.. we need some good work there [13:04] roadmr: hi! totally not urgent request for pulling r1091 [13:05] lool: that has what we talked about ^ [13:05] jdstrand: sure thing, I'll put it in the queue and roll the ball from there [13:06] roadmr: thanks [13:06] jdstrand: cool [13:12] niemeyer then I'm gently pointing out, dtbs are not compatible between 4.4 and 4.15 kernels on pi [13:13] ondra: Let's discuss the topic in our next call. [13:14] niemeyer sure, more than happy to do so [13:14] ondra: Thanks [13:16] Hi guys.. How can we delete/de-register the snap from the snap store? Please someone guide me to de-register the snap in the store... [13:25] ^ sparkiegeek [13:30] something's wonky with the newly rolled-out buildd: [13:30] https://www.irccloud.com/pastebin/zDAQYaLN/ [13:31] specifically it's failing to run my wget command in override-build [13:35] diddledan: newly rolled out buildd? [13:36] sergiusens: https://forum.snapcraft.io/t/released-launchpad-buildd-163/5925 [13:36] diddledan: btw, had you tried corebird (the snap) with the communitheme ? [13:36] no, I haven't [13:36] get transparent backgrounds [13:36] might be a comunitheme issue (ah, that thing is so hard to spell) [13:37] ooh, transparent proxy, that removes a lot of pain from some of the plugins [13:40] it might fix some plugins, but it's preventing wget from working in my build [13:41] diddledan: so wget is not found or the network setup is getting in the way? [13:41] it's refusing to download the url - wget says no [13:42] see my paste above [13:43] the code that drives that is [13:43] https://www.irccloud.com/pastebin/vFsm4jzb/ [13:46] mvo: La Pampa, https://goo.gl/maps/ugAEKg51sjq, vs the Pampas, https://en.wikipedia.org/wiki/Pampas#/media/File:Pampas_Range.png [13:46] mvo: not to confuse with the Pampa, an indigenous people [13:46] * Chipaca really off now [13:47] cjwatson: ^^ [13:48] mvo: as I said, I think I'm going to pick up this, tomorrow tough likely: https://github.com/snapcore/snapd/pull/5270 [13:48] PR #5270: snap,client: show "publisher" in `snap list` and expose in client API [13:49] Chipaca: heh, thank you! [13:49] pedronis: great, thank you [13:49] pedronis: I will try to tame snap-confine on core18 now [13:49] mvo: we should probably block the --format one tough, until that one is done, if that's ok [13:49] pedronis: sure, just add "blocked" there [13:50] ok, thx [13:50] PR snapcraft#2155 closed: build_providers: support for communicating with a qemu VM [13:53] zyga: fyi, I added the small changes you requested in PR 5250 [13:53] PR #5250: interfaces/udev,misc: only trigger udev events on input subsystem as needed [13:54] Ack, I will look shortly. Taking the dog out now [13:54] mvo: fyi, that ^ is going to really help people like popey who are seeing desktop environment hangs and crashes upon interface connection [13:55] mvo: I was hoping this would make 2.33, but it didn't. if you are respinning a 2.33, feel free to consider it (and to say 'no' if you want it to bake. if its in trunk, people like popey can use the edge snap) [13:55] I'm still using your shonky build of snapd [13:56] and not had any desktop explosions yet [13:56] popey: I'm so glad it has helped you [13:56] * diddledan hides the c4 [13:56] popey: keep an eye on that PR and you can start using the edge one [13:57] jdstrand: unrelated. firefox specifies removable media but doesn't autoconnect. Do *they* need to request that? [13:57] jdstrand: it seems risky for 2.33.1 [13:57] Because I wanted to upload a photo from a CD (yes, a CD) and had to connect it to get access [13:58] jdstrand: but if you and $more people assure me it solves more problems than it creates I'm open to this [13:58] popey: well, somebody does, yes [13:58] would it be okay if I requested it? :D [13:58] or do you need the upstream to do it [13:59] mvo: at its heart, it is a simple change. run udevadm trigger with --subsystem-nomatch=input [13:59] by default [13:59] and add in other stuff as needed [13:59] I will be on holiday tomorrow and next week [14:00] jdstrand: oh, that evolved since I looked at last then I think. that sounds more innocent now [14:00] mvo: I think it's safe (which is why I mentioned it at all), but I also won't be around if it gets pushed out. I'm also fine for 2.34 [14:00] jdstrand: I have a look, given that its (mostly aiui) nomatch that makes it much more appealing [14:01] diddledan: Could I have the full build link, please? [14:01] jdstrand: I will ask for it to get squash merged, I assume this is ok with you? [14:01] jdstrand: to make the cherry-pick to 2.33 easier [14:01] mvo: yeah, it needs a second review so if you did that it could double as a review for 2.33.1 [14:01] mvo: yes [14:01] cjwatson: this it? https://build.snapcraft.io/user/diddledan/gog-galaxy-wine-snap/249050 [14:02] jdstrand: great, thank you. once I finished my current task I will look at it [14:02] mvo: thanks for your review and consideration :) [14:02] PR snapd#5321 closed: tests: fix interfaces-contacts-service test retrying to remove share dir [14:03] popey: you can request it [14:03] diddledan: mm, somebody's broken BSI's ability to show other users' builds, but I can work it out from that ... [14:03] cjwatson: that's the amd64 build, this is the i386 variant - both fail the same way: https://build.snapcraft.io/user/diddledan/gog-galaxy-wine-snap/249053 [14:04] diddledan: Is it clear that this is a regression? That snap has never had any successful builds [14:04] it's a brand new snap. it builds fine locally in cleanbuild [14:05] Right, which says nothing about whether it's a regression in launchpad-buildd :) [14:06] I can certainly look, it's just less of a panic if it's not obviously a regression. [14:08] @Wimpress can you trigger a build on tmnationsforever to test whether it's a regression as you're using a similar build? [14:09] I'm setting it up locally [14:11] It *could* be something wrong with the extra layer of proxying, although you can see the access log there reporting 200 [14:11] diddledan: actually tmn wasn't hooked up to build yet. I have just done so. (which will trigger a build) [14:11] And much more complicated things have worked [14:11] So let's see if it reproduces in my local setup [14:12] thanks :-) [14:12] https://build.snapcraft.io/user/snapcrafters/tmnationsforever [14:13] looks like the `build-on:` isn't respected by the builders yet (but that's completely orthogonal. I'm just observing.. :-) [14:14] diddledan: I know, I've been working on that for the last couple of weeks [14:14] I'm betting it's a pain to get working [14:14] It is very definitely in progress [14:14] Most of the pain has been in sorting out APIs for Bazaar-backed things [14:15] you need to download the project (into a builder?) before you have the required bits to tell you where to build.. glad I'm not working on that :-p [14:15] The actual mechanics of build-on are relatively straightforward, just code that kyrofa supplied for me and plumbing [14:15] Nah [14:15] We have internal APIs to fetch files from Git repositories [14:15] aha [14:15] And I've put the same thing together for Bazaar [14:15] sneaky backroom dealings! [14:16] Although now that you mention it I'm going to have to work out how that works for stuff hosted on GH, argh [14:16] sudden non-triviality realisation! [14:16] oops, sorry :-( [14:17] * diddledan cuddles everyone who needs it [14:18] might need to start doing internal imports or something [14:23] re [14:23] hi, I assume I was lazy not paying attention to some mails - but it seems my small snap was sorted out in the snapstore [14:24] I still have it installed [14:24] virt-machine-type 0.0.2 3 edge paelzer - [14:24] but can't find it on the store [14:24] maybe I violated some new check/rule [14:24] how would I debug that other than digging through the pile that is my mail inbox? [14:24] cpaelzer: define "can't find it on the store" ? [14:25] like search on https://snapcraft.io/store [14:25] aren't all snaps there? [14:25] cpaelzer: you haven't released it to stable, the search APIs don't (yet) return snaps that haven't been pushed to stable [14:25] oh, that explains why snap find doesn't find it either [14:26] thanks sparkiegeek [14:26] I thought it was shown on find in the (very) early days [14:26] but that is fine [14:26] yeah I can install from edge [14:27] thanks sparkiegeek [14:28] jdstrand: will you have time to review https://github.com/snapcore/snapd/pull/5081 before your holidays? [14:28] PR #5081: interfaces/apparmor: add chopTree [14:29] diddledan: huh, tmn fails too. https://launchpadlibrarian.net/374512942/buildlog_snap_ubuntu_xenial_amd64_7d2139885b31f8fd1187b9d3482243b9-xenial_BUILDING.txt.gz [14:30] popey: looks different? is wget in the build-packages stanza? [14:30] No, it's in stage-packages. [14:31] works in cleanbuild though *shrug emoji* [14:31] Yeah that looks like an obvious bug [14:31] yeah, I had to add wget to build-packages. that's a different issue :-) [14:31] cleanbuild uses a slightly fatter base image [14:31] popey: 🤷 [14:31] ok, thanks will fix that [14:31] diddledan: speaking of which you need "build-packages: curl" in the gog-galaxy-version part [14:31] doing gods work sparkiegeek thanks [14:31] I don't think that's the bug here, but noticed in passing [14:32] I do? [14:32] popey: I had to leave people hanging :) [14:32] I'm not using curl anywhere [14:32] Yeah you are [14:32] Last line of your snapcraft.yaml [14:32] oh yeah, I see it, thanks [14:32] I should swap that for wget [14:32] grml... so more firefox problems! :) since 60.0.2 (or 60.0.1? not sure) u2f authentication is failing [14:33] Eh, curl is more convenient for piping to stuff, so *shrug* [14:33] it works well in firefox-esr from the debian packages and used to work in earlier snap versions, so i'm not sure what's going on [14:33] the u2f token is a Yubikey NEO and it still works with chromium as well [14:33] i'm wondering how/if i can rollback to an earlier snap version [14:33] diddledan: reproduced locally; trying under strace to get a better idea of what's failing [14:37] Chipaca: nice on the xps! The chromebook I got is all up to date (as far as it will go) and will probably live on a dusty shelf now :) [14:38] niemeyer: https://forum.snapcraft.io/t/possible-evolution-path-for-snap-store-endpoints-regarding-epoch/5871 [14:39] zyga: yes, see your inbox :) [14:39] that's one for today [14:39] should i send my question on the forum instead? [14:40] oh, thanks [14:40] anarcat: snap help revert in general, 'snap revert firefox' in particular? [14:40] jdstrand: about readlinkat, I suspect it's an older conffile [14:41] jdstrand: so one thing about todays discussion, I'd love to get snap-confine profile out of /etc [14:41] and out of conf-file hell [14:42] sparkiegeek: thanks, i somewhat missed that [14:42] I know you would and it makes some sense, especially with the core snap discussion from earlier [14:42] I've said that elsewhere [14:42] sparkiegeek: what if i confirm the regression? should i file this as a bug somewhere? [14:43] zyga: I updated 5324 [14:43] thanks [14:43] sigh... reverting to 60.0.1 doesn't fix the issue :/ [14:43] zyga: it uses most of the ideas you suggested, I think its nice now, no more special cases, profiles get loaded on boot etc [14:44] PR snapd#5306 closed: cmd/libsnap-confine-private: introduce a helper for splitting snap name [14:44] jdstrand: we're getting a failure in the store where we're using build, so surprised it's failing... https://dashboard.snapcraft.io/snaps/tmnationsforever/revisions/6/ [14:44] it says checksums don't match [14:44] anarcat: I'm not familiar with the details of U2F, could it be https://forum.snapcraft.io/t/snapped-firefox-unable-to-use-smart-card/5719 ? [14:45] sparkiegeek: probably related, yes. it's strange because it used to work... [14:45] sparkiegeek: is there a way to revert further back? [14:46] popey: it figures that as soon as I see my email that there was nothing reported, something was reported [14:46] You're welcome. :) [14:47] popey: I really don't know anything about build. is it using a new enough snapcraft? [14:47] jdstrand: ack, thank you for the mail [14:48] popey: are you doing anything weird like an unsquash/fix something/mksquash? [14:48] anarcat: look at the --revision flag [14:49] jdstrand: hey the snapcraft version is right there in the build log [14:49] (though may not be readily linked to from the store I suppose) [14:49] * jdstrand doesn't have the build log url [14:49] yeah, it isn't yet (that would be great! :) [14:49] popey: is this electron-builder? [14:49] jdstrand: you can start from https://launchpad.net/~build.snapcraft.io/+snap/7d2139885b31f8fd1187b9d3482243b9-xenial to find this one [14:50] jdstrand: no, we dont do anything shonky [14:50] jdstrand: but in general, BSI uses whatever's latest in xenial-updates [14:50] jdstrand: it's just wine (dumped deb) and another couple of scripts dumped in [14:51] sparkiegeek: how do i find which revisions are available? info does not say much [14:51] anarcat: you can only refresh to a revision you already have on your system (snap list --all will tell you) [14:52] diddledan: so your problem is simply that the URL you're trying to fetch doesn't exist [14:52] zyga: thanks [14:52] diddledan: Downloading https://dl.winehq.org/wine-builds/ubuntu/pool/main/wine-devel_3.9.0~xenial_.deb... [14:52] (you get a 200 from the CONNECT and then a 404 from the underlying tunnelled protocol; that confused me for a while) [14:52] o_O [14:52] cachio: can you point me to the snapcraft.yaml for the rsync snap please? [14:53] cachio: nevermind, just found it [14:53] oooh. running locally sets $SNAP_ARCH, but for some reason that's not there in the buildd... [14:53] mvo, ok [14:53] it is in snapd repo [14:53] cjwatson: nice spot [14:53] uh [14:53] diddledan: probably because you're using snapcraft as a snap [14:53] cachio: yeah, thanks, I will build a core18 version of this :) [14:53] so this never worked apparently [14:54] mvo, great, thanks [14:54] diddledan: it's the snap execution path that sets SNAP_ARCH, so that's really the wrong variable to use here [14:54] (I'm not sure exactly what would be correct) [14:54] anarcat: the other possibility is that changes in core could have affected it, so might be worth jumping back to latest firefox and walking back through core versions [14:54] maybe just $(dpkg --print-architecture) ? [14:55] or at least it's not a firefox-induced regression: i can't make it work with any snap i have on disk (60.0, 60.0.1, 60.0.2) [14:55] i wonder if i had that working with 59 [14:55] sparkiegeek: ah yes, i could try the revert trick with core? [14:55] anarcat: yes [14:55] is there a way to see which updates took place when? "logs" and "changes" doesn't show anything useful [14:56] thanks for spotting that :-) [14:57] hahaha reverting core to 16-2.32.6 breaks all font display whee! [14:57] wow, blocky hell [14:59] well shit - i think i had that problem before, but i don't remember how i solved it [14:59] http://paste.anarc.at/snaps/snap-2018.06.14-10.59.05.png [14:59] boom ^ [14:59] anarcat: ... nice [15:00] yeah [15:00] so that was triggered by reverting core from 16-2.32.8 to 16-2.32.6 [15:00] i tried reverting back to 16-2.32.5 as well, no dice, and then reverting *forward* to 16-2.32.8 does not fix the issue [15:00] and also, none of the core versions fix the u2f issue either [15:01] diddledan: np [15:02] * diddledan goes to sit in the corner with the cone-shaped hat with a big "D" written on it [15:02] diddledan: FWIW it might help if you used wget --no-verbose rather than wget --quiet [15:02] --quiet turns off all output, including errors [15:02] http://static.tvtropes.org/pmwiki/pub/images/dunce_hat.jpg [15:02] so it's pretty unhelpful in this kind of situation [15:03] --no-verbose means you get one line of output in the successful case, and something useful in the error case [15:03] jdstrand: oddly a later build worked fine!? [15:04] sparkiegeek: any other suggestions? [15:05] anarcat: are you back to sensible fonts on latest core/firefox ? [15:06] sparkiegeek: nope [15:06] sparkiegeek: i'm trying to remove and reinstall FF now [15:06] I just got a checksums don't match, popey , jdstrand [15:06] i think it's what fixed it the last time [15:06] same, normal build on BSI [15:06] well that's one frustrating day [15:09] diddledan: what is the snap? [15:10] https://build.snapcraft.io/user/diddledan/gog-galaxy-wine-snap/ [15:11] gog-galaxy-wine [15:12] jdstrand: https://launchpad.net/~build.snapcraft.io/+snap/be52b943c0d4d977217aac0ad5a8ad1c-xenial/+build/249197 is an affected build [15:12] snapcraft 2.42.1 says the build log [15:12] I don't really know the toolchain here but let me know if it looks as though LP is doing something wrong here [15:13] aaand remove + install fixed the blocky font problem [15:14] cjwatson: yes, thank you [15:15] popey: that sounds like there is still a lurking timestamp issue [15:15] as in, the resquash takes too long and the timestamps are different in the resquashed snap [15:16] Sounds plausible. [15:16] sparkiegeek: sigh... and core 16-2.32.5 still exhibits the same u2f problem [15:17] it is weird that this has been enabled for 4 days and today is the first it is reported [15:17] wait, you're relying on the unsquash/resquash all happening within the same second or something? [15:17] have you considered using faketime? [15:17] cjwatson: obviously we shouldn't be. I'm speculating there is a bug [15:17] testing this is excruciating: i need to revert, uninstall firefox, reinstall firefox, for every iteration [15:17] * cjwatson nods [15:18] cjwatson: squashfs-tools has not been super friendly for us. it would, for example, recreate symlinks during resquash with the current time rather than what was in the inode in the squash. [15:19] helpful [15:19] cjwatson: I'm suspecting something else in there. faketime is an interesting option I'll look into [15:19] indeed [15:20] roadmr: please disable resquashfs [15:20] jdstrand: on it [15:20] jdstrand: done [15:22] a 2nd review of #5328 would be nice, it's small and only test code [15:22] PR #5328: snapstate: stop using evolving SnapSpec internally, use an internal-only snapSpec instead [15:25] pedronis: done [15:25] roadmr: thanks [15:25] popey, diddledan: your next uploads should work [15:25] zyga: thx [15:25] thanks :-) [15:25] thanks jdstrand [15:30] pedronis: thanks for the review, i'll try to push an update soon so that we could probably land the branch sometime tomorrow if there are no more issues [15:33] diddledan: interesting: [15:33] -drwxrwxrwt root/root 3 2018-03-07 04:41 squashfs-root/var/spool/samba [15:33] +drwxrwxrwx root/root 3 2018-03-07 04:41 squashfs-root/var/spool/samba [15:33] diddledan: your snap had a sticky dir and the resquash did not [15:33] I'll look into that [15:38] curious, same with tmnationsforever [15:38] -drwxrwxrwt root/root 3 2018-03-07 04:42 squashfs-root/var/spool/samba [15:38] +drwxrwxrwx root/root 3 2018-03-07 04:42 squashfs-root/var/spool/samba [15:38] tmnations is built using a very similar set of packages [15:39] mborzecki: ok, added another small comments about a TODO [15:39] pedronis: thanks [15:39] pstolowski: current master failed with econnreset :P [15:39] noooo [15:39] it is weird that a subsequent build would produce different results for tmnationsforever [15:39] damn [15:40] pstolowski: https://travis-ci.org/snapcore/snapd/builds/392288895?utm_source=email&utm_medium=notification [15:40] well, it could be an overflow or something in squashfs-tools. anyway, I'll look into it [15:40] sergiusens: not quite transparent proxy, just transparent handling of authentication [15:41] sergiusens: I wouldn't rip out the proxy user/pass handling from snapcraft 'cause it is technically correct, but it should put less pressure on that to be absolutely correct [15:42] pstolowski:what if we could simulate network issues by using a proxy instead? [15:44] mborzecki: same story.. download request is happy after 1st attempt and we proceed with fetching assertions.. which fail and are retried as expected. but the test expects download to fail and be retried [15:45] mborzecki: we could i guess, but there must be an explanation.. [15:45] pstolowski: is it using fakestore? [15:46] mborzecki: no [15:46] pstolowski: what if it used, and we add some error injection contraption to it? [15:47] PR snapd#5328 closed: snapstate: stop using evolving SnapSpec internally, use an internal-only snapSpec instead [15:48] pstolowski: https://github.com/tylertreat/comcast https://github.com/shopify/toxiproxy both are written in (surprise, surprise) Go [15:48] mborzecki: we could, but current approach should work too :/ [15:52] i don't know.. maybe gcloud is actually so crazy fast sometimes that it manages to download entire huge test snap before we apply iptables rule and download simply succeeds? fwtw i saw this download completed in ~10s when i executed download manually on gcloud spread machine [15:52] with ~10s it would be too slow and the test would do the right thing.. but maybe it's faster sometimes [15:52] dunno [16:04] cjwatson: no worries, we cannot remove it as we have known instances of people depending on them; but it does put us in a position where we need to solve specific use cases only [16:04] is github slow for anyone else too? [16:08] pedronis: https://github.com/snapcore/snapd/blob/master/asserts/device_asserts.go#L218 is this where we'd check for valid snap names in model assertion? [16:39] * zyga takes a break for an hour, no biking this time, just coffee and a new book [16:40] I need to vent my mind and rest for a while === pstolowski is now known as pstolowski|afk [16:40] after that I'm back to system slots mvo :) [16:43] jdstrand: thank you for the review on 5081 [16:43] I agree with everything but one remark about having enough data to pick * vs */ [16:43] perhaps I didn't understand you there [16:44] if you don't have time to see my comment there before your holidays then don't worry, I will improve the comments and land and we can polish this more after you return [16:44] I will now use this to construct apparmor permissions for mimics and this will fix one of the two remaining layout bugs :) [16:46] mborzecki: yes [16:47] pedronis: ack, looks like a 3rd (or 4th?) copy of snap.ValidateName() [16:47] pedronis: anyways, added a todo note and pushed everything to github [16:47] mborzecki: maybe, anyway, yes for now a todo is ok [16:48] mborzecki: also I put some notes in the topic as well, don't know if you saw those [16:49] zyga: ta [16:50] pedronis: yup seen those, thanks for posting them [17:13] pedronis, Chipaca: Here are some notes from today's call: [17:13] https://forum.snapcraft.io/t/possible-evolution-path-for-snap-store-endpoints-regarding-epoch/5871/5 [17:15] kyrofa: https://code.launchpad.net/~cjwatson/launchpad/snap-parse-architectures/+merge/347998 FYI [17:15] "On Tuesday, June 12, we incorrectly sent you an email stating that your billing account had been terminated for non-payment. No action is required on your part, and there has been no change to your active billing accounts. This email was sent in reference to billing accounts that had already been terminated." [17:16] kyrofa: initial work, more to come, but this is what integrates your code most directly [17:16] <3 [17:16] GCE [17:31] Ah, cjwatson, awesome! [17:34] Looks like I didn't quite get the python2 compatibility I was hoping for judging from the changes-- not too bad I hope? [17:34] Chipaca, hey, there is a comment on #5242 [17:34] PR #5242: tests: new test for joystick interface [17:35] cachio: hey [17:35] cachio: me? [17:35] it needs your opinion [17:35] Chipaca, yes [17:35] ah, seen it now [17:36] cachio: replied [17:37] cachio: we've not done that work yet, so it's still the only way to do it [17:37] zyga: progress on 5324 - with that I managed to run a trivial core18 spread test on a real(ish) core18 image [17:37] * mvo calls it a day with that success [17:40] Chipaca, great, thanks!! [17:41] mvo, congrats [17:46] mvo: \o/ [17:57] mvo, is it possible to run the snapd suite? [18:14] PR snapcraft#2160 opened: many: refactor snapcraft.yaml loading out of load_config [18:14] * Chipaca EODs, for great justice [18:28] PR snapd#5329 opened: DON'T REVIEW: tests: Adding debug information to know why econnreset is failing [18:33] kyrofa: very minor unicode_literals handling, but nothing serious [18:48] * cachio afk [18:58] kyrofa: the only really substantive change I made was to allow snaps to declare that they build on architectures that LP doesn't support, which seems wise to me [19:01] Indeed, I suppose that makes sense [20:58] having a bit of an issue with python deps showing up for packages that define #/usr/bin/env python3 as their header [20:58] https://paste.ubuntu.com/p/XZnpjyzKbz/ [20:59] I cat the gunicorn exe and I think its just getting the wrong env [20:59] https://paste.ubuntu.com/p/zBkpvyRXt7/ [20:59] due to the fact that python3.6 is actually what is being used .... [21:00] I'm not really sure what exactly is going on .... last time I built this snap everything checked out but that was a few months ago, and on xenial [21:01] but now, following a build/install of the snap it seems packages are borked because of the env possibly [22:13] oh man ... I was so turned around ... pretty sure I've found my way [22:46] Oh man, I do not know what I am doing wrong... [22:47] This is my first attempt at creating a snap. I am trying to snap the anki desktop client. [22:47] A gist of my snapcraft.yaml is available (https://gist.github.com/binarycreations/3991eba94a9dc78bb9ee1e3d66168e88) [22:48] I am building my snap in a 16.04 Ubuntu VM using Vagrant so it is the server version of Ubuntu [22:48] I then run the snap on my host which is Arch Linux [22:49] They problem that I seem to have is, whilst the downloaded anki binary works fine on my host within the VM and snap I get a error from anki stating it can't find or load the libfontconfig.so [22:53] niemeyer ping [22:54] Is that an indication of a missing package? (i.e. I should find the package that includes that linked library in the stage-build) [22:54] Is it due to the fact I am trying to build and run a snap on Ubuntu Server, where the app requires Ubuntu Desktop (as in an X server and other related dependencies that would be detected by ldd and added to the snap?) [22:57] ondra: Hey [22:57] niemeyer hey [22:57] niemeyer do we have interface, something like light weight content interface, which would allow one snap to change configuration of another snap? [22:58] binarycreations: The forum is generally a better place for those discussions as it allows people to respond at the best time for them without you having to wait here and without the conversation scrolling off [22:59] Okay, cool. I drop another question on there. [22:59] ondra: Not anything built-in that would allow the equivalent of "snap set" across snaps.. we did discuss something like that a while ago, but only lightly [22:59] ondra: I think it'd make sense to eventually have that as a proper mechanism [22:59] niemeyer agree [23:00] niemeyer I will kick off forum post about it to start gathering context [23:00] ondra: Sounds good, thank you [23:01] ondra: I think it can literally be some kind of interface that would enalbe "snapctl set" to take an extra argument with a snap name [23:01] ondra: We'd condition that to only work if the interface is connected [23:01] ondra: and we might allow auto-connection if both snaps are from same publisher, similar to how we do the content interface [23:02] ondra: I mean, by default.. we'd also allow auto-connection after manual reviews as usual [23:02] niemeyer but wouldn't you want to limit this between snaps A->B? Or you are thinking to have ability to configure all snaps? [23:02] niemeyer yeah [23:02] niemeyer sorry I misunderstood, so between defined snaps [23:03] ondra: We need to think carefully.. but I think we have some good precedence in the content interface.. the issues are very similar, even if the actual "API" is different [23:03] niemeyer yep [23:04] niemeyer one can go crazy there and start defining per config keys, but I do not thing we need that fine control [23:05] niemeyer I will kick of forum post and let's continue there [23:05] ondra: We still want to have schemas for the configuration, as a general feature.. we might eventually hook the two things together and allow partial access to a configuration via the schema.. but agreed, that's future [23:05] ondra: Thanks [23:06] cool [23:51] PR snapcraft#2161 opened: many: automatically detect dependency changes