----- Original Message -----
From: "Samantha N. Bueno"
<sbueno+anaconda(a)redhat.com>
To: anaconda-patches(a)lists.fedorahosted.org
Sent: Tuesday, December 3, 2013 9:12:00 AM
Subject: [rhel7-branch] Catch OSError if there are problems running authconfig.
(#994674)
We were catching the wrong type of error previously, which caused a
traceback.
Resolves: rhbz#994674
---
pyanaconda/kickstart.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index d615208..1b1e3ab 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -232,7 +232,7 @@ class Authconfig(commands.authconfig.FC3_Authconfig):
try:
iutil.execWithRedirect("/usr/sbin/authconfig", args,
root=ROOT_PATH)
- except RuntimeError as msg:
+ except OSError as msg:
log.error("Error running /usr/sbin/authconfig %s: %s", args,
msg)
class AutoPart(commands.autopart.F20_AutoPart):
--
1.8.3.1
ACK. - mulhern
_______________________________________________
anaconda-patches mailing list
anaconda-patches(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches