selinux hogs locks ? Re: f7 : yum fails with rpmdb: Lock table is out of available locker entries

Daniel J Walsh dwalsh at redhat.com
Sat Jun 16 18:35:15 UTC 2007


Wolfgang S. Rupprecht wrote:
> Skunk Worx <skunkworx at verizon.net> writes:
>   
>> Seems like some F7 machines that sit for awhile do this.
>>
>> # yum clean all
>> Loading "installonlyn" plugin
>> rpmdb: Lock table is out of available locker entries
>> rpmdb: Unknown locker ID: 912
>> error: db4 error(22) from db->close: Invalid argument
>> error: cannot open Packages index using db3 - Cannot allocate memory (12)
>> error: cannot open Packages database in /var/lib/rpm
>>     
>
> Turn selinux off (not just permissive but disabled), reboot and the
> problem will go away.
>
> I found that yum/rpm would lock up within a day if I had selinux set
> to permissive.  With it is disabled completely the problem appears
> gone, even after many days uptime.
>
> -wolfgang
>   
Did you see avc messages in /var/log/audit/audit.log?




More information about the fedora-list mailing list