[CentOS] something chmod'ing /dev/null

Nicolas Thierry-Mieg Nicolas.Thierry-Mieg at imag.fr
Thu Nov 18 15:08:15 UTC 2010


ken wrote:
> And if you updated solely through yum, /var/log/yum.log is a
> time-stamped list.  It's unfortunate that /var/log/rpmpkgs doesn't have
> the same format.  :(

you can install logrpminstalls, which is available in rpmforge.
It also has the year in the timestamp, which yum.log lacked last time I 
looked.
Very useful.

[nthierry at tryo ~]$ rpm -q logrpminstalls
logrpminstalls-1.0-1.2.el5.rf.x86_64

[nthierry at tryo ~]$ rpm -qi logrpminstalls | tail -n5
Description :
This script makes a log file /var/log/rpminstalls which contains 
timestamps of every rpm which get installed. It's executed by cron every 
day. The logfile contains lines like:
timestamp name-version-release



More information about the CentOS mailing list