I am using AFS, similar to kerberized NFS, for user home directories,
and snap misbehave/fail to work property here as well.

I'm running more into issues with refreshing snaps and removing snaps.

With home dirs set to the /afs/[cell]/usr and when removing a snap, it
wants to walk every user (all 10 thousand) home directories to try to
clean up home directories and then fails to remove or refresh the snap
when it's denied access and fails.  As far as I can tell, there's no
command line switch or system config option to disable walking of home
directories.

Snapd or the snap command as root should NOT walk network home
directories and clean them up. This should be the task of the user's
snap daemon when launched to perform cleanup actions after the fact.
Realizing howeer, that owuld probably be really hard with networked home
directories where many other systems could be sharing the same snap
directory with various snaps and versions installed in the fleet.

OR, if there is a way to point non-persistent data that is cache or
runtime stored in a tmpfs elsewhere on the system, and only storing user
specific data only stored in users' home directories.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884299

Title:
  Snaps don't run with NFS home on AutoFS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1884299/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to