[CentOS] question on /etc/defaults

Fri Jan 30 14:52:07 UTC 2009
Robert Moskowitz <rgm at htt-consult.com>

Ignacio Vazquez-Abrams wrote:
> On Fri, 2009-01-30 at 09:12 -0500, Robert Moskowitz wrote:
>   
>> Anyway for any kernel prior to 2.6.27, I have to run the hip code in 
>> userspace, not kernel space.  This is due to the ESP BEET patch.  There 
>> is a specific hipd for userspace, but the hipfw requires a different 
>> option.  For a while, everytime I would get a new rpm, I would have to 
>> modify /etc/init.d/hipfw to add this to OPTIONS.  Then we added support 
>> for /etc/defaults/hipfw to have the OPTIONS.  Worked just fine in ubuntu 
>> so he released it.  And things stopped working for me in Centos.
>>
>> After some fiddling, I finally figured out that /etc/defaults/hipfw was 
>> NOT being processed for its one line:  OPTIONS=   This is exactly the 
>> same line that is in the /etc/init.d/hipfw, but with the added value.
>>     
>
> CentOS uses /etc/sysconfig, and you have to source the file manually.

I am aware of /etc/sysconfig, but there are two files in /etc/default:  
nss and adduser, so I **THOUGHT** that Centos might be using it too.

I will try testing with the file in /etc/sysconfig.