%config files and upgrade to F11 - consider noreplace

Bill Nottingham notting at redhat.com
Wed Feb 25 22:01:12 UTC 2009


Miloslav Trmač (mitr at volny.cz) said: 
> Because the Fedora 11 RPM packages will use SHA-256 for file digests in
> the RPM headers, upgrades from earlier releases to Fedora 11 will
> replace user-modified %config files (without noreplace) by their
> original versions, and rename the user-modified files to *.rpmsave.
> 
> The Fedora packaging guidelines already suggest using %config(noreplace)
> in most cases:
> https://fedoraproject.org/wiki/PackagingGuidelines#Configuration_files .
> 
> Please review use of %config without noreplace in your packages, and add
> noreplace if appropriate.  The list of affected packages is below.

Given that it's comparing hashes, and the old hash is *obviously* of a
different type than the new hash, why can't these sorts of conflicts
be caught?

Bill




More information about the devel mailing list