=== jamesh__ is now known as jamesh [01:22] PR snapcraft#3004 opened: storeapi: add channel-map endpoint [01:46] PR snapcraft#3003 closed: repo: always use host source lists and remove those found in plugins [03:37] PR snapcraft#3001 closed: repo: type annotations and mypy fixes for base [03:37] PR snapcraft#3002 closed: repo: use functools.lru_cache for dpkg -L queries [05:08] morning [05:34] finally some green in PRs, however the status from travis was not updated for somer PRs even though the actual job was successful [06:07] mvo: hey [06:07] mvo: the LXD PR is green [06:12] mborzecki: nice [06:12] mborzecki: hm, that's strange, I don't see an update [06:12] * mvo is confused [06:26] mvo: hm? try refreshing the page [06:41] PR snapcraft#3005 opened: Change dotnet runtime version from snapcraft.yaml [06:47] good morning [06:47] man it's late today [06:47] zyga: hey [06:49] anything eventful [06:49] I EOD and then worked more and EOD after midnight [06:50] how are you mvo? did you sleep at all? [06:54] * zyga sips coffee and wakes up [06:54] -3 outside, no people [06:58] zyga: hey, I'm good, thank you [07:01] morning [07:06] hey pawel [07:06] pstolowski: do you walk your dog in the morning? [07:06] was it all snowy as well? [07:07] zyga: no, it's cold but sunny [07:08] it was white outside here [07:08] so weird [07:18] mborzecki: hmmm, command foo should run foo without using built-in things, right? [07:18] zyga: built in? [07:19] built into shell [07:19] echo vs /usr/bin/echo or /bin/echo or whatever [07:19] command %q foo works in bash [07:19] er [07:19] command printf %q foo works in bash [07:19] /usr/bin/printf %q foo works in anything [07:19] but command printf %q foo doesn't work in dash [07:19] * zyga re-reads the man page [07:20] oh dash, idk ;) [07:20] it's going for the builtin anyway [07:20] zyga: there's probably some footnote in posix spec that say why it should do that [07:21] ah sorry [07:21] command is not what I think it is [07:21] it just skips functions [07:22] brb [07:41] it passes :DDDD [08:11] I need to watch over Lucy for two hours [08:11] I'll be back later [08:11] sorry [08:13] PR snapd#8385 opened: tests/main/user-session-env: stop the user session before deleting the test-zsh user [08:14] mborzecki: ^^^ I wouldn't mind a review of the above, since it is for a test you wrote [08:14] jamesh: sure [08:18] jamesh: reviewed [08:24] zyga: thanks [08:27] heh, so i added the changes to do an immediate system reboot when install is complete, and the whole process feels much faster now :P [08:32] mborzecki: nothing like reboot to speed up computers ;) [08:33] * zyga has IRC but needs to pay attention to lucy until wife is back [08:34] PR snapd#8386 opened: many: support immediate reboot [08:35] rebooting to recovery feels nice too now [08:36] it will also shave some time off the uc20 test prepare phase [08:36] ehhh Mar 31 07:05:20 mar310653-786350 50-motd-news[3511]: /etc/update-motd.d/50-motd-news: 131: /etc/update-motd.d/50-motd-news: cannot create /var/cache/motd-news: Read-only file system [08:37] that's why google:ubuntu-core-16-64:tests/main/degraded is failing [08:37] why do we even have motd-news.service there? [08:37] mvo: ^^ do you recall why it's included? [08:38] oh and `HTTP/1.0 503 Service Unavailable` when POSTing to https://api.snapcraft.io/v2/snaps/refresh [08:38] pedronis: I think I've covered everything in https://github.com/snapcore/snapd/pull/5822 (user-daemons PR). The intermittent failure was due to an existing test not properly cleaning up. [08:39] PR #5822: wrappers: allow user mode systemd daemons <:birthday:> <β›” Blocked> [08:51] mborzecki: in a meeting right now [09:02] re [09:03] jamesh: thansk, I will review it again tomorrow [09:03] *thanks [09:03] pedronis: thanks [09:03] mborzecki: same bug we had in core18 [09:03] hmmm, let me see the fix there [09:13] PR snapd#8387 opened: store: search v2 tweaks [09:20] eh, fun [09:20] core systems don't have writable /var/lib/systemd [09:20] so they cannot get /var/lib/systemd/linger [09:21] mborzecki: re motd-news.service> no idea, sounds wrong [09:21] mvo: same bug we had in core16, core18 and now core20 [09:21] zyga: uh, what is linger ? [09:21] mvo: it's something we just inherit from ubuntu [09:21] mvo: it's removed in core20 and core18, but not core [09:21] mborzecki: aha, sounds like an oversight then [09:21] mvo: linger is a directory used by systemd to indicate that a user may have session services running while not being logged in [09:22] zyga: I see, we can add it to the writable dirs if it's needed [09:22] mvo: I need it to make test non-racy [09:22] mvo: I think I can cope with test specific workaround but let's keep that option open [09:22] actually the fix in core18 is weird, https://github.com/snapcore/core18/blob/master/hooks/014-set-motd.chroot#L27-L31 [09:22] it removes the services and then update is disabled? [09:22] fwiw, the timers.target.wants/motd-news.timer symlink is left behind in 18 and 20 [09:23] mborzecki: nice [09:23] let's fix it :) [09:23] I think the services should have conditions [09:23] instead of hooks remving them [09:23] it would "scale" better [09:23] and since it's a ubuntu thing IIRC, we should have no problems adding that [09:25] duh [09:25] so update-motd is hooked up to pam? wtf? [09:28] whar? [09:28] how? [09:28] zyga: see pam_motd [09:29] and we are struggling with PATH [09:29] we should just add pam_snapd [09:29] ;D [09:29] more lucy time [09:35] PR core#111 opened: live-build/hooks/motd: disable dynamic motd, disable motd services [09:37] PR core18#149 opened: hooks/motd: cleanup dangling symlink, fix typo [09:40] PR core20#31 opened: hooks/motd: disable dynamic motd, cleanup dangling symlink [09:41] * zyga spawns a test for core workaround and goes back to luck [09:44] PR snapd#8388 opened: cmd/snap,seed: validate full seeds (UC 16/18) [09:45] mvo: ^ [09:46] pedronis: thanks [09:54] ok, core systems now pass [09:54] only centos-7 and amazonlinux with ancient printf [09:54] let's reimplement %q [09:55] My laptop locked up last night, had to hard-reboot. Now no snaps will run [09:55] cannot change profile for the next exec call: No such file or directory [09:55] snap-update-ns failed with code 1: No such file or directory [09:55] Anyone seen that before? [09:56] popey: I would help but check my Twitter [09:56] i would check your twitter but I can't open my browser [09:56] Maybe nothing mounted [09:57] Maybe partial dpkg update? [09:58] can you get root [09:58] i can [09:58] no dpkg in flight, i see squashfs files mounted [09:58] Can you dpkg β€”configure -a [09:58] Can you snap list? [09:58] noting [09:58] *nothing [09:59] https://paste.ubuntu.com/p/MPDMzTvDNy/ [09:59] Snaps not broken ok [09:59] Can you snap changes? [09:59] Anything in flight? [09:59] https://paste.ubuntu.com/p/JNkKSHBGqn/ [09:59] nope [10:00] Can you snap run something? [10:00] cannot change profile for the next exec call: No such file or directory [10:00] snap-update-ns failed with code 1: File exists [10:01] Can you systemctl status apparmor.service [10:01] pstolowski: some comments to #8387 [10:01] PR #8387: store: search v2 tweaks [10:02] https://paste.ubuntu.com/p/mTqRsQJMKY/ [10:02] pedronis: ty [10:02] Can you as-status please? [10:02] (Tying form memory, hope that is the one) [10:04] i dont think that's it [10:04] hmm snapcraft segfault? [10:05] mborzecki: help, afk, help popey list loaded aa profiles please [10:05] popey: sudo aa-status [10:05] https://paste.ubuntu.com/p/7WD8FCFdRJ/ [10:06] popey: does the revision of core in that output match what the current points to on your system? [10:07] And is the list of snaps the same as those you see in that output? [10:07] yes [10:07] that's not a long list of snaps [10:07] Ok [10:08] snap list shows me 88 snaps [10:08] Can you SNAP_CONFINE_DEBUG=yes snap run something please [10:09] PR snapd#8332 closed: gadget: SystemDefaults helper for FilesystemOnlyApply (2/N) [10:09] https://paste.ubuntu.com/p/yJjr8NRzZM/ [10:10] Inspecting... [10:11] So, snap-update-ns.null is absent [10:11] Can you look at /var/lib/snapd/apparmor/profiles [10:12] Is it there? [10:12] yes, lots in there [10:12] And that list is larger than aa-status, right? [10:12] yes [10:13] Can you look at journal log of apparmor.service [10:13] I wonder if apparmor loaded stuff [10:14] At the same time snapd rewrote profiles [10:14] To fix tour machine please restart apparmor.service [10:14] * popey tries that [10:14] Sorry for the silly typos from phone correction [10:14] aa-status is much longer now [10:15] Check if that makes null work [10:15] i can run snaps [10:15] Look through timeline [10:15] give your baby a hug from me [10:15] Of startup uf [10:15] Apparmor servir [10:15] Apparmor service [10:15] And snapd service [10:15] Maybe we are racing? [10:15] If they overlap that is a bug [10:15] And thank you for reporting [10:15] :D [10:16] a bug in snapd or apparmor? [10:16] She is hugging me constantly now (sleeping) [10:16] In our units [10:16] We may need after= [10:16] So please check the time stamps carefully [10:16] Also [10:16] mborzecki: I started reviewing your immediate reboot PR but need to go have lunch first [10:16] Time stamps on those files in /v/l/a/profiles [10:17] pedronis: ok, enjoy your lunch :) [10:19] * pstolowski lunch & errand [10:21] ehh the core build process :/ [10:32] it passes on centos [10:33] running final check on amazon [10:43] liberated :) [10:48] we should fix 20 images [10:48] GDM is running [10:48] I bet that's not free [10:48] mvo: ^ [10:48] ubuntu-20.04-64 has GDM running [10:52] zyga: uh, nice find [10:52] zyga: let's talk to sergio about this [10:58] we know about this [10:58] just reminding because it affects a test [10:58] it's pulled in by evolution-data-server [11:01] mvo: I'll talk to him today [11:20] mborzecki: I did a pass [11:20] pedronis: thanks, let me check the comments [11:20] mborzecki: it looks good, mostly comments on details [11:47] hey folks [11:50] hey ijohnson [11:51] hey ian :) [11:52] hey zyga pstolowski [11:52] how's it going ? [11:53] good [11:53] making progress today [11:55] nice, my internet kept cutting out for a couple minutes at a time yesterday, so I'm hoping today it's more stable [12:04] pstolowski: please take another look at #8376 [12:04] PR #8376: daemon: make POST /v2/systems/