summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-06 03:53:54 +0000
committerMatt Wilson <msw@redhat.com>2001-07-06 03:53:54 +0000
commit5ff21c7cb43dc8ce0a19d768c6fbadb3c7daedac (patch)
treed03ba5f602ba2e978bd86cb21db95cfff41e4e42 /packages.py
parentc43ea8581fba1789aade518540a9fa55e7590adf (diff)
downloadanaconda-5ff21c7cb43dc8ce0a19d768c6fbadb3c7daedac.tar.gz
anaconda-5ff21c7cb43dc8ce0a19d768c6fbadb3c7daedac.tar.xz
anaconda-5ff21c7cb43dc8ce0a19d768c6fbadb3c7daedac.zip
make syslog a global object and don't kill it, let init kill it later. #47556
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/packages.py b/packages.py
index 4b4f5b340..457f2929f 100644
--- a/packages.py
+++ b/packages.py
@@ -26,6 +26,7 @@ from log import log
from flags import flags
from constants import *
from translate import _
+from syslogd import syslog
def queryUpgradeContinue(intf, dir):
if dir == DISPATCH_FORWARD:
@@ -306,7 +307,6 @@ def turnOnFilesystems(dir, thefsset, diskset, upgrade, instPath):
thefsset.mountFilesystems (instPath)
def doInstall(method, id, intf, instPath):
- id.fsset.verify()
if flags.test:
return
@@ -434,7 +434,7 @@ def doInstall(method, id, intf, instPath):
pass
instLog = open(instLogName, "w+")
- syslog = iutil.InstSyslog (instPath, instPath + logname)
+ syslog.start (instPath, instPath + logname)
ts.scriptFd = instLog.fileno ()
# the transaction set dup()s the file descriptor and will close the
@@ -524,7 +524,7 @@ def doInstall(method, id, intf, instPath):
del ts
del db
instLog.close()
- del syslog
+ syslog.stop()
method.systemUnmounted ()
@@ -681,14 +681,11 @@ def doInstall(method, id, intf, instPath):
w.set(8)
- del syslog
-
finally:
pass
w.pop ()
- id.fsset.verify()
sys.stdout.flush()
def migrateXinetd(instPath, instLog):