Files
freebsd/libexec
Christos Margiolis 26203cca52 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
2026-10-07 18:53:28 +02:00
..
2026-05-25 18:52:15 +02:00
…
2026-05-22 19:57:35 +02:00
2026-03-29 16:13:09 +00:00