Re: %config files and upgrade to F11 - consider noreplace

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

 



Tomas Mraz wrote:
> As already pointed out by someone else before. RPM could compute
> on-the-fly the old (MD5) hash of the new config file being installed and
> use that for the comparsion. Except this may not be easily hackable into
> the RPM code I suppose because the file is possibly not yet extracted
> from the cpio at the time the hashes are compared.

I think the best solution would be for RPMs to carry BOTH SHA256 and MD5
checksums for %config files, SHA256 being used for all operations with the
new RPM, but the MD5 for comparisons with the old MD5. This could then be
phased out after a couple of releases.

        Kevin Kofler

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux