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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oleg Nesterov
Date: Sunday, March 16, 2008 - 4:03 pm

On 03/16, Roland McGrath wrote:

(re-ordered)


Yes sure, we leak the re-parented zombies, and nobody can take care of
/etc/inittab. As expected.

But otherwise the system runs fine.


But panic() isn't better? It doesn't provide any useful info.


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 /.

Every BUG/BUG_ON in fact means the system is not useable, but still it does
not panic(), but tries to proceed.

In short, I can't see why panic() is better. Except we have panic_timeout,
but we can take it into account if init exits.


OK, I won't argue (not that I agree ;).

Oleg.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 4/5] don't panic if /sbin/init exits or killed, Oleg Nesterov, (Sun Mar 16, 8:54 am)
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed, Roland McGrath, (Sun Mar 16, 3:19 pm)
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed, Krzysztof Halasa, (Sun Mar 16, 3:54 pm)
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed, Oleg Nesterov, (Sun Mar 16, 4:03 pm)
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed, Roland McGrath, (Sun Mar 16, 4:32 pm)
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed, Oleg Nesterov, (Sun Mar 16, 4:49 pm)
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed, Roland McGrath, (Sun Mar 16, 4:59 pm)
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed, Oleg Nesterov, (Sun Mar 16, 5:05 pm)
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed, H. Peter Anvin, (Fri Mar 28, 10:47 pm)
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed, Oleg Nesterov, (Sat Mar 29, 3:51 am)