diff options
-rw-r--r-- | firewall.py | 3 | ||||
-rw-r--r-- | instdata.py | 2 | ||||
-rw-r--r-- | packages.py | 2 | ||||
-rw-r--r-- | security.py | 4 |
4 files changed, 6 insertions, 5 deletions
diff --git a/firewall.py b/firewall.py index 87c036c63..8f870c91c 100644 --- a/firewall.py +++ b/firewall.py @@ -68,7 +68,8 @@ class Firewall: try: if not flags.test: iutil.execWithRedirect("/usr/sbin/lokkit", args, - root=instPath, stdout=None, stderr=None) + root=instPath, stdout="/dev/null", + stderr="/dev/null") else: log.error("would have run %s", args) except RuntimeError, msg: diff --git a/instdata.py b/instdata.py index d66757f59..1ae678855 100644 --- a/instdata.py +++ b/instdata.py @@ -173,7 +173,7 @@ class InstallData: try: if not flags.test: iutil.execWithRedirect("/usr/sbin/authconfig", args, - stdout = None, stderr = None, + stdout = "/dev/tty5", stderr = "/dev/tty5", root = self.anaconda.rootPath) else: log.error("Would have run: %s", args) diff --git a/packages.py b/packages.py index c4b22fcd3..b52580886 100644 --- a/packages.py +++ b/packages.py @@ -322,7 +322,7 @@ def recreateInitrd (kernelTag, instRoot): log.info("recreating initrd for %s" % (kernelTag,)) iutil.execWithRedirect("/sbin/new-kernel-pkg", [ "--mkinitrd", "--depmod", "--install", kernelTag ], - stdout = None, stderr = None, + stdout = "/dev/null", stderr = "/dev/null", searchPath = 1, root = instRoot) def regKeyScreen(anaconda): diff --git a/security.py b/security.py index 5de3c0673..7a76364a5 100644 --- a/security.py +++ b/security.py @@ -67,8 +67,8 @@ class Security: try: if not flags.test: iutil.execWithRedirect("/usr/sbin/lokkit", args, - root = instPath, stdout = None, - stderr = None) + root = instPath, stdout = "/dev/null", + stderr = "/dev/null") else: log.info("would have run %s" %(args,)) except RuntimeError, msg: |