Page 1 of 1

rc versus openrc questions

Posted: Thu Aug 13, 2020 2:13 am
by daylight
i am working on wrapping my understanding around how openrc affects operations in GhostBSD. some entries in /etc/rc.conf do not seem to have any affect. for example - an explicit webcamd_enable="NO" in /etc/rc.conf does not block the webcam, it still shows up in rc-status as being active after reboot, but rc-update delete webcamd does turn it off.

it almost seems as if the controlling mechanism is database driven and not file driven as in freebsd, is that correct? i have not found any docs that actually explain the functional concepts involved. if it is file driven where is the control file, if db driven, is it sqllite as in the package system?

can anyone point me towards docs that fully explain how openrc works? thanks in advance.....

Re: rc versus openrc questions

Posted: Thu Aug 13, 2020 5:00 am
by ouaille_aime_scier_
Hello daylight,

Indeed, GhostBSD is a little different from FreeBSD especially for the init system. The daemonized services are started with openRC and not via the rc.conf file as in FreeBSD.
This rc file still allows you to initialize drivers or functionnalities for your hardware.

Re: rc versus openrc questions

Posted: Fri Aug 14, 2020 8:57 pm
by daylight
to answer my own question, openrc is symlink driven by entries in the /etc/runlevels/xxx directories