Gentoo Archives: gentoo-alt

From: Markus Duft <mduft@g.o>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] init.d in prefix.
Date: Thu, 15 May 2008 08:17:07
Message-Id: 005d01c8b663$5a736a70$0f5a3f50$@org
1 Hi
2
3 I just fixed the openssh server for interix (yeehaa), and for the purpose of starting this whole thing without worrying about keys
4 and such, I would have really liked to use the init.d script to fire it up. The init script still would require some
5 eprefixification, but the bigger problem is, that runscript is missing in baselayout-prefix... Are there any thoughts in that
6 direction?
7
8 I can think of three scenarios on how services in prefix _could_ work:
9
10 1) all init.d scripts are run when entering the prefix, thus called by some bashrc script.
11 2) one single command is registered as a service in the host system (called the "prefix-service" or so *lol*), which kicks on all
12 other init.d's from the prefix.
13 3) each service has to be started manually by running the init script.
14
15 Any thoughts about this? What about openrc? I must admit, that I right now have just a very shallow knowledge of all this... still I
16 feel that sooner or later we'll need _some_ facility to run init.d scripts - even if it's manual only.
17
18 A little background on why I'd need this (I could of course do what I want without init scripts, but it would be more painfull): we
19 have an automated setup for new interix machines in our company. Since we use prefix as the "real" system, and interix is just there
20 to give us the very basics while bootstrapping (and the libc), it would be really cool to run sshd from prefix, instead of
21 installing some binary version with closed-source patches applied (urgh...)
22
23 Cheers, Markus
24
25 --
26 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] init.d in prefix. Fabian Groffen <grobian@g.o>
Re: [gentoo-alt] init.d in prefix. Jeremy Olexa <darkside@g.o>