Hide Forgot
Description of problem: Subscription-manager-gui rearranges the /etc/rhsm/rhsm.conf file and deletes any comments within the file. Version-Release number of selected component (if applicable): subscription-manager-gnome-0.93.3-1.git.7.ee2f586.fc14.x86_64 subscription-manager-0.93.3-1.git.7.ee2f586.fc14.x86_64 How reproducible: always Steps to Reproduce: 1. Install subscription-manager-gui on a linux machine with all required deps. 2. Manually edit the /etc/rhsm/rhsm.conf file, adding comments. 3. Open subscription-manager-gui, and open the 'advanced proxy configuration' section. 4. Close the 'advanced proxy configuration' window. 5. view changes to your /etc/rhsm/rhsm.conf. Actual results: The gui editor rearranges all the configurations found in the rhsm.conf file that was installed by the rpm, and then adds a new [default] section. The gui editor also will delete any comments made to the rhsm.conf file. Expected results: The layout and contents of the .conf file remain unchanged and any comments/notes remain in the file.
commit 0784ac39b4ed3907c6cf12984d753323fa9ea097 Author: Adrian Likins <alikins@redhat.com> Date: Fri Dec 10 16:16:38 2010 -0500 use iniparser's backwards compat config parser New versions of python-rhsm/subscription-manager should fix this. We moved to a different config parser lib, the new one should persist order and comments.
subscription-manager-gnome-0.93.9-1.git.10.8eadb7a.el6.x86_64 subscription-manager-0.93.9-1.git.10.8eadb7a.el6.x86_64 subscription-manager-firstboot-0.93.9-1.git.10.8eadb7a.el6.x86_64 This is now working as tested in the above release ^
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0611.html