up2date & /var/tmp
Rick Stevens
rstevens at vitalstream.com
Thu Apr 6 19:14:52 UTC 2006
On Thu, 2006-04-06 at 08:43 -0600, redhat at buglecreek.com wrote:
> 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
They should be cleaned up by the "%post" part of the RPM update. If
they're not (and the above one seems to come from the MySQL update),
bugzilla it so Red Hat fixes their post install scripts.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- If Windows isn't a virus, then it sure as hell is a carrier! -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list