Re: RPM weirdness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alas it doesn't.  In fact, there's very little on configuration files,
and nothing on .rpmnew files in particular.

Hmmm:

http://www.redhat.com/archives/rpm-list/2003-May/msg00426.html


Quoting:


>The .rpmnew suffix is added if a file to be installed is marked with
>"%config(noreplace)" and the local file is modified wrto the original
>md5sum. Basically the incoming file is installed as "foo.rpmnew" rather
>than "foo".
>
> [...]

>Note that more than md5sum is involved, there's also mtime, user, group,
>perms, and other stat(2) info that is involved in detecting "modified".
>

and that's what I suspected...  except that doing a "diff -c" shows the
files to be identical.  Therefore, their MD5 should be identical too,
unless it's not being calculated or stored correctly.  And "ls -l" shows
the permissions and dates to be identical as well (except for maybe
seconds which aren't shown by "ls -l").

And st_atime and st_ctime should be ignored...

So I'm stumped.

-Philip


David-Paul Niner wrote:

>man rpm
>
>will (most likely) explain why those files are there; that's a design  
>feature of rpm, it's trying to protect your configuration files.
>
>DP
>
>  
>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux