[Bug 224353] NFS mounts should count as local in a diskless system.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 15 01:54:04 UTC 2017
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: freebsd-bugs at FreeBSD.org
Reporter: parakleta at darkreality.org
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.
More information about the freebsd-bugs
mailing list