| Summary: | [RFE] subscription-manager should have a option that when set prevents the download / install of "redhat.repo" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Eric Sammons <esammons> |
| Component: | subscription-manager | Assignee: | William Poteat <wpoteat> |
| Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.2 | CC: | bkearney, dgoodwin, jsefler, skallesh, wpoteat |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: |
Cause
Subscription manager assumed that users wanted content from the Subscription Service.
Consequence
Usrs who consumed content from other sources got failtures from yum, and had to disable the repos manually.
Change
A new configuration option was added which will disable creating repo files. This option, manage_repos = 0, is set in the file /etc/rhsm/rhsm.conf.
Result
Users can use subscription-manager for subscription management only, and not use the content access features.
Note: this is not the same as the feature request was fulfilled.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-20 13:04:41 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 738066 | ||
|
Description
Eric Sammons
2011-12-14 14:19:15 UTC
Implemented in subscription-manager.git master: af2a53b8236907ca1681980796aa711dcf9dc69b Will appear in subscription-manager-0.99.7-1. Note that this has not been cherry-picked to RHEL 5.8 branches. To use add "manage_repos = 0" to the [rhsm] section of /etc/rhsm/rhsm.conf. Behavior-wise notes for QE etc. Once set, the redhat.repo file will be deleted as soon as rhsmcertd runs again. At no point should it get recreated so long as manage_repos = 0. If you run subscription-manager repos --list you should see a warning that repository management is disabled. Moving bug to verified. RPM used: [root@dhcp201-166 yum.repos.d]# rpm -qa | grep subscription-manager subscription-manager-gnome-0.99.8-1.el6.x86_64 subscription-manager-0.99.8-1.el6.x86_64 subscription-manager-migration-0.99.8-1.el6.x86_64 subscription-manager-migration-data-1.12-1.el6.noarch subscription-manager-debuginfo-0.99.8-1.el6.x86_64 [root@dhcp201-166 yum.repos.d]# ll total 4 -rw-r--r--. 1 root root 189 Feb 23 11:13 redhat.repo [root@dhcp201-166 yum.repos.d]# service rhsmcertd restart Stopping rhsmcertd [ OK ] Starting rhsmcertd 2 1440 [ OK ] [root@dhcp201-166 yum.repos.d]# ll total 0 [root@dhcp201-166 yum.repos.d]# subscription-manager repos --list Repositories disabled by configuration.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause
Subscription manager assumed that users wanted content from the Subscription Service.
Consequence
Usrs who consumed content from other sources got failtures from yum, and had to disable the repos manually.
Change
A new configuration option was added which will disable creating repo files. This option, manage_repos = 0, is set in the file /etc/rhsm/rhsm.conf.
Result
Users can use subscription-manager for subscription management only, and not use the content access features.
Note: this is not the same as the feature request was fulfilled.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0804.html |