ldconfig and var?

Tom London selinux at gmail.com
Thu Dec 23 15:41:45 UTC 2004


Running strict/enforcing, latest Rawhide.

Actually during today's 'yum update':

Running Transaction
Installing: kernel 100 % done 1/39
/bin/bash: /root/.bashrc: Permission denied
Updating: guile 100 % done 2/39
/sbin/ldconfig: relative path `2' used to build cache
error: %post(guile-1.6.4-16.i386) scriptlet failed, exit status 1
Updating: inews 100 % done 3/39

Log shows the following AVC:

Dec 23 07:34:52 fedora kernel: audit(1103816092.011:0): avc:  denied 
{ search } for  pid=8079 exe=/sbin/ldconfig name=var dev=hda2
ino=4456449 scontext=root:sysadm_r:ldconfig_t
tcontext=system_u:object_r:var_t tclass=dir

ldconfig.te has:
ifdef(`distro_suse', `
# because of libraries in /var/lib/samba/bin
allow ldconfig_t { var_t var_lib_t }:dir search;
')

For fedora too? guile rpm broken?

tom

-- 
Tom London




More information about the fedora-selinux-list mailing list