| Summary: | subscription-manager refresh does not update redhat.repo | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Felix Dewaleyne <fdewaley> |
| Component: | subscription-manager | Assignee: | candlepin-bugs |
| Status: | CLOSED NOTABUG | QA Contact: | John Sefler <jsefler> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4 | CC: | ckozak, fdewaley |
| Target Milestone: | rc | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-30 12:51:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Felix Dewaleyne
2013-10-29 17:10:03 UTC
I don't think this has anything to do with refresh. If you run "yum repolist" to generate a yum transaction, the subscription-manager yum plugin will be invoked and generate a correct redhat.repo. In newer versions of subscription-manager, if new certificates are pulled down, the redhat.repos file will be updated. Please let me know if you have any questions. no, one of the commands I did run 3 times between refreshes while trying to get the repos to work was ~~~ yum clean all yum repolist yum repolist all ~~~ that would ever only list the repos of the redhat-source.repo, redhat.repo wouldn't get updated. [root@vm-139 ~]# cat /etc/yum/pluginconf.d/subscription-manager.conf [main] enabled=0 Setting enabled to 1 allows the subscription-manager plugin to update redhat.repos. It is enabled by default. The last comment should resolve your problem, please let me know if there's something else going on. When I logged into your machine and set enabled=1, everything worked as intended. Please let me know if there's anything else you need. yup that does solve the problem. too bad nothing pointed at a misconfiguration other than the behaviour, a warning / error message would have been nice. |