Description of problem: Doing a kickstart installation a "yum -y update" fails due to the /dev/log in the chroot. Possible solutions: - Remove /dev/log - Make sure it is working - Find some way to detect the non-working in yum with proper error handling. Current traceback: + yum -y upgrade 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' Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Patch yum so that we don't fail if we can't connect to the syslog server