Gentoo Archives: gentoo-dev

From: Avi Schwartz <avi@×××××××××××××××.com>
To: Gentoo Dev <gentoo-dev@g.o>
Subject: [gentoo-dev] Handling of rc?.d directories
Date: Mon, 11 Feb 2002 11:18:34
Message-Id: 7000000.1013447824@seahorse
1 I am not sure if this is a subject for the user or the developer list, but
2 I have a feeling it should be here.
3
4 Gentoo is different then many other distributions in the fact that it does
5 not use the /etc/inuit.d/arc[0-6].d/ directories for the initialization
6 scripts. Normally it is not a problem, but today I did encounter an issue
7 with this fact. While installing on my machine, it insisted on installing
8 scripts in the arc?.d directories. I had to create these directories for
9 it to complete the installation. I am sure this is not the only program
10 that attempts to install scripts in these directories (as a matter of fact
11 I know of other two that will do so).
12
13 What is the long term solution to this? Is the only way to handle it is to
14 create these fake directories and then convert the startup/shutdown scripts
15 to the Gentoo standard with the start() and stop() functions and install
16 them in one of the run sub-directories using arc-update?
17
18 BTW, I checked the LSB 1.1 to see what they say about initialization
19 scripts, but from a quick glance, I didn't see them requiring the
20 /etc/init.d/rc?.d directory structure.
21
22 Avi
23 --
24 Avi Schwartz
25 avi@×××××××××××××××.com
26
27 "I have to share the credit. I invented it, but Bill made it
28 famous." - IBM engineer Dave Bradley describing the
29 control-alt-delete reboot sequence

Replies

Subject Author
Re: [gentoo-dev] Handling of rc?.d directories "Chad M. Huneycutt" <chadh@×××××××××.edu>