SELinux error with yum --installroot
Bob Kashani
bobk at ocf.berkeley.edu
Tue Jan 4 07:14:58 UTC 2005
On Mon, 2005-01-03 at 23:05 -0800, Bob Kashani wrote:
> On Mon, 2005-01-03 at 22:38 -0800, Bob Kashani wrote:
> > /sbin/ldconfig: Can't open configuration file /etc/ld.so.conf:
> > Permission denied
> > /sbin/ldconfig: Can't remove old temporary cache file /etc/ld.so.cache~:
> > Permission denied
>
> Just to clarify...I was running the wrong script when I got these
> messages. When I install in /testroot I don't get them. But I do get
> them when I try to install in my home dir. So why does this happen when
> I try to install in /home and how can I fix it?
Sorry about all the posts.
But here is the log message that I get when ldconfig fails in /home (as
requested by Stephen).
Jan 3 22:44:05 chaucer kernel: audit(1104821045.640:0): avc: denied
{ search } for pid=4960 exe=/sbin/ldconfig name=bob-chroot dev=hdb1
ino=855792 scontext=root:system_r:ldconfig_t
tcontext=user_u:object_r:file_t tclass=dir
Jan 3 22:44:05 chaucer kernel: audit(1104821045.641:0): avc: denied
{ search } for pid=4960 exe=/sbin/ldconfig name=bob-chroot dev=hdb1
ino=855792 scontext=root:system_r:ldconfig_t
tcontext=user_u:object_r:file_t tclass=dir
Bob
--
Bob Kashani
http://www.ocf.berkeley.edu/~bobk/garnome
More information about the fedora-selinux-list
mailing list