summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--instdata.py2
-rw-r--r--security.py2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5f31456f4..6c8c6171f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-17 Jeremy Katz <katzj@redhat.com>
+
+ * security.py (Security.write): Safe for all !test mode
+ * instdata.py (InstallData.write): Likewise.
+
2006-05-17 Chris Lumens <clumens@redhat.com>
* anaconda: Fix runRescue to use anaconda class.
diff --git a/instdata.py b/instdata.py
index a3ff100f5..aa9afc6f3 100644
--- a/instdata.py
+++ b/instdata.py
@@ -141,7 +141,7 @@ class InstallData:
args = ["/usr/bin/authconfig", "--update", "--nostart"] + self.auth.split()
try:
- if flags.setupFilesystems:
+ if not flags.test:
iutil.execWithRedirect("/usr/bin/authconfig", args,
stdout = None, stderr = None,
searchPath = 1, root = anaconda.rootPath)
diff --git a/security.py b/security.py
index 64a419c6b..fce2b06ed 100644
--- a/security.py
+++ b/security.py
@@ -59,7 +59,7 @@ class Security:
args = args + [ "--selinux=%s" %(selinux_states[self.selinux],) ]
try:
- if flags.setupFilesystems:
+ if not flags.test:
iutil.execWithRedirect(args[0], args, root = instPath,
stdout = None, stderr = None)
else: