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@FreeBSD.org
          Reporter: vlad-f...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to