[Bug 254282] 13.0-RC2: NFS export from nullfs mount doesn't work as of 13.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 15 Nov 2021 00:13:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254282

Rick Macklem <rmacklem@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Assignee|fs@FreeBSD.org              |rmacklem@FreeBSD.org

--- Comment #8 from Rick Macklem <rmacklem@FreeBSD.org> ---
Created attachment 229500
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229500&action=edit
make mountd start after mountlate

I think this patch to the /etc/rc.d scripts (applied when
in the root directory) will fix the problem.
--> The nullfs mount(s) need the "late" option.
--> Without this patch, mountd starts before mountlate happens,
    so the exports get applied to the underlying file system and
    not the nullfs mount.

This patch forces mountd to be started after mountlate.

Unfortunately, I am not sure if it safe to start lockd before
nfsd.  The only obvious reason is to make sure the nfscommon.ko
must be loaded before lockd starts, so I have added this to the
lockd script.

Hopefully the reporter can test this patch.

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