Messages in this thread | | | Date | Sun, 16 Mar 2008 22:55:34 +0000 | From | Alan Cox <> | Subject | Re: [PATCH 4/5] don't panic if /sbin/init exits or killed |
| |
> Well, I think the generic "if we have a chance to survive, we should try > to survive" rule is good. > > If the boot init dies, at least the admin has a chance to figure out what > has happened, and -o remount,ro /.
A long long time ago someone posted a patch which arranged that if the init process died it got respawned via the same list of process names as happens on boot.
Or for that matter we could catch the dying init and replace it with a kernel side while(1) wait(NULL); so that we at least continue the cleanup.
Alan
| |