[Bug 221064] zfs should not shadow mount on root directory from userspace

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 28 08:48:41 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221064

            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 at FreeBSD.org
          Reporter: wheelcomplex at gmail.com

Created attachment 184791
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184791&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list