Date: Fri, 28 Jul 2017 08:48:41 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221064] zfs should not shadow mount on root directory from userspace Message-ID: <bug-221064-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221064 Bug ID: 221064 Summary: zfs should not shadow mount on root directory from userspace Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: wheelcomplex@gmail.com Created attachment 184791 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D184791&action= =3Dedit prototype fix for reference In a shell of normal system, when import a zpool with a dataset which has a mountpoint set to "/" or zfs set mountpoint of a exist dataset to "/", this dataset will be mounted to "/". As a result, the original filesystem will be shadowed(can not access). To mount a new root filesystem, reboot -r(reroot) should be used. The attachment is a prototype fix for reference. --=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-221064-8>