[CentOS] question on /etc/defaults

Fri Jan 30 14:26:12 UTC 2009
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

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.

-- 
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

PLEASE don't CC me; I'm already subscribed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20090130/9561b626/attachment-0005.sig>