up2date & /var/tmp

redhat at buglecreek.com redhat at buglecreek.com
Thu Apr 6 14:43:38 UTC 2006


Ocasionally, files show up in /var/tmp with names like rpm-tmp.60427.  I
assume that is is the result of running up2date.  Does anyone know why
they get created? Also, why they do not get removed? The contents below
a example from a Redhat ES 3 box.

if [ $1 = 0 ] ; then
    if grep '^/usr/lib/mysql$' /etc/ld.so.conf > /dev/null 2>&1
    then
        grep -v '^/usr/lib/mysql$' /etc/ld.so.conf \
            > /etc/ld.so.conf.$$ 2> /dev/null
        mv /etc/ld.so.conf.$$ /etc/ld.so.conf
    fi
    /sbin/ldconfig /usr/lib/mysql
fi

Thanks




More information about the Redhat-install-list mailing list