Issue #669
closedpulp-server rpm treats init.d files as configs
Description
Description of problem:
The pulp spec file contains the following:
- Install the init scripts
%defattr(755,root,root,-)
%config %{_initddir}/pulp_celerybeat
%config %{_initddir}/pulp_workers
%config %{_initddir}/pulp_resource_manager
This causes manual changes to the init.d files to not be overwritten during RPM upgrades as expected. Instead, a .rpmsave file is created.
The %config directive should be removed so .rpmsave is not created.
Version-Release number of selected component (if applicable): 2.6.0 beta 5
How reproducible: every time
Steps to Reproduce:
1. install pulp
2. edit /etc/rc.d/init.d/pulp_workers (perhaps add an extra newline somewhere)
3. upgrade pulp-server rpm - you can probably use "rpm -Uvh --oldpackage" to do this without waiting for a new version:)
Actual results:
A new pulp_workers file is created as /etc/rc.d/init.d/pulp_workers.rpmsave
Expected results:
The pulp_workers file with the manual change should be overwritten.
Additional info:
This only occurs if someone makes a change to the init.d file. If they do not, it gets upgraded normally.
+ This bug was cloned from Bugzilla Bug #1183700 +