RPM weirdness

Philip Prindeville philipp_subx at redfish-solutions.com
Sun Dec 10 22:46:21 UTC 2006


Philip Prindeville wrote:

>And "ls -l" shows the permissions and dates to be identical as
>well (except for maybe seconds which aren't shown by "ls -l").
>  
>


Bingo:

# ls -l /etc/security/chroot.conf*
-rw-r--r-- 1 root root 82 Aug  1 05:18 /etc/security/chroot.conf
-rw-r--r-- 1 root root 82 Aug  1 05:18 /etc/security/chroot.conf.rpmnew
# perl -e 'print join(", ", stat("/etc/security/chroot.conf")), "\n"'
64768, 721510, 33188, 1, 0, 0, 0, 82, 1154431139, 1154431139, 1156023232, 4096, 8
# perl -e 'print join(", ", stat("/etc/security/chroot.conf.rpmnew")), "\n"'
64768, 719917, 33188, 1, 0, 0, 0, 82, 1154431128, 1154431128, 1156023323, 4096, 8
# perl -e 'print scalar localtime((stat("/etc/security/chroot.conf.rpmnew"))[9]), "\n"'
Tue Aug  1 05:18:48 2006
# perl -e 'print scalar localtime((stat("/etc/security/chroot.conf"))[9]), "\n"'
Tue Aug  1 05:18:59 2006
# 

And there you have it.

Why are the packages being generated with a few seconds jitter?

-Philip







More information about the fedora-list mailing list