Bug 621531 - /etc/rhn/default/* should go to /usr/share
/etc/rhn/default/* should go to /usr/share
Product: Spacewalk
Classification: Community
Component: Server (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Jan Pazdziora
Red Hat Satellite QA List
Depends On:
Blocks: space16
  Show dependency treegraph
Reported: 2010-08-05 08:02 EDT by Miroslav Suchý
Modified: 2011-12-22 11:47 EST (History)
1 user (show)

See Also:
Fixed In Version: spacewalk-backend-1.6.23-1 spacewalk-java-1.6.50-1 spacewalk-web-1.6.24-1 spacewalk-branding-1.6.4-1 osad-5.10.22-1 spacewalk-proxy-1.6.3-1 spacewalk-search-1.6.3-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-12-22 11:47:38 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Miroslav Suchý 2010-08-05 08:02:43 EDT
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/
Comment 1 Jan Pazdziora 2010-11-19 11:03:23 EST
Mass-moving to space13.
Comment 2 Miroslav Suchý 2011-04-11 03:32:08 EDT
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.
Comment 3 Miroslav Suchý 2011-04-11 03:36:37 EDT
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.
Comment 4 Jan Pazdziora 2011-07-20 07:49:53 EDT
Aligning under space16.
Comment 5 Jan Pazdziora 2011-09-30 05:03:49 EDT
The /etc/rhn/default was moved to /usr/share/rhn/config-defaults in Spacewalk master, commits c1a482ead91e3a7b735d7265d244aedd7d6f3897 to 2bf3877ff0e25c5b563114cc0dc27800fdf764b4.
Comment 6 Jan Pazdziora 2011-09-30 05:51:24 EDT
I've also moved /etc/rhn/search to /usr/share/rhn/config-defaults in Spacewalk
master, commits 71b5845d7ebe6807b08fefbb63f21ad29861a419 to
Comment 7 Milan Zázrivec 2011-12-22 11:47:38 EST
Spacewalk 1.6 has been released.

Note You need to log in before you can comment on or make changes to this bug.