Public bug reported:
The obvious approach for using ZFS and ecryptfs together involves creating a
dataset like this:
zfs create -o mountpoint=/home/.ecryptfs/USER rpool/home/USER
As a result, /proc/mounts looks like this:
rpool/home/USER /home/.ecryptfs/USER zfs rw,xattr 0 0
ecryptfs-setup-private checks for existing mount points:
grep -qs "$MOUNTPOINT " /proc/mounts && error "[$MOUNTPOINT]" "$(gettext 'is
already mounted')"
This matches the list in /proc/mounts because of the device column
("rpool/home/USER").
Adding a space before $MOUNTPOINT in the grep (just like the space after
it) solves this problem and shouldn't impact the intended purpose of the
check.
** Affects: ecryptfs-utils (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/1574174
Title:
ecryptfs-setup-private fails with ZFS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/1574174/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs