From: "Brian C. Lane" <bcl(a)redhat.com>
commit 6defac89afcc74 added this code twice which caused the exitHandler
to get called twice, causing a traceback at the end of installation.
---
anaconda | 6 ------
1 file changed, 6 deletions(-)
diff --git a/anaconda b/anaconda
index 64901ee..ccc7e58 100755
--- a/anaconda
+++ b/anaconda
@@ -1346,12 +1346,6 @@ if __name__ == "__main__":
from pyanaconda import exception
anaconda.mehConfig = exception.initExceptionHandling(anaconda)
- # add our own additional signal handlers
- signal.signal(signal.SIGUSR1, lambda signum, frame:
- exception.test_exception_handling())
- signal.signal(signal.SIGUSR2, lambda signum, frame: anaconda.dumpState())
- atexit.register(exitHandler, ksdata.reboot, anaconda.storage)
-
# Fallback to default for interactive or for a kickstart with no installation
method.
fallback = not (flags.automatedInstall and ksdata.method.method)
payloadMgr.restartThread(anaconda.storage, ksdata, anaconda.payload,
anaconda.instClass,
--
To view this commit on github, visit
https://github.com/rhinstaller/anaconda/commit/67e186a7d9a0330f7f3fb48fc4...