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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Roland McGrath
Date: Sunday, March 16, 2008 - 4:32 pm

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

It is not misleading in the same way.  It's clear that going to look at the
kernel source is not the place to find the root of the problem.


For me and you, I agree.  I think the common case is that there is no admin
prepared to do any such thing, but just someone expecting a reboot to fix
things and preferring that a failing system reboot itself in the middle of
the night rather than wedge.


Many production systems probably set panic_on_oops.  Having the init panic
behavior keyed on that seems fine to me.  I just don't like the "kernel bug
at this source line" output when it's not true.


Thanks,
Roland
--
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)