/srv/irclogs.ubuntu.com/2022/04/12/#snappy.txt

mborzeckimorning05:48
pstolowskimorning07:05
mupPR snapd#11647 closed: interfaces/hardware_observe: add read access for various devices <Created by jocado> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11647>09:51
mardymborzecki: hi! I'm afraid I need your help again to debug a mount namespace propagation issue :-)10:07
mborzeckimardy: what's up?10:08
mardyI manually create a mount namespace using shell commands, and it works fine (the snap app reuses the namespace, and works properly)10:08
mardythen I install a content snap, and connect it; and here things don't work anymore10:09
mardyhere is the host: https://paste.ubuntu.com/p/2cJ2bk7fFC/10:09
mardyyou see that /snap/test-snapd-content-slot/x1 is properly mounted10:09
mardybut inside the snap, this mount is not visible: here's the snap namespace: https://paste.ubuntu.com/p/hjRPbdVqgg/10:10
mardymborzecki: yet I think I did do everything correctly, /snap is mounted as slave, so I should see the new snap revisions being installed, shouldn't I?10:11
mborzeckilooking10:15
mardyno hurry - I'm actually going to lunch :-)10:17
mupPR snapd#11615 closed: interfaces/system-packages-doc: allow read-only access to /usr/share/xubuntu-docs (LP: #1967109) <Squash-merge> <Created by oSoMoN> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11615>10:32
mardymborzecki: I thought that the "private" flag could be a problem, but then I see it also in the namespaces created by the unmodified snapd11:38
mborzeckimardy: private is expected, we dont' want our snap local changes to affect the host11:49
mborzeckimardy: you're saying that when you connect the interface, that fact is not reflected in a corresponding change in the mount ns, right?11:51
mardymborzecki: exactly; or even if I manually do `mkdir -p /snap/test-snapd-content-slot/x3 && mount /snap/test-snapd-content-slot/{x1,x3}` from the host, inside the snap I only see x3 as an empty mount point12:27
mardy"inside the snap" = "nsenter -m/run/snapd/ns/mysnap.mnt"12:28
mupPR snapd#11669 opened: cmd/snap: add check switch for snap debug state <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/11669>13:22
mupPR snapcraft#3683 closed: commands: add snap command <Created by cmatsuoka> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3683>18:22

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