ecryptfs-setup-private fails with ZFS
The obvious approach for using ZFS and ecryptfs together involves creating a dataset like this:
zfs create -o mountpoint=
As a result, /proc/mounts looks like this:
grep -qs "$MOUNTPOINT " /proc/mounts && error "[$MOUNTPOINT]" "$(gettext 'is already mounted')"
This matches the list in /proc/mounts because of the device column ("rpool/
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.