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

            Bug ID: 224353
           Summary: NFS mounts should count as local in a diskless system.
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: [email protected]
          Reporter: [email protected]

In a diskless system the root NFS share is loaded before anything (necessarily)
and then the `rc.initdiskless` script runs to set up memory filesystems, but
there is no way to load any other NFS shares before "FILESYSTEMS" and this
causes problems if you want a read-only root and a second read/write share
mounted somewhere else.

I propose that in the case of a diskless system, NFS filesystems should be
counted as local and not remote, and so handled by `mountcritlocal`.  This can
simply be managed by removing "nfs:NFS" from the "netfs_types" variable if the
`vfs.nfs.diskless_valid` sysctl is set and non-zero.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to