Date: Thu, 01 Dec 2016 14:12:12 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 214981] POLA violation: ZFS happily and silently remounts any existing mount on pool import Message-ID: <bug-214981-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214981 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-fbsd@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 e= rror out and complain. I believe the defaults should be safe, non-destructive, non-astonishing, wh= ich is not the case here. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214981-8>