Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Dec 2015 06:19:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205393] mountd rc.d script doen't load nfsd and zfs configs if set in rc.conf.d
Message-ID:  <bug-205393-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.cesium3@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205393-8>