RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1709872 - [RFE] Stop generating ui_repoid_vars in redhat.repo
Summary: [RFE] Stop generating ui_repoid_vars in redhat.repo
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: 8.0
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks: 1708939
TreeView+ depends on / blocked
 
Reported: 2019-05-14 13:09 UTC by Daniel Mach
Modified: 2020-09-02 15:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-02 15:18:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Daniel Mach 2019-05-14 13:09:35 UTC
Background:
redhat.repo contains ui_repoid_vars variables.
Some details on how the ui_repoid_vars variable works can be found in bug#906554.

YUM based on DNF doesn't support this variable at the moment.
We think the behavior should stay as it is.
Commands such as `yum repolist` should show plain repoids without any additions that might make users think that the actual repoid is the whole string with vars.


Change request:
Change subscription manager to stop generating the ui_repoid_vars variables in redhat.repo (remove the lines completely from the file).
These records are not used and only trigger a warning in dnf.log.

Comment 4 Chris Snyder 2020-09-02 15:18:37 UTC
Looks like it is fixed in the current and near future releases.

[root@localhost ~]# subscription-manager register --auto-attach
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: [REDACTED]
Password: 
The system has been registered with ID: [REDACTED]
The registered system name is: [REDACTED]
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for x86_64 Beta
Status:       Subscribed

[root@localhost ~]# rpm  -qa subscription-manager
subscription-manager-1.27.15-1.el8.x86_64

[root@localhost ~]# cat /etc/yum.repos.d/redhat.repo | grep ui_repoid_vars

[root@localhost ~]# wc -l /etc/yum.repos.d/redhat.repo 
517 /etc/yum.repos.d/redhat.repo


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