summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-10-11 22:20:23 +0000
committerPeter Jones <pjones@redhat.com>2006-10-11 22:20:23 +0000
commit483ec310fdb84399e6ef04bac5494e60f069ee4c (patch)
tree55c2dcb47e7addf4d776e3deb5d3ce68adb27435 /anaconda
parent23dc64aa810cef2821633c20fcd06c5a6bea2a70 (diff)
downloadanaconda-483ec310fdb84399e6ef04bac5494e60f069ee4c.tar.gz
anaconda-483ec310fdb84399e6ef04bac5494e60f069ee4c.tar.xz
anaconda-483ec310fdb84399e6ef04bac5494e60f069ee4c.zip
- anaconda (__main__): Only do auditDaemon if we're not in test or
rootpath mode. - isys/auditd.c (audit_daemonize): Don't start a new process group, and do "exit(0)" rather than "return" after recieving SIGTERM.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda5
1 files changed, 3 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index 58f386595..ea5a8ae63 100755
--- a/anaconda
+++ b/anaconda
@@ -598,8 +598,6 @@ if __name__ == "__main__":
if rhpl.getArch() != "s390" and os.access("/dev/tty3", os.W_OK):
logger.addFileHandler ("/dev/tty3", log)
- isys.auditDaemon()
-
warnings.showwarning = AnacondaShowWarning
setupTranslations()
@@ -685,6 +683,9 @@ if __name__ == "__main__":
if rhpl.getArch() == "s390":
opts.isHeadless = True
+ if not flags.test and not flags.rootpath:
+ isys.auditDaemon()
+
users.createLuserConf(anaconda.rootPath)
# setup links required for all install types