[03:18] PR snapcraft#1958 opened: Migrating to more granular store permission [06:10] morning [06:38] PR snapd#4733 closed: interfaces/screen-inhibit-control,network-status: fix dbus path and interface typos [06:42] PR snapd#4732 closed: [2.31] timeutil: account for 24h wrap when flattening clock spans [06:42] PR snapd#4734 closed: interfaces/screen-inhibit-control,network-status: fix dbus path and interface typos - 2.31 [06:42] PR snapd#4736 closed: interfaces/screen-inhibit-control,network-status: fix dbus path and interface typos - 2.32 [06:50] PR snapd#4713 closed: cmd/snap: add self-strace to `snap run` [06:50] hey mborzecki ! good morning [06:51] mvo: hey, morning [06:51] mvo: is it also that cold where you live? [06:51] mborzecki: yeah, unusually cold. up to minus 10 or so in the nights [06:52] mborzecki: very clear skys all the time, sunny but bitter cold :) [06:52] mvo: my outside thermometer is showing -14 atm [06:52] mvo: yeah, it's clear and sunny.. and cold :P [06:53] mborzecki: woah, -14 even [06:53] impressive! [06:53] my dogs were unimpressed this morning :) [06:53] heh [06:54] * mvo checks his outside thermometer [07:08] PR snapd#4739 opened: many: remove snapd.refresh.{timer,service} [07:15] good morning [07:15] hey zyga ! good morning [07:16] hey [07:16] mvo I experienced something very odd last nigth [07:16] 54 Do 2018-02-24T10:49:28Z - Auto-refresh snap "core" [07:16] my snapd is stuck updating [07:17] I sent a pastebin as well, still valid: https://pastebin.ubuntu.com/p/sj6s9qNzFQ/ [07:17] and I had one denial [07:17] lut 25 22:08:15 fyke kernel: audit: type=1400 audit(1519592895.774:1751): apparmor="DENIED" operation="exec" profile="/usr/lib/snapd/snap-confine" name="/usr/lib/snapd/snap-device-helper" pid=39793 comm="snap-confine" requested_mask="x" denied_mask="x" fsuid=0 ouid=0 [07:17] I'm currently on core 16-2.29.4.2 4144 canonical core [07:18] I wonder if this is some bad revision that didn't have the symlink to make it work [07:18] or if we missed something bigger [07:18] and release will break [07:18] oh, and none of the snaps work now [07:19] they fail with that same denial [07:19] PR snapd#4737 closed: cmd/snap: tweaks to 'snap info' (feat. installed->current rename) [07:20] looking at snapd.service logs I see one more error: [07:20] lut 24 11:49:38 fyke snapd[35097]: 2018/02/24 11:49:38.755234 backend.go:91: cannot create host `snap userd` dbus service file: failed to copy all: "cp: nie [07:21] and that's all [07:21] ideas welcome, I'm not sure what's failed [07:22] for instance, I don't understand why the change is stuck [07:22] why is it not auto-connecting things [07:22] deadlock? [07:35] zyga: uh, thats serious if that is stable to stable [07:36] zyga: yeah, its very strange. 2.29 you say? its double strange as it should also have tried to go to 2.30 before already [07:37] I think something odd has happened [07:37] it is on distro package now [07:38] I didn't set any reexec flags [07:38] nothing in /etc/environment [07:38] any ideas on what to check for next? [07:38] note: I installed a snap on Friday evening [07:43] mvo how can I be on 4144 which is more recent than beta but less recent than core [07:43] and still be on 2.29.4.2?!? [07:43] is. that some build that was made to make an out-of-bounds release [07:43] this makes no sense to me [07:53] zyga: what channel are you tracking? [07:54] edge [07:54] zyga: and what does "apt list --all snapd" show? [07:54] zyga: edge, huh [07:54] Name Version Rev Developer Notes [07:54] core 16-2.31+git583.0e8bcef 4104 canonical core,disabled [07:54] core 16-2.31+git586.d89ba3c 4117 canonical core,disabled [07:54] core 16-2.31.1+git587.d3e52a0 4133 canonical core,disabled [07:54] core 16-2.29.4.2 4144 canonical core [07:55] zyga: apt :) [07:55] given this revision progression [07:55] haha [07:55] zyga: you mentioned your packaged version is run [07:55] I didn't see apt [07:55] I replaced "snapd" with core without thinking though [07:55] yeah [07:55] because of the +17.10 version [07:55] zyga@fyke:~/go/src/github.com/snapcore/snapd$ snap version [07:55] snap 2.29.4.2+17.10 [07:55] snapd 2.29.4.2+17.10 [07:56] mvo is it sane that 4144 has version 16-2.29.4.2? [07:57] zyga: no, that does not sound sensible [07:57] can you pull that revision and check? [07:57] zyga: what does snap changes show? is it maybe trying to refresh for some time wihtout success? [07:57] ID Status Spawn Ready Summary [07:57] 54 Do 2018-02-24T10:49:28Z - Auto-refresh snap "core" [07:57] 55 Done 2018-02-26T00:51:39Z 2018-02-26T00:51:39Z Refresh all snaps: no updates [07:57] I pastebinned snap change 54 earlier [07:58] zyga: and before that? when was the last successful core update? [07:58] that 55 is "fun" because there *are* updates but core has changes in progress [07:58] there's nothing more, is there a switch for earlier history? [07:58] zyga: uh, you are right: 4144 2018-02-24T04:25:30Z amd64 16-2.29.4.2 edge [08:00] zyga: so it looks like on sat we had 2.29.4.2 in edge for a brief time before a new build kicked in [08:00] zyga: and we got the git version again [08:00] store bug? [08:00] zyga: so you went from master (from friday) to 2.29.4.2 and then back to git and that seems to be not working [08:01] zyga: I think more a problem with the snap-cron publish to edge thing [08:03] zyga: what does `snap version` give you? [08:03] zyga: i.e. which version is active right now? [08:03] zyga: (sorry if you said this already) [08:03] 2.29.4.2 [08:03] since all other versions are deactivated [08:03] good morning! [08:04] well [08:04] 2.29.4.2+17.10 [08:04] so that is the vanilla packaged version [08:04] zyga: so here is my theory: you started with 2.32~git, that generated a new auto-connect tasks, then it installed core 2.29.4.2 because of silliness, then that rebooted and tried to do the tasks that are in the state [08:04] zyga: however 2.29.4.2 does not know about auto-conneect so its stuck in doing [08:05] didn't we have an unknown task handler now? [08:05] maybe not in 2.29 [08:05] zyga: exactly, not in 2.29 [08:05] zyga: fortunately its only people tracking edge that are affected and the change will be auto-abort after 7(?) days [08:05] zyga: still not great [08:06] do we keep track of the edge publishing cron job [08:06] to ensure this was really it? [08:07] zyga: I think so, we have the spread-cron logs for vendor-sync and the ppa upload history and the core build logs [08:09] btw, off-topic: I will have some fixes to layouts [08:09] can we do another RC? [08:09] zyga: yes [08:09] this will make them work on core [08:09] excellent [08:09] I will have two or three patches [08:09] just running spread to make sure it's green before I start chopping [08:10] wow [08:10] mvo I aborted change 54 and instantly I got a change 66 that refreshed core correctly [08:10] I'm tracking edge again now [08:10] zyga: sounds good, either a 2.32 targeted PR or make the PR with as little commits as possible so that we/i/you can cherry-pick [08:11] zyga: thanks for confirming, so it will auto-heal [08:11] those will be separate for review and because they are not related; each one should be ok to cherry-pick [08:12] moin moin [08:12] hey kalikiana [08:19] woot :) [08:19] it passed :) === Tenente is now known as LtWorf [08:35] PR snapd#4740 opened: cmd/snap-update-ns: use syscall.Symlink instead of os.Symlink [08:35] mvo 1st PR: https://github.com/snapcore/snapd/pull/4740/files [08:35] PR #4740: cmd/snap-update-ns: use syscall.Symlink instead of os.Symlink [08:38] mvo 2nd PR: https://github.com/snapcore/snapd/pull/4741/files [08:38] PR #4741: cmd/snap-update-ns: use recursive bind mounts for writable mimic [08:38] once those land the spread test should pass [08:39] PR snapd#4741 opened: cmd/snap-update-ns: use recursive bind mounts for writable mimic [08:54] * zyga -> breakfast [08:59] morning! [09:00] hey [09:00] I saw your PR last night [09:01] zyga: which of 'em? [09:01] it's been a fun weekend :-) [09:02] the one on sunday night [09:02] anyway, I will go over PRs soon [09:02] but some 2.32 things first [09:10] mvo: hi, thinking a bit, in 2.32 we should probably not ask for snap_yaml_raw on snap find/store.Find [09:11] pedronis: ok, what is the alternative we should use? [09:11] mvo: ? [09:11] pedronis: we need the plugs to get the default provider [09:11] pedronis: we use snap_yaml_raw to get that data [09:11] mvo: I'm saying we should ask for details [09:11] but not find [09:12] pedronis: oh, on find? yes [09:12] pedronis: that sounds sensible [09:12] mvo: we don't use it [09:12] afaict [09:12] on find [09:12] oooh, oohh [09:12] can i work on that? [09:12] is just that fields is the same for all [09:12] :-) [09:12] atm [09:12] i've been wanting to make fields per request [09:13] Chipaca: yes, please, as I said, something we can still add to 2.32 though [09:13] 2.32 is _right now_, no? [09:13] yes [09:13] ok [09:13] but I suspect we neeld .x [09:14] (btw, if you guys haven't tried the Go (mono) font, you should) [09:14] Chipaca: yeah, please do! we are at 2.32~pre1 so as long as it can be cherry picked all is well [09:14] Hello, I'm a bit confused about something. Are the channel risks 4 (stable, candidate, beta, edge) or can there be more? [09:14] palasso: the risks are those four [09:15] https://forum.snapcraft.io/t/channels-2-0-implementation/156 [09:16] "This allow publishers to go beyond the current 4 channels we offer and provide custom channels." [09:16] palasso: risks != channels [09:16] palasso: a channel is track/risk[/branch] [09:16] So the channels go beyond in the sense of having tracks and branches? [09:16] palasso: with a default track of 'latest' [09:17] palasso: I think I've been in the 'new' channels world for too long and I don't remember well being where you are, but I'll try [09:17] palasso: we used to have just four channels, representing risk levels [09:18] palasso: what used to be just 'stable', is now fully called latest/stable [09:18] palasso: (although we'll still call it just stable, because the latest/ is implied) [09:18] palasso: and, devs can ask for more "tracks", which is the 'latest' bit [09:18] Ahh I see [09:18] palasso: if you do «snap info go» you'll see a good example [09:19] Chipaca: If an app were to have an "LTS" stable release (e.g. firefox has ESR) how would they do it under the current 4 risks model? they'd introduce an ESR/stable? [09:20] palasso: yes, or if there are going to be multiple ESRs (like Ubuntu has multiple supported LTSs), they could call it something more specific [09:20] palasso: or have both, a generic ESR that tracks the latest ESR, and a more specific ESR-x-y-z [09:21] I see, thank you :) [09:21] palasso: the mysql snap also makes good use of tracks [09:21] that's why tracks were introduced, to support parallel streams of maintained releases [09:21] Okay I'll check out go and mysql. Thank you for providing me examples as well [09:22] palasso: a bad example of a snap is if you have a commercial and a free version, you shouldn't really use tracks for one and t'other [09:22] s/bad example of a snap/bad example of a use of tracks for a snap/ [09:22] Yeah I've noticed for example how JetBrains does it [09:23] k [09:23] * Chipaca gets back to codin' [09:24] mvo: I was meant to write a forum topic before that current pr got merged [09:24] :-) [09:24] * Chipaca writes [09:25] also! mvo, pedronis, zyga, (mborzecki, pstolowski?), niemeyer, feedback appreciated on the 'debugging tab completion' tutorialish thing [09:25] Chipaca where can we read it? [09:25] https://forum.snapcraft.io/t/debugging-tab-completion/4198 [09:33] PR snapd#4730 closed: userd/tests: Test kdialog calls and mock kdialog too to make tests work in KDE [09:39] mvo: #4737 isn't going to sneak into 2.32, right? [09:39] PR #4737: cmd/snap: tweaks to 'snap info' (feat. installed->current rename) [09:39] ie it's 2.33 material, which is not for another month/ [09:39] ? [09:41] Chipaca: if there is a compelling reason we can cherry pick it [09:41] Chipaca: its still early in 2.32 [09:44] mvo: on the contrary, I want it _not_ in 2.32 [09:44] mvo: to give people more forewarning of the change [09:44] mvo: am I right in guesstimating 2.33 is a month away? [09:44] from hitting stable [09:45] or is it a month from release, and another month to stable? [09:47] zyga: pstolowski: can give #4695 another pass? [09:47] PR #4695: wrappers: generator for systemd OnCalendar schedules [09:48] yes, in a moment [09:48] great, thanks [09:49] Chipaca: it should go to beta around when 2.32 goes to stable (roadmap says mar 12), but we still have things for 18.04 that are not in 2.32, not sure how that will play on 2.33 timing [09:50] pedronis: mar12 is right after the sprint [09:50] that seems to be setting us up for insanity [09:50] let's not do that :-) [09:50] do what? [09:50] pedronis: set ourselves up for insanity [09:50] * pedronis expects Mar to be insane [09:55] mborzecki, sure, sorry i didn't do that last Fri, will do [09:57] I need two reviews for critical PRs [10:00] zyga: shout [10:00] last two open PRs [10:00] one trivial [10:00] one more complex [10:00] 4740 is trivial [10:00] PR snapd#4728 closed: store: move infoFromRemote into details.go close to snapDetails [10:08] zyga: you're going to need el jay-dee to look at 4741 i think [10:10] zyga: am I reading it right that with this change we _always_ use detach? [10:10] for directories, yes [10:10] for files we keep the regular thing [10:10] zyga: is that reasonable? [10:11] yes, as the commit message explains we have no other choice [10:11] i guess we don't record when we recursed? [10:11] no no, we always pair recurse with detach [10:11] we don't always detach [10:11] ah ok [10:11] or am I missing something [10:11] Chipaca: yeah, 2.33 is about a month away [10:11] I mean, that is the intent [10:13] zyga: https://github.com/snapcore/snapd/pull/4741/files#diff-4480ffd44957efa3395867c929f88014L377 [10:13] PR #4741: cmd/snap-update-ns: use recursive bind mounts for writable mimic [10:13] zyga: that's the bit that looked very unconditional [10:13] but i might be missing part of the logic [10:13] that's the safe keeping directory [10:13] it is originally rbind'ed [10:14] each rbind should be paired with MNT_DETACH [10:14] k [10:14] https://github.com/snapcore/snapd/pull/4741/files#diff-4480ffd44957efa3395867c929f88014L331 [10:15] heh, and pedronis agrees from backstage [10:15] 'backstage' ;) [10:15] 'bambalinas' translates as that, but it doesn't feel the same [10:15] ¯\_(ツ)_/¯ [10:15] hmm? [10:16] it's used as 'behind the scene' more than 'backstage', i guess, although those two are the same (but different) [10:16] zyga: he quietly added jdstrand as reviewer of the PR [10:16] oh I would definitely have jamie review it [10:16] stage are scenes but not all scenes are stages [10:16] I said so last week [10:17] zyga: but who listens to you [10:17] pedronis: translating is hard [10:22] PR snapd#4740 closed: cmd/snap-update-ns: use syscall.Symlink instead of os.Symlink [10:27] mvo any idea why snapd-control-with-manage consistently failed in your PR? [10:27] https://api.travis-ci.org/v3/job/346163312/log.txt [10:27] this is inside 4739 [10:28] zyga: let me check [10:29] zyga: yes, let me fix it [10:29] do you know what happened there? [10:30] zyga: yes, a leftover that checked for snapd.refresh in a test [10:31] zyga: I killed that and force pushed (for cherry-picking) [10:31] cool, thanks! [10:31] mvo: https://paste.ubuntu.com/p/4y6jghpWQz/ maybe you're missing this [10:32] mvo: I did those changes on Friday but didn't open a PR yet :) [10:32] mborzecki: yes, except for the first bit :) - echo 'from the store start/enable the snapd.service' is still needed, right? or will it be enabled (snapd.service) on arch on install? [10:32] mborzecki: if so I can kill it [10:32] mborzecki: that line [10:33] mvo: you can kill it to [10:33] mborzecki: cool [10:33] mvo: there's one peculiar scenario with the timers that I mentioned here https://forum.snapcraft.io/t/refresh-scheduling-on-specific-days-of-the-month/1239/20 [10:34] not sure if anyone uses it like this, but if you only have snapd.socket enabled, then snapd will not run unless something activates it, and if so, no refreshes will be applied [10:34] mborzecki: are you sure it can be removed? the current install says "to use snapd start/enable the snapd.socket" but that means that on the next reboot snapd will only come up after "snap list" (or similar). so to get refreshes the user still has to enable the snapd.service so that it runs persistently? or am I missing something [10:35] mvo: yes, that PKGBUILD is not used and i'll be syncing it with the one that's in the AUR repo [10:35] * Chipaca -> break (physio) [10:35] mvo: that echo was removed there as well [10:36] mborzecki: aha, I think we are on the same page. so we should keep the message about "systemctl start/enable snapd.service" ? [10:36] mvo: you can keep it for now [10:36] mborzecki: I mean, we should contribute that back to upstream (this echo?) [10:36] mborzecki: ok [10:38] zyga: pushed an update to 4695 [10:38] ack [10:39] mvo: what do you think about the case when only socket activation is enabled? [10:40] mborzecki: a good question, I think its an unsupported mode of operation, we should advice our packagers to recommend to enable the service. and if its not done, well [10:40] not much we can do - we could warn of course [10:42] PR snapd#4727 closed: many: simplify mocking of home-on-NFS [10:42] a bit crazy, but i thought we could do something like the timer services, autogenerate snapd.refresh.timer and have `snap refresh --timer='...'` [10:49] we have a bunch of extra logic around refreshes [10:50] we retry to some extent if they fail (but waiting at least some time) [10:55] pedronis: right, but it only works as long as snapd is running, whereas if you do socket activation only then it may not be running at all [10:56] mborzecki: my point is more that implementing that way add different complexity to support an unsupported mode [10:56] pedronis: aah, you're right, maybe it's not worth doing this at all [11:00] mborzecki, my comment re systemd-analyze was about making sure we run this check on predefined systems (similiar to what we do in some spread tests) and not just rely on path lookup [11:00] mborzecki, but I'm not sure how to do that nicely and if it's worth it. just 'nice to have' [11:01] otherwise we have no guarantee we run this validation at all [11:01] pstolowski: we could fail the test if systemd-analyze is not found, but that seems a bit overager [11:01] s/overager/overeager/ [11:01] mborzecki, maybe just a warning that the check was disabled? [11:05] PR snapcraft#1949 closed: repo: silence deb caching when fetching packages [11:07] pstolowski: yeah, warning will probably do [11:08] PR snapd#4742 opened: overlord/snapstate: verify that default schedule is randomized and is not a single time [11:09] so that we don't accidentally break the store again ^^ [11:12] * cachio afk [11:14] jdstrand hey, please have a look at 4714 [11:14] jdstrand I think it can land for 2.32 cherry-pick then [11:14] (though it might be a bigger pick) [11:15] jdstrand please also look at a layout bugfix in 4741 [11:15] jdstrand with that in the spread test in 4644 passes [11:19] ok, now for a tiny break and then back to mount validation [11:31] * zyga FAIL: store_asserts_test.go:161: storeSuite.TestCheckAuthority [11:31] * zyga store_asserts_test.go:180: [11:31] * zyga c.Assert(err, ErrorMatches, `store assertion "store1" is not signed by a directly trusted authority: other`) [11:31] * zyga ... error string = "store assertion timestamp outside of signing key validity (key valid since \"2018-02-26 10:45:06 +0000 UTC\")" [11:31] * zyga ... regex string = "store assertion \"store1\" is not signed by a directly trusted authority: other" [11:32] this popped up on an unrelated PR [11:32] pedronis ^ [11:32] the PR is 4739 [11:32] zyga: seen it a couple of times already [11:36] hmm the tst suite setup is using time.Now().Truncate(time.Second), while respective tests just do time.Now().Format(...) [11:37] zyga: are you updating those tests? [11:37] nope, go ahead please [11:37] I'm still trying to finish the race detector [11:47] PR snapd#4742 closed: overlord/snapstate: verify that default schedule is randomized and is not a single time [12:03] mvo: can you publish 2.31.1 release files on github? [12:11] mborzecki: sure, done [12:11] PR snapcraft#1955 closed: meta: make sure adapter does not propagate [12:11] mvo: thanks [12:17] PR snapcraft#1844 closed: Included fix for error messages [12:27] mborzecki having read https://www.freedesktop.org/software/systemd/man/systemd.time.html I really think syntax is hard [12:27] zyga: ours or theirs? [12:28] theirs [12:29] zyga: yeah agreed, feels slightly awkward, on top of this, the entries OnCalendar, OnFoo.. are cumulative [12:29] don't recall if that's mentioned int he manuals or not [12:38] zyga: might be related to the test renames, some tests that worked because of order, I will look [12:39] PR snapd#4743 opened: packaging/arch: sync with snapd/snapd-git from AUR [12:51] PR snapd#4744 opened: testutil: allow mocking syscall.Fstat === pbek_ is now known as pbek [13:06] PR snapd#4745 opened: osutil: allow creating strings out of MountInfoEntry [13:24] PR snapd#4746 opened: cmd/snap-update-ns: use syscall.Symlink instead of os.Symlink [13:28] PR snapd#4747 opened: cmd/snap-update-ns: use recursive bind mounts for writable mimic (2.32) [13:30] mvo I opened two PRs for 2.32 backport for overlay fixes === zyga_ is now known as zyga [13:32] er, not overlay, layout === chihchun_afk is now known as chihchun [13:38] zyga: ta [13:57] * pstolowski lunch [14:00] * zyga needs to go out to do some errands, I'll be back later [14:48] PR snapcraft#1959 opened: elf: only patch elf files that aren't referenced by DT_NEEDED [14:59] mvo, already running beta validation [14:59] hello [14:59] cachio: good morning [14:59] cachio: thank you [15:00] cachio: how are things looking so far? [15:03] * kalikiana food [16:18] mvo, about sru, is it ready to run the validation? [16:19] cachio: yes [16:19] ok, I'll start it [16:35] re :) [16:35] man it is *cold* outside [16:35] like really cold [16:35] I need warmer pants [16:36] jdstrand so looking at your response [16:36] apart from updating comments, do you want to see any other changes? [16:36] my main motivation for that is not having to chagne a lot of the algorithms behind the current process [16:36] PR snapcraft#1746 closed: cli: add version command [16:36] zyga: I've got something to warm the cockles of your heart [16:37] as we don't have to know what is currently mounted (via mountinfo) to get things correct [16:37] we only act on fstab delta [16:37] zyga: not as good as warm trousers, but https://pastebin.ubuntu.com/p/nd67wh7p3x/ [16:37] zyga: just the comment change, but that was based on your answer [16:38] Chipaca ohh [16:38] I like the raw sys call thing [16:38] I need to do that anyway [16:38] cool, let me update the comment then [16:39] pedronis: can you think of other fields that'd only be used for details? [16:40] Chipaca: not without being backward incompatible [16:40] Chipaca: we return most feilds through the rest api, no? [16:40] I mean snap list doesn't use all them [16:40] but in the api they are there [16:40] pedronis: well, I'll stop asking for the channel map (but we weren't getting it anyway) [16:41] zyga: can you re-review PR 4714 when you get a chance? the test failure was unrelated. I restarted travis [16:41] PR #4714: interfaces/apparmor,system-key: add upperdir snippets for strict snaps on livecd (LP: #1729867) [16:41] Chipaca: in search [16:41] jdstrand yes, sure [16:41] jdstrand btw, I merged master into it today [16:41] did you see that? [16:41] Chipaca: that's ok [16:41] pedronis: yep [16:41] ah, you did [16:41] bah, maybe i'm going too meta [16:41] cool, lookin g [16:41] and i should make it simpler [16:41] hmmm [16:41] especially if we're going to throw this away for v++ [16:42] yeah, screw it [16:42] Chipaca: the old code is complicated mostly for tests [16:42] * Chipaca git revert's [16:42] oh [16:42] so I learned something today :) [16:42] zyga: ? [16:42] Chipaca: new api is diferent, also I'm also testing it differently [16:42] pedronis: good :-) [16:42] Chipaca: I'm testing the equivalent of infoFromRemote which we didn't [16:42] pedronis: if it were the same i'd start asking if we learned nothing :-) [16:42] and makes for verbose tests [16:42] for everything [16:43] jdstrand so to understand this correctly, if the upperdir has space we need quoting to make that work? [16:43] pedronis: are you using detailFields for anything? [16:43] and with that, brb, I'll make some tea, it's sooo cold today [16:43] zyga: yes, the parser will not like it [16:43] Chipaca: no, a have a different list [16:43] s/a have/I have/ [16:43] that is a global [16:43] not coming from config [16:44] and many fields have new names or are grouped in the new api [16:45] Chipaca: you can hardcode stuff, if you can keep the tests happy [16:49] pedronis: yup [16:49] pedronis: resisting the temptation of kaizen [16:49] for this one [16:49] must . resist . [16:54] roadmr: hey, fyi, the store is occasionally oopsing when adding feedback [16:54] mvo: I'm getting this: overlord/ifacestate/handlers.go:580: github.com/snapcore/snapd/overlord/state.Retry composite literal uses unkeyed fields from go vet here [16:54] jdstrand: got an oops id for me? [16:54] OOPS ID: OOPS-612e03a3abfe4e63b67bd58b51731171 [16:55] thanks! [16:55] jdstrand (re, suspended) - does our live media use whitespace in upperdir? [16:55] roadmr: that was putting in the text and doing 'Ask for information' [16:55] roadmr: there was another when I went to the feedback url that oops. I lost that oppsid [16:55] zyga: no [16:56] jdstrand: oh I see. It's trouble contacting rabbitmq (the thing you're doing presumably uses a celery task) [16:56] jdstrand so what triggered the use of " ", the fact that it is possible? [16:56] zyga: the idea is simple-- we are getting something from outside of snappy and injecting it into policy [16:56] right [16:56] jdstrand: and this is in turn because at least one of our rabbitmq units was rebooted for upgrade purposes [16:56] just wanted to understand that bit [16:56] zyga: so yes, being cautious. we didn't need it when the policy was hard-coded before, but now we are detecting, so I am being defensive [16:57] roadmr: does that mean it is temporary? [17:00] jdstrand: yes, checking current status of rabbit [17:01] Have some odd behavior with Ubuntu Core (on Docker) vs Ubuntu Desktop [17:01] Fonts aren't being loaded from the file:// protocol in Firefox on Ubuntu Core [17:01] Works fine on Ubuntu Desktop though. Also works fine if they are served via http [17:04] nathancahill: so you've got Firefox, on X? mir? wayland?, on ubuntu core, on docker, and it's not loading fonts from file:/// [17:04] nathancahill: ? [17:05] firefox headless (latest build supports running headless with no display server) [17:06] nice [17:07] yeah, it's really slick [17:08] jdstrand: things look healthy here, can you retry those things you were doing? [17:09] jdstrand does https://github.com/snapcore/snapd/pull/4741/commits/8169900842c19cb09cb9510bdbafb4e8ca61554e look all right now? [17:09] PR #4741: cmd/snap-update-ns: use recursive bind mounts for writable mimic [17:10] can't figure out the exact different between the ubuntu snap build and ubuntu desktop that's causing the issue though [17:10] i installed ubuntu-server and ubuntu-desktop on top of ubuntu:latest and the issue persists [17:11] Chipaca as to your pastebin [17:11] Chipaca is that string zero terminated? [17:11] I don't think it is in that way you wrote it [17:12] Pharaoh_Atem hey, what do I need to reproduce the problem [17:12] is F27 sufficient or do I need F28? [17:12] zyga: you need F28 [17:12] ah, thanks, I will update then [17:13] jdstrand if you ack that patch I will also push it into the 2.31 PR [17:13] er [17:13] 2.32 [17:15] zyga: yes [17:15] #fingerscrossed [17:15] :-) [17:15] zyga: I haven't checked why, but it works like that, so yeah [17:15] you need something ... [17:15] like... [17:16] zyga: to actually do that kind of thing, I'd suggest checking (or enforcing) :-) [17:16] roadmr: I tried a couple more, it seems fine now [17:16] jdstrand: yay thanks! [17:17] https://github.com/snapcore/snapd/blob/master/cmd/snap-update-ns/bootstrap.go#L96 [17:18] zyga: approved, thanks [17:18] woot, thank you [17:21] * Chipaca looks around for mvo [17:21] Chipaca he went for hockey [17:21] PR snapd#4744 closed: testutil: allow mocking syscall.Fstat [17:21] PR snapd#4748 opened: store: don't ask for snap_yaml_raw except on the details endpoint [17:21] smart [17:21] pedronis: ^ [17:22] thx, will look in a bit [17:22] * zyga installs more ram [17:29] Chipaca: one comment [17:31] pedronis: I could rename the function to `getStructFieldsExceptSnapYAML` [17:31] Chipaca: still strange [17:32] pedronis: what I'd been doing before reverting everything was having another tag [17:32] that is overkill [17:32] e.g. only:"SnapInfo" [17:32] though [17:33] pedronis: getStructFields(theStruct, anException) and it skips just that tag? [17:34] even a list there feels silly :-) [17:34] it can be a list, no? [17:34] I mean, it can, but we're only going to use it for one [17:34] we have strings.ListContains [17:34] and we're calling this thing for every request (which is stoopid) [17:34] ah wait [17:34] are we? [17:34] no [17:34] no ,not the getStructFields [17:34] I hope not [17:34] ok, fair [17:34] doing the change [17:35] Chipaca: in case this is annoying, I'm using getStructFields in the new code [17:35] pedronis: ah, then it's fine [17:35] that's why the hard coded old style field is a bit strange [17:35] yeah, i thought getStructField was done for [17:35] ok [17:36] it seems useful, to not forget field [17:36] s [17:36] pedronis: one change I'd like to make, which might be silly, is to change it to take a pointer to a struct instead of a struct [17:36] that's fine [17:36] pedronis: ok, i'll do that in a separate pr then [17:37] mvo oooh [17:37] I just ran "htop" [17:37] and got the c-n-f thing :) [17:37] snap htop or deb htop [17:37] Chipaca: also I suppose the exceptions can be ...string [17:37] what I'm missing is install instructions, we used to have those [17:38] pedronis: way ahead of you [17:38] :) [17:39] * zyga doubled ram in his thinkpad for peanuts :) [17:39] zyga: why do you have a thinkpad for peanuts [17:39] zyga: that thing must be tiny [17:39] haha [17:39] I made a good deal [17:40] sold the x250, got t470 [17:40] got money left [17:40] now at twice the ram [17:40] PR snapd#4749 opened: ifacestate: be consistent passing Retry.After as named field [17:40] ^ trivial (also makes my local go vet happy) [17:53] Hi, I have a seemingly simple problem: I got an archive (mysql dependency boost) that's supposed to be in directory /boost during build of my snap. the archive contains itself a directy boost, which should become /boost/boost, however, I can't figure out how to make the dump plugin do that. [17:56] I managed to make snapcraft get locked in 'Staging' by stating to organize 'boost' to 'boost/boost' and '*' to 'boost/' [17:57] pedronis: and 4750 is a silly tweak to it' [17:57] No, now it failed, with an error stating boost/boost/boost/boost/... [17:57] r4co0n: boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/boost/ [17:57] r4co0n: boost/boost/? [17:57] :-p [17:57] r4co0n: don't do that :-D [17:57] PR snapd#4750 opened: store: getStructFields now take pointers [17:58] r4co0n: I mean, you can't put a booster on your booster to booster your booster [17:58] ok, i'll stop now [17:58] but it is funny :-) [17:58] * Chipaca wraps up his day and goes to get dinner ready for the hoard === fjay_ is now known as fjay [18:04] I just want a way to tell snapcraft to put everything in the dump source to a specific path. [18:05] my problem is, the path is existing in the source, hence everything at that location won't get moved by: "'*': /subdirectory" [18:05] It did get moved by the same "copy" command, that I'm trying to rewrite [18:07] r4co0n: you shouldn't be using absolute paths anyways, right? [18:08] jdstrand +1 to merge (2.32 copy of) https://github.com/snapcore/snapd/pull/4747 [18:08] PR #4747: cmd/snap-update-ns: use recursive bind mounts for writable mimic (2.32) [18:08] I'm not, it's just a habit... [18:08] PR snapd#4746 closed: cmd/snap-update-ns: use syscall.Symlink instead of os.Symlink (2.32) [18:09] r4co0n: oh ok [18:09] https://paste.debian.net/hidden/c6f9fd43/ [18:09] This is my snap/snapcraft.yaml [18:09] r4co0n: it doesn't make sense [18:10] r4co0n: * will include banana/ [18:10] r4co0n: i think you would need to specify everything except for banana itself [18:10] I got only banana/banana/peach in there [18:10] r4co0n: or use filesets? [18:11] Isn't there something like a parent directory for dump [18:11] Like, dump everything under this location... [18:12] r4co0n: well, why are you doing both? [18:12] r4co0n: i mean, if you wante veryting under banana/ just do the '*: banana/' ? [18:13] r4co0n: not sure why you'd move banana itself then do something else [18:13] That executes a move which will leave banana/peach as banana/peach, not banana/banana/peach [18:14] I want boost to be at /boost, but I dont want boost/boost/funnyexecutable to be at boost/funnyexecutable [18:15] r4co0n: then do two parts [18:15] r4co0n: with different organize lines? [18:15] Like, extract the same archive twice? [18:15] Two dumps? [18:16] https://github.com/nextcloud/nextcloud-snap/blob/master/snap/snapcraft.yaml#L239 [18:16] That's the part I want to rewrite with dump [18:17] This tarball contains a folder /boost [18:19] I think I need a good reason to split up building this build dependency of a dependency [18:20] r4co0n: why can't you do exactly what that yaml does? [18:21] How? [18:21] r4co0n: does that yaml not work (i know copy is deprecated) [18:21] If I change file for organize and copy for dump, it doesn't work [18:21] r4co0n: well, right, becuase they aren't synonyms [18:22] I tried lots of ways and ended up with a DOS for snapcraft [18:22] r4co0n: to be clear, if all you need is the boost headers, then just grab the boost headers [18:22] r4co0n: don't grab the whole thing [18:22] r4co0n: so yes, you'd have two parts [18:22] r4co0n: one is 'boost_headers' and one is 'the rest of the boost tarball' (if you need it); afaict, that particular yaml doesn't need the second [18:23] PR snapd#4741 closed: cmd/snap-update-ns: use recursive bind mounts for writable mimic [18:24] mysql looks for boost during build, I don't know which files it checks under /boost ... [18:24] r4co0n: i'm not sure why that's relevant [18:24] r4co0n: perhaps you misunderstand what that part is trying to do? [18:24] You say I only need the headers [18:24] r4co0n: it's taking a tarball and extracting just some part of it [18:24] r4co0n: if you want to do the same thing, just ... do the same thing? [18:24] it's extracting everything, to /boost [18:25] I want to replicate that [18:25] that's not possible because the tarball contains boost/, which doesn't get moved to boost/boost/ [18:26] But if you say I only need some headers ouf of that anyways, I'm open for another solution... [18:27] Ideally a single command [18:27] r4co0n: sorry, i misunderstood [18:28] nacc, np, thank you for trying to help :) [18:41] PR snapd#4747 closed: cmd/snap-update-ns: use recursive bind mounts for writable mimic (2.32) [18:42] 4644 will now get green :) [18:54] fyi, resolved that firefox issue. loading via the file protocol from / instead of a subdirectoy was causing an issue with sandboxing in firefox [18:58] If nobody has any idea how to solve my issue, I will open a bug so it doesn't pass unhandled. [19:00] PR snapd#4749 closed: ifacestate: be consistent passing Retry.After as named field [19:01] niemeyer: hey, I'm still not sure what to do with 'software-boutique'. I saw your answer, and I see that you intend for it to not be 'ubuntu-software-boutique', but I don't see an explicit ack for it to be classic as 'software-boutique' (maybe I missed it?) or criteria that should be applied to snaps that are like software-boutique or gnome-software [19:02] * zyga fiddles thumbs while travis picks up 4644 [19:02] jdstrand it will be green and all I can do is wait :) [19:02] niemeyer: maybe you didn't mean for software-boutique to fall under this category and have it be a separate category? [19:03] niemeyer: if you can say +1 classic with the reasoning that is all I need. if you have additional criteria for gnome-software/software-boutique snaps, then I can incorporate it into our process [19:05] zyga: yeah [19:07] jdstrand wanna +1 a trivial helper PR? https://github.com/snapcore/snapd/pull/4745/files [19:07] PR #4745: osutil: allow creating strings out of MountInfoEntry [19:10] PR snapcraft#1960 opened: extractors: add support for common-id [19:15] jdstrand: Heya [19:16] jdstrand: Earlier today I've responded to your questions in the forum.. have you seen that? [19:16] matiasb: there seems to be a bug on the reviewer tools : The store was unable to accept this snap. [19:16] - 'common-id' must be used with 'daemon' [19:17] y [19:17] matiasb: that shouldn't be limited to daemons. [19:19] elopio, o/ makes sense to me, I didn't set that restriction :) [19:19] niemeyer: yes, this was in response to that [19:19] jdstrand, fyi ^? (re common-id) [19:20] let me double check [19:20] matiasb: ack [19:20] elopio: what snap? [19:20] I can manually approve [19:22] niemeyer: I think you're saying all the criteria was for welcome snaps (fine), but I don't see any criteria for gnome-software/software-boutique snaps and/or an ack for software-boutique as classic [19:22] maybe I missed something === chihchun_afk is now known as chihchun [19:22] jdstrand: Ah, sorry, I was the one misunderstanding your question now [19:23] niemeyer: no worries, I thought it might go that way so opted for realtime :) [19:24] jdstrand: Is software boutique just a fork of gnome-software? [19:25] niemeyer: I don't know tbh. flexiondotorg could say for sure. what I know about it is that it used AptDaemon dbus apis for adding ppas and installing software [19:25] niemeyer: I was under the impression it is its own thing [19:25] so it is gnome-software like, but I think different [19:26] niemeyer jdstrand No, software-boutique is a from scratch "software center". [19:26] there we go [19:26] flexiondotorg: thanks [19:26] jdstrand: I was just running a test, no need to approve it. [19:26] flexiondotorg: Aha, okay.. hmm [19:27] Original part of Ubuntu MATE Welcome, but now decoupled. [19:27] elopio: can you paste your snap.yaml? [19:28] jdstrand: I think we can use the same rationale we used for the welcome tool.. if it is something that a given distribution wants its own users to have access to, and there's a real community behind it to justify the risk of such a classic snap in the store, then it sounds reasonable [19:28] niemeyer: Thanks :-) And as jdstrand says, I very keen to see if we can confine both in the longer term. [19:28] jdstrand: Also the fact it's interactive instead of a daemon that responds to external commands [19:29] Perhaps a session for next week. [19:29] niemeyer: that seems ok to me (in fact, I thought you were saying that all along, until today :) the question then is about criteria '3' -- prefixing with 'ubuntu' or not [19:29] jdstrand: So that gives some rationale for why that's okay while someone trying to do apt management with their own small tool that responds to external activity is not [19:29] niemeyer: flexiondotorg doesn't want that (for good reason); I don't mind it [19:30] Wht is the command to install OPEN-vpn snap ? [19:30] jdstrand: Okay, that's the question I responded in the forum I think.. yes, I don't think that's sensible [19:30] niemeyer: and if not, is that something I should try to capture in the process criteria or just something for this one snap [19:30] jdstrand: The prefix suggestion was specifically to the welcome thing, because it's very closely bound to that one distribution [19:30] ok [19:31] case by case basis for others for now? [19:31] What is the command to install OPEN-vpn snap ? [19:31] jdstrand: Yeah.. unless there are other foo-welcome things [19:32] niemeyer: budgie has a welcome snap, so renamed to ubuntu-budgie-welcome, but they don't have a software-boutique like snap [19:32] so we should be good for now [19:32] Usysem: "snap find vpn" tells me about "easy-openvpn", so maybe that one? [19:32] I'll take care of the approval and update the process docs slightly [19:32] niemeyer: thanks! [19:32] Usysem: Haven't tried it myself [19:32] jdstrand: Thanks! [19:33] its not easy-openvpn - I've tried that & it doesn't show up in my menu, afterwards. Where is the simple OPEN-vpn ? and how do I install that snap ? [19:34] jdstrand 4644 is green :DDD [19:36] hi - I need halp. [19:36] Usysem then perhaps there is no such snap yet [19:36] there is . I installed it months ago - I jus forgot what its called. Can't find it on forum. [19:37] I reinstalled my system - so I am re-installing snaps. [19:37] sorry, I don't know then [19:37] thanks. [19:37] flexiondotorg: how come sw-boutique is still using aptdaemon? [19:37] didn't it switch to pk months ago? [19:41] niemeyer: fyi, left our process document the same but added a note: "Note that some ‘installer’ snaps (eg, gnome-software and software-boutique) are not distro-specific (eg, they work with any number of package backends) and therefore may not be required to be prefixed with -. This will be evaluated case by case using the above criteria as a starting point." [19:42] * jdstrand fixes typos :) [19:45] PR snapd#4644 closed: tests: add a spread test for layouts [20:05] zyga: are you planning on a PR for PR 4727 for 2.32? if not, it will make the 2.32 PR for 4714 more complicated [20:05] PR #4727: many: simplify mocking of home-on-NFS [20:06] PR 4714 [20:06] PR #4714: interfaces/apparmor,system-key: add upperdir snippets for strict snaps on livecd (LP: #1729867) [20:08] zyga: also, I saw your comments wrt layouts-- remember, they were conditional in 2.32 provided that per-snap s-u-n profiles are in place [20:28] PR snapd#4751 opened: tests: add support for external backend executions on listing test [20:32] jdstrand: Thanks! [20:35] jdstrand I can, though I think it will be a bit painful [20:35] jdstrand I will look at that though [20:35] jdstrand yes, I remember and I'll ensure there are hardening patches next [20:42] does snapcraft have a way of verifying a source against a gpg signature? [20:43] hm doesn't look like it [20:43] should it? :) [20:44] PR snapcraft#1957 closed: schema: improve the snap name's validator [20:45] PR snapd#4752 opened: tests: make interface-broadcom-asic-control test work on rpi === magicaltrout is now known as jujuuser === jujuuser is now known as magicaltrout === magicaltrout is now known as jujuuser === jujuuser is now known as magicaltrout === magicaltrout is now known as jujuuser === jujuuser is now known as magicaltrout === chihchun_afk is now known as chihchun === ikey is now known as ikey|zzz [21:42] roadmr: hey, would you mind pulling r1007? [21:42] jdstrand: sure! [21:42] roadmr: it isn't particularly time-sensitive [21:42] I don't mind, I mean :) [21:42] cool :) [21:43] jdstrand: ok... we've been in the crapper with rollouts due to all the mitigation madness :( [21:43] I bet [21:59] 1007 is in the queue, I'll finish merging it and QAing it tomorrow [21:59] (due to impending EOD) [22:01] roadmr: thanks! [22:20] does anyone have an example of triggering a jenkins job on a snap publication via webhooks? [23:22] elopio, Chipaca: fyi, that request for a store pull of the review-tools has both your fixes [23:22] ^