Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2017 01:54:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 224353] NFS mounts should count as local in a diskless system.
Message-ID:  <bug-224353-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224353

            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@FreeBSD.org
          Reporter: parakleta@darkreality.org

In a diskless system the root NFS share is loaded before anything (necessar=
ily)
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.

--=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-224353-8>