Re: supervise not running

Daryl Tester <[email protected]>
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
Larry Weldon wrote:

> Yes. In fact I was thus pointed in a new direction. I found a kernel
> option - nopinit - no parallel init - which stops the kernel from
> running the rc scripts in parallel. Thus they run one at a time in
> sequence and you can tell which one(s) don't start.

To be technically accurate, these are init options, not kernel options.
The kernel passes them on to init, which is a regular program, except
that it happens to be the user-land process started.  (I think the kernel
passes on all options it doesn't know about to init, but I'm rusty on
this so don't take it as gospel (which you never should from some random
guy on the Internet anyway)).

> It was interesting to note that when the kernel does not run rc scripts
> in parallel the machine will not boot if a process hangs.

Well, it won't complete booting - it had started.  And that's the
whole crux of serial vs. parallel.

> Thanks to you and concatenate I learned more about how the startup
> works. 

If you're still inclined, have a read of
<http://tldp.org/HOWTO/From-PowerUp-To-Bash-Prompt-HOWTO.html>.
It won't described "modern improvements" like haldaemon, but the
concepts are sound.


-- 
Regards,
  Daryl Tester
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.