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

Daniel J Walsh dwalsh at redhat.com
Mon Jun 18 17:26:30 UTC 2007


Wolfgang S. Rupprecht wrote:
> Daniel J Walsh <dwalsh at redhat.com> writes:
>   
>> This looks like you have postfix attempting to create a file
>> (Mailbox.lock) in the / directory?
>>     
>
> I don't see any /Mailbox, but my selinux contexts may be wrong on the
> user's home directories.  They seem to also be
> "root:object_r:root_t:s0".  I copied the home's for f7 from the old
> fc6 disk using the standard tar pipe.  That seems to have mashed
> things.
>
>     tar -c /fc6 -cf - u | tar -C / -xf -
>
> # ll -a --lcontext /u
> total 120
> drwxr-xr-x  14 root:object_r:root_t:s0          root       root      4096 2007-06-08 16:37 .
> drwxr-xr-x  30 system_u:object_r:root_t:s0      root       root      4096 2007-06-18 08:59 ..
> drwxr-xr-x  86 root:object_r:root_t:s0          alison     alison    4096 2007-06-08 11:02 alison
> drwxr-xr-x   2 root:object_r:root_t:s0          root       root      4096 2006-11-30 10:51 CVS
> drwxr-xr-x  35 root:object_r:root_t:s0          cvs        staff     4096 2006-11-21 12:52 cvsroot
> drwxr-xr-x  24 root:object_r:root_t:s0          wolfgang   staff     4096 2000-08-29 11:22 gps
> drwxr-xr-x   3 root:object_r:root_t:s0          laine      laine     4096 2006-10-26 15:15 laine
> drwxr-xr-x   3 root:object_r:root_t:s0          marc       marc      4096 2006-10-26 15:15 marc
> drwxrwxr-x  22 root:object_r:root_t:s0          root       wheel     4096 2007-06-15 10:35 src
> drwxr-xr-x 273 root:object_r:root_t:s0          wolfgang   wolfgang 12288 2007-06-18 09:04 wolfgang
> drwxrwxr-x  17 root:object_r:root_t:s0          root       wsrcc     4096 2007-04-04 08:34 www
>
> The /home directory is an automount point that mounts the
> /u/<username> directory from a main server.  This allows the familiar
> /home for homes.
>
> -wolfgang
>   

restorecon -R -v /root





More information about the fedora-list mailing list