Created attachment 164338 [details] simple patch to fix this issue mountd rc script checks nfs_server_enable and zfs_enable rcvars in it's mountd_precmd(), but it doesn't load their configs by using`load_rc_config nfsd'. So mountd rc script fails to modify it's own rc_flags if nfsd and/or zfs configs are set in rc.conf.d. This problem exists in head and all supported branches. Attached patch fixes this issue by simply adding load_rc_config nfsd and zfs lines, though I'm not sure this is the best way to fix this issues.