https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205393

            Bug ID: 205393
           Summary: mountd rc.d script doen't load nfsd and zfs configs if
                    set in rc.conf.d
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: oi4io5me.cesi...@gmail.com

Created attachment 164338
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=164338&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to