Red Hat Bugzilla – Bug 134946
yum leave rpmdb locks when terminated with CTL-c
Last modified: 2014-01-21 17:50:23 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041002
Description of problem:
Running off of Rawhide:
Terminating yum with a console 'CTL-c',
yum does not clean up rpmdb locks.
Attached shows running yum, killing it
with a CTL-c, and then running
'/usr/lib/rpm/rpmdb_stat -CA' that
shows residual locks.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum update
2. kill with CTL-c
Actual Results: residual rpmdb locks
Expected Results: no locks...
Created attachment 104892 [details]
console output of 'yum update, terminated with CTL-c, status of rpmdb locks'
I'm not sure what else I can do. If the process terminates irregularly
then the locks will be out there. I'll look atexit() to see if that
can let me close out the locks but at some level, a process
terminating irregularly is going to leave some things unfinished.
Seth, I'm not seeing this anymore.
Shall I close this out?