Re: faster boot
On Tue, 21 Oct 2003 13:08, Thomas Hood wrote:
> On Tue, 2003-10-21 at 02:44, Russell Coker wrote:
> > Surely if a daemon takes a long time before it detaches from it's
> > terminal and "goes daemon", then you can have a parent process put it in
> > the background and direct it's output to some convenient log file.
>
> System V initscripts must not return until the services they start
> are ready to use. Otherwise running initscript Y after initscript
> X from /etc/rc?.d/ doesn't guarantee that Y can make use of X.
> Providing such guarantees is the whole point of the system. (Or
> have I somehow missed your point?)
Good point, I hadn't thought about that enough.
Hmm, maybe we could make it the rule that anything with number 99 can return
before it's finished initialising?
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
Reply to: