Gentoo Archives: gentoo-dev

From: Anton Starikov <antst@×××××××.se>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] couple proposals (xinitrc.d and comatibility with RH-like init)
Date: Fri, 13 Aug 2004 11:45:51
Message-Id: 20040813134545.1ef44a11@hantst.kabel.utwente.nl
In Reply to: Re: [gentoo-dev] couple proposals (xinitrc.d and comatibility with RH-like init) by Paul de Vrieze
1 On Fri, 13 Aug 2004 10:29:54 +0200
2 Paul de Vrieze <pauldv@g.o> wrote:
3
4 > Current gdm and kdm support ${HOME}/.xprofile and /etc/xprofile that
5 > can be used for this. I don't know whether the default xinitrc
6 > supports them, but this is the way to go.
7 Yes, but set of scripts seems to be more flexible (compare sysv init
8 and bsd-like one) And allow to have predefined scripts installed with
9 software.
10 (Compare one huge /etc/profile that each ebuild should change (abstract
11 situation) and currrent env.d in gentoo)
12
13 > > 2) to implement some basic backward compatibility with SysV init
14 > > with RH-like style (/etc/rc.d/rcX.d). Just to add some service
15 > > (script) in gentoo-style for /etc/init.d which will start/stop
16 > > services from/etc/rc.d/rc5.d, for example, when this service
17 > > start/stop. Because some programs(mostly comercial) use it by
18 > > default. Even when you merge Win4Lin from ebuild it still put
19 > > scripts in RH-like init. Of course you can rewrite them. but...it
20 > > seems that ebuild for something like"rhinit-compat" could be better
21 > > solution. In case when you use more than one program that use
22 > > RH-like init, and time to time make update of such programs. You
23 > > will avoid editing of scripts.
24 >
25 > The problem is that they are not really compatible. Using rh-style
26 > init together with gentoo init is a recipe for disaster.
27 >
28
29 Of course they are different. I didn't suggest to make it as standard
30 part of gentoo. But usually it's painless to start rh-like scripts from
31 5th RH runlevel on gentoo default runlevel somewhere after xinetd (or
32 even just before local). so, it can be optional feature. Of course only
33 with very basic support only.
34
35 Anton.
36
37
38 --
39 gentoo-dev@g.o mailing list