[Bug 278169] Rethink /etc/rc.conf.d/ Function.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Apr 2024 09:56:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278169
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=YES > /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:~ #
With 'zfsd file name for 'zfsd' service.
root@server:~ # echo zfsd_enable=YES > /etc/rc.conf.d/zfsd
root@server:~ # service zfsd start
Starting zfsd.
root@server:~ #
That should clarify it.
I will close now.
Regards,
vermaden
--
You are receiving this mail because:
You are the assignee for the bug.