Re: [PATCH 4/5] don't panic if /sbin/init exits or killed

From: H. Peter Anvin
Date: Sat Mar 29 2008 - 01:50:55 EST


Oleg Nesterov wrote:
If the buggy init exits, the kernel panics. I see no point for this. It is very
possible that the system is still usable enough, at least to read the logs and
prepare the bug report.

Change exit_child_reaper() to do BUG() instead of panic().

Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>

This would be highly undesirable in a production system, since it would leave the machine an unusable zombie. In a production system, the panic can be made to reboot the system, bringing it back online.

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/