ALT Linux Bugzilla – #5139
Zero-length files in /etc/sysconfig should be marked as %config(noreplace)
Last modified: 2005-09-12 15:25:28
You need to
before you can comment on or make changes to this bug.
Files like /etc/syconfig/keyboard, i18n, ... are always generated by installer
and edited later by hands. They's empty instances are included to startup.rpm
for 'rpm -qf' only, I think.
But when we upgrade startup.rpm by 'rpm -U', empty files are created as *.
rpmnew. This is absolutely unneeded and even harmful.
So, such files should be declared in %files section of specfile as %
Steps to Reproduce:
1. rpm -U startup*.rpm
2. find /etc -name "*.rpmnew" -empty
Nothing to output
These files are already marked as %config(noreplace).