chkconfig missing? and some rc.conf questions/suggestions

joerg at britannica.bec.de joerg at britannica.bec.de
Thu Feb 9 12:40:17 PST 2006


On Thu, Feb 09, 2006 at 03:15:55PM -0500, Bob Bagwill wrote:
> 1) Is there any particular reason DBSD doesn't have a chkconfig script,
> like NetBSD?

. .. which is not installed by default.

> 2) How about having a copy of the relevant /etc/rc.d/foo script in
> /usr/src/usr.sbin/foo/, to keep related code together?

Why do you keeping the few daemons together with the corresponding rc
script is better than keeping the rc scripts together as reflected by
the directory structure? Also keep in mind that not every rc script has
a corresponding daemon.

> 3) Would it be possible to establish some conventions so that rc.conf(5)
> could be generated automatically?

What kind of convention prevents you from that? NetBSD had some
work-in-progress (sushi), but moved it recently out of base. The
interest in maintaining a configuration editor wasn't that big.
Many parts of rc.conf are similiar enough so that shouldn't be such a
big deal.

> 4) How do new entries get in /etc/defaults/rc.conf?

They do get added to src/etc/defaults/rc.conf when a new script is added to
src/etc/rc.d.

> 5) How come it's enable_quotas instead of quotas_enable?

History...

Joerg





More information about the Users mailing list