[K12OSN] hangs on X server screen

Rasmus Ory Nielsen ron at ron.dk
Tue Mar 15 10:18:00 UTC 2005


Hi,

Eric Harrison wrote:
> If I think there might be a miss-configuration or otherwised messed-up
> software, I have RPM verify all of the installed software:
> 
>     rpm -Va > /tmp/rpmreport
> 
> This will list every file that has been changed since it was installed
> by rpm. The output will contain one line per modified file, in the format:
> 
> S.5....T  c /etc/X11/gdm/gdm.conf
> 
> Here is what the first set of letters mean:
> 
>        S file Size differs
>        M Mode differs (includes permissions and file type)
>        5 MD5 sum differs
>        D Device major/minor number mismatch
>        L readLink(2) path mismatch
>        U User ownership differs
>        G Group ownership differs
>        T mTime differs
> 
> The "c" means it is a configuration file.
> 
> 
> Those are usually enough to point me in the right direction for fixing
> whatever may be broken.

I use the attached script for that purpose. It only prints packages that 
doesn't verify and the output is sorted by package name.

Regards
Rasmus Ory Nielsen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: checkRPMS
URL: <http://listman.redhat.com/archives/k12osn/attachments/20050315/6668044d/attachment.ksh>


More information about the K12OSN mailing list