From owner-freebsd-current Wed Dec 15 15: 3:25 1999 Delivered-To: freebsd-current@freebsd.org Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id BE55E15602 for ; Wed, 15 Dec 1999 15:02:57 -0800 (PST) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40348>; Thu, 16 Dec 1999 09:54:20 +1100 Content-return: prohibited Date: Thu, 16 Dec 1999 10:02:38 +1100 From: Peter Jeremy Subject: Re: MAKEDEV (Re: Speaking of moving files (Re: make world broken building fortunes ) ) In-reply-to: <12188.945290928@critter.freebsd.dk>; from phk@critter.freebsd.dk on Thu, Dec 16, 1999 at 07:48:48AM +1100 To: Poul-Henning Kamp Cc: current@FreeBSD.ORG Message-Id: <99Dec16.095420est.40348@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0i Content-type: text/plain; charset=us-ascii References: <199912152044.NAA63531@harmony.village.org> <12188.945290928@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 1999-Dec-16 07:48:48 +1100, Poul-Henning Kamp wrote: >And we don't really need YAD when we have init hanging around doing >nothing for its keep anyway... I beg to differ. To quote init(8): The role of init is so critical that if it dies, the system will reboot itself automatically. If, at bootstrap time, the init process cannot be located, the system will panic with the message ``panic: init died (signal %d, exit %d)''. This suggests that init needs to be very robust - which generally translates to `small and well audited'. Non-core functionality (which IMHO includes devd) really belongs in another process. Looking at the development side, it's also painful to debug init - another reason for leaving it alone. >and at the same time I wouldn't mind if init were taught to keep >important programs running, things like sshd, inetd, syslogd and >similar should be restarted if they die. It can do that now. Add the following lines to /etc/ttys: sshd "/usr/local/sbin/sshd" none on inetd "/usr/sbin/inetd -Ww" none on syslogd "/usr/sbin/syslogd" none on (This ability has always been present, but is now documented). Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message