Date: Thu, 22 Nov 2001 20:51:58 -0500 From: "Kutulu" <kutulu@kutulu.org> To: "Ron Hensley" <ronh@intercom.net>, "free bsd" <freebsd-questions@FreeBSD.ORG> Subject: Re: Problems with Bind. Message-ID: <05c001c173c1$726c5830$88682518@longhill1.md.home.com> References: <016c01c17395$bb6b0940$a50410ac@olmct.net> <025f01c17398$ca2721f0$090ea8c0@vhds001> <002d01c1739c$be293ab0$0273150a@woodstock.lanalyse.com> <055301c173a5$39e7dfa0$88682518@longhill1.md.home.com> <001601c173a8$c3b985a0$0273150a@woodstock.lanalyse.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_05BC_01C17397.86D904F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit From: "Ron Hensley" <ronh@intercom.net> To: "Kutulu" <kutulu@kutulu.org>; "free bsd" <freebsd-questions@FreeBSD.ORG> Sent: Thursday, November 22, 2001 5:55 PM Subject: Re: Problems with Bind. > Then why in /etc/rc does it say this? > (Appears to me if /etc/defaults/rc.conf exists, which it does, then it is > parsed to find the value > of the variables used in the /etc/rc.* files, and the /etc/rc.conf is never > looked at. > > # If there is a global system configuration file, suck it in. > # > if [ -r /etc/defaults/rc.conf ]; then > . /etc/defaults/rc.conf > source_rc_confs > elif [ -r /etc/rc.conf ]; then > . /etc/rc.conf > fi The key here is source_rc_confs, which is set up by /etc/defaults/rc.conf to source /etc/rc.conf and /etc/rc.conf.local. The way the rc system is supposed to work, /etc/defaults/rc.conf contains only *system default* values. All of those are loaded first. Then you set only those values that need to be overridden in the rc.conf and rc.conf.local files. The benefits of this are many, but two of the biggest are that you will not lose your customizations if an upgrade changes the defaults file, and you can share the defaults files across multiple systems but maintain local customizations. And, if you look in /etc/defaults/rc.conf, it tells you this itself: # This is rc.conf - a file full of useful variables that you can set # to change the default startup behavior of your system. You should # not edit this file! Put any overrides into one of the ${rc_conf_files} # instead and you will be able to update these defaults later without # spamming your local configuration information. --K ------=_NextPart_000_05BC_01C17397.86D904F0 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII3jCCAnww ggHloAMCAQICAwW08DANBgkqhkiG9w0BAQIFADCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdl c3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsT FENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAw MC44LjMwMB4XDTAxMDkyMjE0MDAxOFoXDTAyMDkyMjE0MDAxOFowQzEfMB0GA1UEAxMWVGhhd3Rl IEZyZWVtYWlsIE1lbWJlcjEgMB4GCSqGSIb3DQEJARYRa3V0dWx1QGt1dHVsdS5vcmcwgZ8wDQYJ KoZIhvcNAQEBBQADgY0AMIGJAoGBALuDdLgCHJxCJguCs8IK+K4Fic2MZAbW1CVoIPV1qU/ez9TI z5Yv4XRDskBUZxFogDSDdYPEGCbNB8Tp7TjwD+n2zAuIuapRMySbs7zQYef/fBd01rqRBmi/A9/v bPOuKHqOAvbMqWMH2D9hjCH2d3R8cJIoCglhEtyyxm9rOee5AgMBAAGjLjAsMBwGA1UdEQQVMBOB EWt1dHVsdUBrdXR1bHUub3JnMAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQECBQADgYEAlJ1wNCdT DYnUEQV9rBeSbJ8lJ1yxSHxwosdb8UzkD3H6AfRJBQQQ/qAIWh9ODW2UjMH5el3RgaZAbPUheG56 bPcKEdb+pGInFz8Rf0Baent6D3OLrvVT1wrJ+qeYuf61DHIAuorD/ZFeN8v3wLtyuuHRkPZmn/1b JgLc4S2qImIwggMpMIICkqADAgECAgEMMA0GCSqGSIb3DQEBBAUAM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1RhGvk+NHOd6KBMYIB/jCCAfoCAQEwgZow gZIxCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93 bjEPMA0GA1UEChMGVGhhd3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UE AxMfUGVyc29uYWwgRnJlZW1haWwgUlNBIDIwMDAuOC4zMAIDBbTwMAkGBSsOAwIaBQCggbowGAYJ KoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDExMTIzMDE1MTU4WjAjBgkq hkiG9w0BCQQxFgQU8BL4/3qP8oemwOTovGTSM3eO3iowWwYJKoZIhvcNAQkPMU4wTDAKBggqhkiG 9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwIC ASgwBwYFKw4DAh0wDQYJKoZIhvcNAQEBBQAEgYCG3+lFELCKkR7TF+Uv/SPbb5e5ZgRiahdmKnDR Ho6mb58UYNSsVo9pmJ5AApQ9oKTWkld9756IcAdq1Vf6u587fLHiH61t4W0hd84OjYvtQdZ0CO6Q d3Ug89uOmx7C+79NBttM4fwlN+QnDaMRe+syAqSiRrizlwZsPkzKinreCQAAAAAAAA== ------=_NextPart_000_05BC_01C17397.86D904F0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05c001c173c1$726c5830$88682518>