On Sunday 2020-10-04 17:58, Christian Boltz wrote:
I played around a bit, and it looks like rpm creates *.rpmnew files if you have a file with differing content that isn't owned by any package. Therefore I propose the following backwards-compatible solution:
- change rpmlint to no longer block files in /etc/sysconfig/ - package the sysconfig files as %config(noreplace) /etc/sysconfig/$whatever [...] This delay for the second step even comes with an advantage - rpm will delete unmodified (but now owned) files from /etc/sysconfig/ without leaving garbage behind, and will leave modified files as *.rpmsave so that users (and rpmconfigcheck) can easily find them, and know that they are now unused.
No matter how you choose that delay, there will always be someone who upgrades later... -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org