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
Hi

I just fixed the openssh server for interix (yeehaa), and for the purpose of starting this whole thing without worrying about keys
and such, I would have really liked to use the init.d script to fire it up. The init script still would require some
eprefixification, but the bigger problem is, that runscript is missing in baselayout-prefix... Are there any thoughts in that
direction?

I can think of three scenarios on how services in prefix _could_ work:

1) all init.d scripts are run when entering the prefix, thus called by some bashrc script.
2) one single command is registered as a service in the host system (called the "prefix-service" or so *lol*), which kicks on all
other init.d's from the prefix.
3) each service has to be started manually by running the init script.

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
feel that sooner or later we'll need _some_ facility to run init.d scripts - even if it's manual only.

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
have an automated setup for new interix machines in our company. Since we use prefix as the "real" system, and interix is just there
to give us the very basics while bootstrapping (and the libc), it would be really cool to run sshd from prefix, instead of
installing some binary version with closed-source patches applied (urgh...)

Cheers, Markus

-- 
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>