The problem is this becomes quite breakable when snaps get updated and
all. The mount units are specific to a snap version.

I was thinking of the following workaround (to test the basic
principle). I could create a mount unit for /var/lib/snapd. That should
tick all boxes: it should be taken into account by systemd in the mount
hierarchy, it just needs the root filesystem to work (in my case) and
that is mounted in the initrd, it should not break zfs-mount.service,
and the mount command provides zfs compatibility via zfsutil.

Still a manual workaround if it works, but nevertheless quite manageable
indeed, and it has to be done only once.

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

Reply via email to