Red Hat Bugzilla – Bug 191427
Last modified: 2014-01-21 17:54:25 EST
Description of problem:
Installed FC5 on x86-64 system. Tried to run package updater,
and it just sat there not doing anything useful. Killed it
by clicking the 'x' in the GUI. Tried 'yum update' from the
console, but that failed to run because /var/run/yum.pid
existed. However, there is no process existing to match that
yum should check not only for that file's existance, but should
also verify that the process exists and is a yum process. Otherwise,
it should clean up it's mess and carry on. It should probably use
the open and unlink trick so that any time yum dies, for any reason,
the yum.pid file goes away.
Version-Release number of selected component (if applicable):
not sure about pup, it's whatever comes with FC5 ISO images.
2/2 so far.
Steps to Reproduce:
See description above.
package updater hangs doing nothing useful.
package updater should at least give an error message.
yum should clean up it's yum.pid file.
the doLock() method in yum checks if the pid is still running when dealing with
I'll test it out but this code hasn't changed much
I just tested this.
if the process id noted in /var/run/yum.pid is no longer running yum will purge
the old pidfile and move along.
Are you sure the other process was dead?
closing as worksforme until I can replicate it.