Red Hat Bugzilla – Bug 874614
Upgrade from Satellite 5.4.1 to 5.5.0 on RHEL 6 clobbers /etc/rhn/rhn.conf
Last modified: 2013-10-24 13:46:17 EDT
Description of problem:
Satellite upgrade re-creates /etc/rhn/rhn.conf with default values, moves old rhn.conf file to /etc/rhn/rhn.conf.orig
rpm upgrades would typically create .rpmnew instead of .orig.
Version-Release number of selected component (if applicable):
Unknown, only have one Satellite box to upgrade.
Steps to Reproduce:
1.Install RHEL 6.3
2.Install Satellite 5.4.1
3.Change mount points in /etc/rhn/rhn.conf away from default
4.Upgrade to Satellite 5.5.0 using upgrade option on script.
/etc/rhn/rhn.conf returned to RPM version with only Email carried across
Upgrade script should honour all changes to /etc/rhn/rhn.conf as mount_point is not always default.
Not a bug - as per this is expected behaviour. Within the rhn-upgrade RPM's text documentation for doing an upgrade we state to back everything up. We then have a step to say - review rhn.conf and restore custom settings.