Red Hat Bugzilla – Bug 621531
/etc/rhn/default/* should go to /usr/share
Last modified: 2011-12-22 11:47:38 EST
Description of problem:
We have configuration files in /etc/rhn/default/* and it is treated as default variable and our code assume this values there exist. No one should edit it. Rather users should edit /etc/rhn/rhn.conf which is read after those default files.
/etc/rhn/default/* definitely should not be marked as %config(noreplace) as it breaks upgrades. And it should not marked as %config too as it can confuse users, as he can think he is allowed to edit it.
We should move /etc/rhn/default/* to /usr/share, probably to /usr/share/rhn/config-defaults/
Mass-moving to space13.
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.
Aligning under space16.
The /etc/rhn/default was moved to /usr/share/rhn/config-defaults in Spacewalk master, commits c1a482ead91e3a7b735d7265d244aedd7d6f3897 to 2bf3877ff0e25c5b563114cc0dc27800fdf764b4.
I've also moved /etc/rhn/search to /usr/share/rhn/config-defaults in Spacewalk
master, commits 71b5845d7ebe6807b08fefbb63f21ad29861a419 to
Spacewalk 1.6 has been released.