From nobody Wed Oct 14 09:31:11 2026 X-Original-To: dev-commits-src-all@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 4j4Qtl6vsqz6cY12 for ; Wed, 14 Oct 2026 09:31:11 +0000 (UTC) (envelope-from git@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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4j4Qtl5z7bz4hbJ for ; Wed, 14 Oct 2026 09:31:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791970271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a1buhb5mv6IIvNs+7CUIUkosJU9wIDQZFY6hTL5AH/Q=; b=jJwk2O4seOWRYz355/p1Mvwm/3ufQY7t4gM6l2wdAnhnqhzAJ6PnsH4BCZWibzLWCvniPF x05MC5MX6OYPxQoBFXIolexCpAB5TigS/D4Un/8PV+nhRDo9hZmkZ5pPxGsto9XUMA/0XX RRpMwsM0dKZl32O16GArM4sH0lLbxEqKbFMcgEbKktIj3iIr5OFPfQ9P4witwZX5IdRMbN PfTEvY9TI2ACJ1Cb263JjXFFXrxsz4xlMmK4HFlD5wlRBW3vh7bfQJjogkzo5J0woTyKpA XqDwLelzHSDHU3+yPJvgkWAo85Q0bZz/Ncq9jYZ5yddBjikojxl8xgOMrijcJw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1791970271; b=TIHdYJAMb5Kmq1tX+uUAY5pk79zS4U33cgbP18zfhRWy6mcU+Ym/SpGMMwwy9xQpEVrZfF /XCNffYax+X9dZEeoR6/o/NxSa/oIJuw06Pr68x7kfZHdzRw17Rxv2BZ7r3uecHcRmQHdy uxkSjjBQ6MaoEVhhp+C8mM+0dB5PHupJFyI81zj2w446JK36eOOuF5DOK7xv+q9kTWdeCH /bQHGNQ2HKJ/9I5lTtX4BdBA/MkbE8UGsB1/gvjVqmAQLb9XPiMTm31s3E87sA75d3cDf4 W2mDrFV+aZZbzc0f9taFKrUhhDgO9tZIzVqZDPWsV3AbCv4NlozxqNK2YrmlSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791970271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a1buhb5mv6IIvNs+7CUIUkosJU9wIDQZFY6hTL5AH/Q=; b=NTktyrP97hfcdnftSYEMx0fYLUTSvl59c2boXTFkZECwLkFt2QApzEXoszqTZn1ErbZqzf sMfWqvOTpbNOryU7YfP/CWYYjY/JXwVTYByDamLhp+0B1tSu/A1OUjCwMw9jU8jj5HiYe3 ko6UPPUvi4tYiazh6BQ4ba1/M2WF2Dx+6D8tR3Yu36NvPI5oB2knBem8KhWcFyQF9ACYFf 1o0adjXB/XuWAg6MxXgslP9f1x198tyNBqn4AL6lrsWs3aGs9RxM5M9WOfu2XqDNlil/pl S9AWBcrkHHeGvMuSkkHdRjTZ6k1RwigaNjECeiWd7XS/8TUsFVKTcHxVKff+3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4j4Qtl50FZzx3Q for ; Wed, 14 Oct 2026 09:31:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 25fae by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 14 Oct 2026 09:31:11 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Christos Margiolis Subject: git: 680957e950fc - stable/15 - rc.d/mountd: Do not require /etc/exports List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 680957e950fcdf9724973e725507d4755736a6d8 Auto-Submitted: auto-generated Date: Wed, 14 Oct 2026 09:31:11 +0000 Message-Id: <6acf4bdf.25fae.111ec564@gitrepo.freebsd.org> The branch stable/15 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=680957e950fcdf9724973e725507d4755736a6d8 commit 680957e950fcdf9724973e725507d4755736a6d8 Author: Christos Margiolis AuthorDate: 2026-10-07 16:53:28 +0000 Commit: Christos Margiolis CommitDate: 2026-10-14 09:30:55 +0000 rc.d/mountd: Do not require /etc/exports mountd exits if it cannot read any exports files. Requiring /etc/exports, however, unconditionally stops mountd from starting on a server that exports ZFS datasets only (/etc/zfs/exports). Let sbin/mountd handle requirements itself, instead of hardcoding /etc/exports, which is also wrong, because different files can be specified in mountd_flags. This patch also works with nfsv4_server_enable="YES", by preserving the behavior of failing to start if there is no "V4:" line in the exports file, which is missing by default on ZFS-only exports. MFC after: 1 week Sponsored by: The FreeBSD Foundation Reviewed by: rmacklem, markj, emaste Differential Revision: https://reviews.freebsd.org/D60044 (cherry picked from commit 26203cca52621c215f60640bf59128dcd9780be7) --- libexec/rc/rc.d/mountd | 1 - 1 file changed, 1 deletion(-) diff --git a/libexec/rc/rc.d/mountd b/libexec/rc/rc.d/mountd index dfd2431f9c35..08416d32876a 100755 --- a/libexec/rc/rc.d/mountd +++ b/libexec/rc/rc.d/mountd @@ -13,7 +13,6 @@ desc="Service remote NFS mount requests" rcvar="mountd_enable" command="/usr/sbin/${name}" pidfile="/var/run/${name}.pid" -required_files="/etc/exports" start_precmd="mountd_precmd" extra_commands="reload"