Ok, that makes a lot of sense. snap-confine needs to be update to work
on nfs (eg, add 'network inet, network inet6,'. Based on
'name="/home/r/"' it looks like you are still using the
'@{HOMEDIRS}+=/home/u/' change to the home tunable (or perhaps you
didn't reload snap-confine's profile after changing it)?
Robert, can you:
1. adjust the tunable to have: @{HOMEDIRS}+=/home/*/
2. adjust /etc/apparmor.d/usr.lib.snapd.snap-confine to have: #include
<abstractions/nameservice>
3. reload the snap-confine profile with:
sudo apparmor_parser -r /etc/apparmor.d/usr.lib.snapd.snap-confine
I suspect you may need to also add to
/etc/apparmor.d/usr.lib.snapd.snap-confine:
#include <abstractions/base>
Once you do the above, can you report back? I suspect that any snaps
that don't 'plugs: [ network ]' will fail to work for the same reasons
as snap-confine. Eg, hello-world will fail, but vlc will not.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1662552
Title:
snaps don't work with NFS home /home/u/user.name
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1662552/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs