From nobody Tue Jun 22 01:58:20 2021 X-Original-To: fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5C5DA5D5AAC for ; Tue, 22 Jun 2021 01:58:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G88gc25mkz4V1Z for ; Tue, 22 Jun 2021 01:58:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 275E01E7 for ; Tue, 22 Jun 2021 01:58:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 15M1wK1Y021448 for ; Tue, 22 Jun 2021 01:58:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15M1wK7m021447 for fs@FreeBSD.org; Tue, 22 Jun 2021 01:58:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 254282] 13.0-RC2: NFS export from nullfs mount doesn't work as of 13.0 Date: Tue, 22 Jun 2021 01:58:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254282 Rick Macklem changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rmacklem@FreeBSD.org --- Comment #2 from Rick Macklem --- The problem is your specification of "late" on the nullfs mount lines. If you look in /etc/rc.d, you'll find "statd" requires "nfsd", which requires "mountd". However, it specifies BEFORE DAEMON. "mountlate" requires DAEMON. --> As such, mountd is executed before mountlate, which is what mounts the "late" file systems. To fix this, you could: - Drop "late" from the /etc/fstab lines, if you don't need to mount them "late". or - If you don't run rpc.statd and rpc.lockd, you could remove DAEMON from "statd" and "lockd" and then add "mountlate" to the REQUIRES line in "mountd". I don't know why this worked for FreeBSD-12, but I suspect that some DAEMON related dependency was added to the scripts (ie. they were broken). - Although rpc.statd and rpc.lockd are NFSv3 related protocols I avoid using, they need to be running before nfsd (for server side locking) and NFS mounts are done for client side locking, if you are using them. I can't think of a way to fix this so that mountd can start after "mountlate" and still work correctly, for those who are using rpc.statd, rpc.lockd. --=20 You are receiving this mail because: You are the assignee for the bug.=