Gentoo Archives: gentoo-dev

From: "Chad M. Huneycutt" <chadh@×××××××××.edu>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Handling of rc?.d directories
Date: Tue, 12 Feb 2002 21:56:31
Message-Id: 3C69E392.60607@cc.gatech.edu
In Reply to: [gentoo-dev] Handling of rc?.d directories by Avi Schwartz
1 Avi Schwartz wrote:
2 > Gentoo is different then many other distributions in the fact that it
3 > does not use the /etc/inuit.d/arc[0-6].d/ directories for the
4 > initialization scripts. Normally it is not a problem, but today I did
5 > encounter an issue with this fact. While installing on my machine, it
6 > insisted on installing scripts in the arc?.d directories. I had to
7 > create these directories for it to complete the installation. I am sure
8 > this is not the only program that attempts to install scripts in these
9 > directories (as a matter of fact I know of other two that will do so).
10 >
11 > What is the long term solution to this? Is the only way to handle it is
12 > to create these fake directories and then convert the startup/shutdown
13 > scripts to the Gentoo standard with the start() and stop() functions and
14 > install them in one of the run sub-directories using arc-update?
15
16 If you are installing with an ebuild, this is a nonissue. Let the
17 installer install the scripts wherever it wants to -- in the sandbox. Then
18 you can move them to the Gentoo-specific places after the installer is
19 through. Finally, portage will merge the installed package into your file
20 system.
21
22 --
23 Chad Huneycutt try { Windows }
24 Ph.D. Student catch ( Exception BSOD )
25 Georgia Tech College of Computing { linux };
26 http://www.cc.gatech.edu/~chadh