Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 1997 22:09:12 +1000
From:      Giles Lean <giles@nemeton.com.au>
To:        Stephen McKay <syssgm@dtir.qld.gov.au>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: process monitoring tool (like SysV init)? 
Message-ID:  <199705221209.WAA00252@topaz.nemeton.com.au>
In-Reply-To: <199705220518.PAA07067@ogre.dtir.qld.gov.au> 

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 22 May 1997 15:18:18 +1000  Stephen McKay wrote:

> I like the idea of a nanny type program, but can't decide whether it should
> be merged with init, much like System V, or kept separate like inetd.

Keep it separate.  I built it in once, and tossed the code:

- runlevels and monitoring processes aren't the same thing

- complexity is nasty:
	o you keep /etc/ttys
	o you don't keep /etc/ttys
	o people are confused either way

- runlevels
	o you leave them out
	o you put them in (Solaris model)
	o you put them in (HP-UX model
	o you put them in (some other model)
	o people are confused no matter what

- if you do runlevels, where do you store them?
	o 4.4BSD has read only root at single user
	o kernel variable is ugly and inappropriate

Just write a nanny process, call it nanny or spawnd or a.out but
*not* init and get on with life. :-)

Giles



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705221209.WAA00252>