Subject: Re: kern/start_init()/init_main.c doesn't care for /rescue ?
To: None <tech-kern@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 07/09/2004 05:29:41
> BTW right, when i tried to run /sbin/init and it fails due to broken
> libc i got kernel panic.  Would be nice to have a possibility to walk
> through initpathes when init is found but during execution some error
> happens.  Instead of just panic.

The trouble is, that error happens after init has been successfully
started (as far as the kernel machinery is concerned), and thus there
is nothing obvious to distinguish it from a case where everything
starts and chugs along for days and _then_ init dies, in which case a
panic is entirely appropriate.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B