Public bug reported:

I can't be 100% sure about this, but I think anytime I have zsys
installed and reboot, my user's dataset has its canmount property set to
noauto.

That property is set to off in the parent dataset USERDATA:
$ zfs get canmount,mounted,mountpoint rpool/USERDATA
NAME            PROPERTY    VALUE       SOURCE
rpool/USERDATA  canmount    off         local
rpool/USERDATA  mounted     no          -
rpool/USERDATA  mountpoint  /           local

In mine, it's on:
$ zfs get canmount,mounted,mountpoint rpool/USERDATA/andreas_xk451a
NAME                           PROPERTY    VALUE          SOURCE
rpool/USERDATA/andreas_xk451a  canmount    on             local
rpool/USERDATA/andreas_xk451a  mounted     yes            -
rpool/USERDATA/andreas_xk451a  mountpoint  /home/andreas  local

I then install zsys 0.2.2:
Get:1 http://br.archive.ubuntu.com/ubuntu eoan/universe amd64 zsys amd64 0.2.2 
[1.303 kB]

And reboot.

When I login again, my home is gone, because the andreas_xk451a dataset
is not mounted. Running zfs get again confirms that the canmount
property changed back to noauto.

NAME                           PROPERTY    VALUE          SOURCE
rpool/USERDATA/andreas_xk451a  canmount    noauto         local
rpool/USERDATA/andreas_xk451a  mounted     no             -
rpool/USERDATA/andreas_xk451a  mountpoint  /home/andreas  local

NAME            PROPERTY    VALUE       SOURCE
rpool/USERDATA  canmount    off         local
rpool/USERDATA  mounted     no          -
rpool/USERDATA  mountpoint  /           local

Since "noauto" isn't even the parent's setting, and the SOURCE of the
property is marked as "local", something is doing it on purpose. My
guess it's zsys, because after I remove it, this behavior stops.

** Affects: zsys (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  canmount property switches to noauto in user's home dataset

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to