Hi, I tried this over noon and I have some good news. The workaround
seems successful (I did a few reboots, and snaps did not break again).
However, I can imagine this to be a difficult call to make: not
everybody has zfs installed, let alone be /var/lib/snapd be a zfs
dataset (although that actually makes a lot of sense ;-)).
So I only did one action: I added to following mount unit
Description=Mount unit for snapd
- this does not break zfs-mount.service (it will skip the already mounted
- this does not require changes to the mount units for installed snaps nor
- this method uses zfsutil, which IGNORES the 'canmount' property of the zfs
- if /var or /var/lib are zfs datasets as well, this will probably break again
Let me know if you want to test other scenarios or get more info, I'll
set this up in my VM so I can test more easily.
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
snaps appear broken when /var/lib/snapd is a zfs dataset
To manage notifications about this bug go to:
ubuntu-bugs mailing list