Re: ldconfig hanging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



rich turner wrote:

i am somewhat of a newbie at selinux so forgive some of my ignorance. i
am using fc3 and have created a filesystem using ramdev. in this
filesystem i have put a bunch of files, some executables, and would like
to update ld.so.cache in this filesystem by running "ldconfig -r /mnt",
where /mnt is the mount point of the ramdev.

if i put the running systems /etc/ld.so.cache into /mnt/etc/ld.so.cache
then the system hangs when running "ldconfig -r /mnt". however, if i
dont include the systems /etc/ld.so.cache into /mnt and then run
ldconfig, it succeeds.

i believe this has something to do with selinux because if i boot with
"selinux=0" then it doesnt seem to be an issue either way.

it also appears /etc/ld.so.cache is being handled in some way by selinux
because there is an entry in
/etc/selinux/targeted/contexts/files/file_contexts.

i realize the short answer is to not include ld.so.cache in my ramdev,
but i would like to know why this is actually happening.

anyone have any suggestions?



What is your log file showing? SELinux reports errors in /var/log/messages with AVC prefix.

Dan

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-selinux-list




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux