[COLUG] /usr/local/etc/rc.d/init.d - Huh?
tomjhanlon at earthlink.net
tomjhanlon at earthlink.net
Thu Jan 11 18:21:16 EST 2007
-----Original Message-----
>From: Jim <jep200404 at columbus.rr.com>
>Sent: Jan 11, 2007 7:50 AM
>To: Central OH Linux User Group <colug432 at colug.net>
>Subject: Re: [COLUG] /usr/local/etc/rc.d/init.d - Huh?
>
>Tom Hanlon wrote:
>
>> I think [/usr/local/...] is a mistake...
>
>_How_ or _why_ is it a mistake to follow FHS?
Is it following FHS ??
http://www.openaddict.com/documents/Linux-Filesystem-Hierarchy/etc.html
>From here I see the following...
>snip<
All scripts executed by the init system are located in /etc/init.d.
The directories /etc/rc?.d (? = S, 0 .. 6) contain relative links to
those scripts. These links are named S<2-digit-number><
original-name> or K<2-digit-number><original-name>.
>snip<
Everything else that the build creates belongs in /usr/local
The startup script I would argue belongs in /etc/ .
I picture that part of the script that builds this package takes a file hierarchy and appends "PATH" (usr/local) to it.
That should be appended to everythiing but the init script. I see this as an easy mistake to make.
Isn't the rule something like...
"Never attribute to malice that which can be explained as incompetence "
It JUST LOOKS like a simple mistake to me. Then again perhaps I have become less inquisitive over the years ;-)
--
Tom
>
>Mike might already agree with you, but wants understanding
>of how or why that is so, especially since
>section 4.8.2.1. of version 2.3 of the FHS
>(http://www.pathname.com/fhs/pub/fhs-2.3.pdf)
>says that /usr/local/... is the _right_ place.
>
>_______________________________________________
>colug432 mailing list colug432 at colug.net
>http://www.colug.net/mailman/listinfo/colug432
More information about the colug432
mailing list