On Tue, Oct 21, 2003 at 05:08:11AM +0200, 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?)
Of course there is a major violation already in Debian. See pcmcia-cs init script: /etc/init.d/pcmcia It returns before it finish initialization. In slow ISA system, I had problem and root cause was this :-) Osamu