Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Apr 2024 09:56:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        rc@FreeBSD.org
Subject:   [Bug 278169] Rethink /etc/rc.conf.d/ Function.
Message-ID:  <bug-278169-20181-JDyRJlmzqt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278169-20181@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278169-20181@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278169

Slawomir Wojciech Wojtczak <vermaden@interia.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not A Bug
             Status|New                         |Closed

--- Comment #2 from Slawomir Wojciech Wojtczak <vermaden@interia.pl> ---
So ... the only requirement seems to be that file under /etc/rc.conf.d/ dir
needs to have the same name as the name of the service that it intends to
enable/configure.

With 'ASD' file name for 'zfsd' service.

    root@server:~ # echo zfsd_enable=3DYES > /etc/rc.conf.d/ASD
    root@server:~ # service zfsd start
    Cannot 'start' zfsd. Set zfsd_enable to YES in /etc/rc.conf or use
'onestart' instead of 'start'.
    root@server:~ #=20

With 'zfsd file name for 'zfsd' service.

    root@server:~ # echo zfsd_enable=3DYES > /etc/rc.conf.d/zfsd
    root@server:~ # service zfsd start
    Starting zfsd.
    root@server:~ #=20

That should clarify it.

I will close now.

Regards,
vermaden

--=20
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-278169-20181-JDyRJlmzqt>