[Bug 214981] POLA violation: ZFS happily and silently remounts any existing mount on pool import
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Dec 1 14:12:13 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214981
Bug ID: 214981
Summary: POLA violation: ZFS happily and silently remounts any
existing mount on pool import
Product: Base System
Version: 11.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: vlad-fbsd at acheronmedia.com
When importing a pool with mountable datasets, they will always be mounted on
their mountpoints even if those points are already mounted elsewhere. This
includes even root (/).
Of course, unless you zpool import with, say, -R /mnt or -N.
However, the default is a huge violation of POLA, not to mention a huge
security issue. ZFS on Linux, btw, will not remount existing mounts, will error
out and complain.
I believe the defaults should be safe, non-destructive, non-astonishing, which
is not the case here.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list