/srv/irclogs.ubuntu.com/2022/05/16/#snappy.txt

mborzeckimorning06:15
mupPR snapd#11788 closed: secboot/keymgr: extend unit tests, add helper for identify keyslot used error <Simple 😃> <factory reset 🔌> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11788>06:23
pstolowskimorning07:10
mardypstolowski, mborzecki, hi!07:33
mardymborzecki: that issue with sshfs and getting the current directory, maybe it's not such a corner case. I'm starting to think that this autofs bug hits the same issue https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1784774.07:34
mupBug #1784774: snapd is not autofs aware and fails with nfs home dir <snapd:Fix Released by zyga> <firefox (Ubuntu):Confirmed> <snapd (Ubuntu):Incomplete> <https://launchpad.net/bugs/1784774>07:34
mardyat least the logs provided by Andrew, show that after a snapd restart, NFS is detected and there are no network denials; but still running a snap fails07:35
mardy(and no apparmor denials are reported)07:35
mborzeckimardy: about https://bugs.launchpad.net/snapd/+bug/1973321 it's probably itenntional that the current dir fd is set up early, but maybe it's ok to do it as the user, i.e. switching to real uid/gid before?08:08
mupBug #1973321: snaps dont't start when current working directory is on sshfs <snapd:New> <https://launchpad.net/bugs/1973321>08:08
mardymborzecki: yes. On the other hand, we can move it a bit below, I'm preparing a PR now09:26
mupPR snapd#11792 opened: many: structured startup timings <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/11792>09:49
mardywierd, unless I'm doing something terribly stupid, dropping permissions is not enough (see the commit message): https://github.com/mardy/snapd/commit/7e3a58b5e41f3f64aec54106aa2eeff6d1addcd410:39
mborzeckimardy: and cwd is on a fuse mounted fs?10:45
diddledaniI think I have caught the tests modifications needed now, so hopefully spread will pass https://github.com/snapcore/snapd/pull/1178510:47
mupPR #11785: snap-confine: add WSL2 GPU support to strict confinement <Created by diddledani> <https://github.com/snapcore/snapd/pull/11785>10:47
mardymborzecki: yes10:48
mupPR snapd#11768 closed: o/snapshotstate: add ~/Snap to snapshots <Created by MiguelPires> <Closed by MiguelPires> <https://github.com/snapcore/snapd/pull/11768>11:09
mardymborzecki: bad news, it seems that the FUSE kernel module checks not only for the effective user ID, but also for the real one: https://github.com/torvalds/linux/blob/master/fs/fuse/dir.c#L1223-L124011:31
mardy("uid" is the real one)11:32
mborzeckimardy: heh, so looks like there's no way to get it working11:37
diddledanimborzecki: not from snapd's side, methinks - it requires the right mount option to allow_root11:57
mupPR snapd#11781 closed: o/snapstate: remove deadcode breaking static checks <Simple 😃> <Created by MiguelPires> <Merged by MiguelPires> <https://github.com/snapcore/snapd/pull/11781>12:05
mborzeckididdledani: yeah, mardy was trying to find a way without needing to tweak the mount flags, but it looks like that may be no way around it12:12
diddledani:'(12:13
mardymborzecki, diddledani: I added a comment in https://bugs.launchpad.net/snapd/+bug/1973321, I think there is a way, but it would require quite some changes to snap-confine12:34
mupBug #1973321: snaps dont't start when current working directory is on sshfs <snapd:New> <https://launchpad.net/bugs/1973321>12:34
mborzeckimardy: hm not sure about the caps, we would need to talk to security, caps are too easy to get wrong 🙂 and i think you still need CAP_SYS_ADMIN, but then you wouldn't be able to drop that until the end, would you?12:53
mborzeckior at least not until unshare()12:54
mborzeckiand then CAP_BPF, for a while longer?12:54
mupPR snapd#11771 closed: tests: spread test for uc20 preseeding covering snap prepare-image <Preseeding 🍞> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11771>13:50
mupPR snapd#11733 closed: snap/quota: add values for journal quotas (journal quota 2/n) <Simple 😃> <Created by Meulengracht> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11733>15:51
mupPR snapd#11793 opened: tests: fix auto-refresh-gating test forcing reset-failed before restart <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/11793>17:16

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!