Close all fds when running another program. This fixes the SELinux AVCs.

Put installation log files into /var/log.

430024
This commit is contained in:
Rob Crittenden
2008-03-03 16:14:48 -05:00
parent 79557e6bf2
commit b49942fe96
3 changed files with 4 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ def logging_setup(options):
# file.
logging.basicConfig(level=logging.DEBUG,
format='%(asctime)s %(levelname)s %(message)s',
filename='ipaclient-install.log',
filename='/var/log/ipaclient-install.log',
filemode='w')
console = logging.StreamHandler()