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 pid. 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): yum 2.6.0 not sure about pup, it's whatever comes with FC5 ISO images. How reproducible: 2/2 so far. Steps to Reproduce: 1. See description above. 2. 3. Actual results: package updater hangs doing nothing useful. Expected results: package updater should at least give an error message. yum should clean up it's yum.pid file. Additional info:
the doLock() method in yum checks if the pid is still running when dealing with the locker. 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.