Re: rc.d scripts not honoring rc_conf_files setting in /etc/rc.conf?
In /etc/rc.conf, all I have is: rc_conf_files="/etc/rc.conf /etc/rc.conf.default /etc/rc.conf.local" You cannot tweak the variable "rc_conf_files" in your /etc/rc.conf or whatever files except /etc/defaults/rc.conf. Please be sure that the variable should be used before loading /etc/rc.conf (and all files listed in the variable.) As others said, use /etc/rc.conf as default and /etc/rc.conf.local as local options, and you'll be happy with it. -- Makoto `MAR' Matsushita ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: rc.d scripts not honoring rc_conf_files setting in /etc/rc.conf?
- Original Message - From: "Peter Losher" Testing out decentralizing rc.conf and breaking it out into two components on a 6.2-RELEASE system: /etc/rc.conf.default - Settings that are standard across all systems (daemons, etc) /etc/rc.conf.local - Settings that are local to the system (network settings, etc) ... Why not use rc.conf for your "defaults" and rc.conf.local for your local and then all is good? Steve This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rc.d scripts not honoring rc_conf_files setting in /etc/rc.conf?
Hi, Testing out decentralizing rc.conf and breaking it out into two components on a 6.2-RELEASE system: /etc/rc.conf.default- Settings that are standard across all systems (daemons, etc) /etc/rc.conf.local - Settings that are local to the system (network settings, etc) In /etc/rc.conf, all I have is: rc_conf_files="/etc/rc.conf /etc/rc.conf.default /etc/rc.conf.local" Which I took as "read in these rc.conf files in descending order to populate your variables" When I restarted the system, my rc.d (ntpd, openssh) scripts which were looking for rc.conf variables in /etc/rc.conf.default failed to read in that file. It wasn't until I added /etc/rc.conf.default to rc_conf_files in /etc/defaults/rc.conf was it able to read in that file at boottime and in this case start the daemon(s). Is this how it's supposed to work? (I suspect not if I have to hack /etc/default/rc.conf) If not, can it be fixed? (or if I am assuming incorrectly, can someone enlighten me on how it should work?) :) Thanks - Peter -- [ http://www.plosh.net/ ] - "Earth Halted: Please reboot to continue" ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"