ldconfig and var?

Russell Coker russell at coker.com.au
Mon Dec 27 15:15:30 UTC 2004


On Friday 24 December 2004 02:41, Tom London <selinux at gmail.com> wrote:
> 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

What is it trying to do under /var?  It seems that the postinst script just 
calls "ldconfig" with no parameters.  Do you have a reference to /var 
in /etc/ld.so*?

> For fedora too? guile rpm broken?

I can't see how guile can be doing anything to cause this.  Unless you have a 
different version of guile to me (I have 1.6.4-17).  My guess at the moment 
is that there is something unusual about your system.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page




More information about the selinux mailing list