/etc/init.d in the default $PATH ?

Florin Andrei florin at andrei.myip.org
Mon Jan 29 00:43:03 UTC 2007


Warren Togami wrote:
> Florin Andrei wrote:
>> So, what it the rationale for /etc/init.d not being in the default 
>> $PATH, for root at least?
>>
> 
> /etc/rc.d/init.d/spamassassin
> /usr/bin/spamassassin
> 
> Which should run when you run 'spamassassin'?
> 
> Ambiguity is bad.

Correct.

OTOH, if all files in /etc/init.d would be named init-<service-name> or 
something like that, then the ambiguity would disappear and the 
/etc/init.d could be added to the default $PATH.

-- 
Florin Andrei

http://florin.myip.org/




More information about the fedora-devel-list mailing list