[PATCH 07/17] Record early crashes to ipmi

David Shea dshea at redhat.com
Tue Sep 23 15:20:55 UTC 2014

(as clumens noted, we already do ipmi stuff on exception via meh, so
instead of all that other stuff just add ipmi stuff on exception before

Send IMPI_ABORTED if anaconda crashes with an exception before the meh
excepthook has been installed.
 anaconda | 1 +
 1 file changed, 1 insertion(+)

diff --git a/anaconda b/anaconda
index e91ddca..355b144 100755
--- a/anaconda
+++ b/anaconda
@@ -1072,6 +1072,7 @@ if __name__ == "__main__":
     if not flags.imageInstall and not flags.livecdInstall \
        and not flags.dirInstall:
         def _earlyExceptionHandler(ty, value, traceback):
+            iutil.ipmi_report(constants.IPMI_ABORTED)
             return sys.__excepthook__(ty, value, traceback)

More information about the anaconda-patches mailing list