-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2015-01-20 12:51, Andrei Borzenkov wrote:
On Tue, Jan 20, 2015 at 2:42 PM, Carlos E. R. <> wrote: ...
When "rpm" updates a package, it replaces configuration files storing the old as .rpmold, or the new as .rpmnew — but often both files have exactly the same content!
Admins are supposed to check both versions to determine what has to be migrated from the old configuration so that the system works properly; but checking files that are the same is a waste of our time.
The rpm program should verify this itself and do not produce the duplicate, because rpm is in the right position to do this.
Actually it does (verify). If old file matches exactly signature in RPM database file is simply replaced with new. One thing where it breaks is modification date - edit file, remove changes - file is changed from RPM PoV.
I guessed that. :-) It should change policy and do a diff. As it is, I have to run "rcrpmconfigcheck" and do the diffs myself... so far, manually, which is a lot of time. Why check, if they are the same? Waste, no? Well... I have to weed out those that are the same file in order to find the few that are modified. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlS+Qt0ACgkQtTMYHG2NR9VFagCZAQ5qOMTDsIOBAhDgCi4ioAwi pdwAn3Ol7T4Bho3T0jW/frqs959HLg4+ =JVln -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org