For FC <= 5, I could call yum during the
kickstart installation from the %post section.
When I do this in FC6-pre, I get the following error:
/usr/bin/yum -y install nautilus-open-terminal
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 85, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 192, in getOptionsConfig
errorlevel=opts.errorlevel)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 123, in
doConfigSetup
self.doLoggingSetup(startupconf.debuglevel, startupconf.errorlevel)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 147, in
doLoggingSetup
logginglevels.doLoggingSetup(debuglevel, errorlevel)
File "/usr/lib/python2.4/site-packages/yum/logginglevels.py", line
116, in doLoggingSetup
syslog = logging.handlers.SysLogHandler(log_dev)
File "/usr/lib/python2.4/logging/handlers.py", line 601, in __init__
self._connect_unixsocket(address)
File "/usr/lib/python2.4/logging/handlers.py", line 617, in
_connect_unixsocket
self.socket.connect(address)
File "<string>", line 1, in connect
socket.error: (111, 'Connection refused')
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/lib/python2.4/logging/__init__.py", line 1333, in shutdown
h.close()
File "/usr/lib/python2.4/logging/handlers.py", line 642, in close
if self.unixsocket:
AttributeError: SysLogHandler instance has no attribute 'unixsocket'
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/lib/python2.4/logging/__init__.py", line 1333, in shutdown
h.close()
File "/usr/lib/python2.4/logging/handlers.py", line 642, in close
if self.unixsocket:
AttributeError: SysLogHandler instance has no attribute 'unixsocket'
I've repeated it several times, always the same error.
It works fine after installation, no "connection refused".
- or is there a smarter way of doing this?
Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk@xxxxxx Homepage: http://www.crc.dk
--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-test-list