Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Running RHEL 7.3, the rpm macro '%{?dist}' returns '.el7_3' instead of '.el7', this breaks distro detection and as far as I understand is not according to the Fedora packaging guideline - https://fedoraproject.org/wiki/Packaging:DistTag.
Any ideas? Anything I'm missing here?
Version-Release number of selected component (if applicable):
redhat-rpm-config-9.1.0-72.el7.noarch
redhat-release-server-7.3-7.el7_3.1.x86_64
How reproducible:
always
Steps to Reproduce:
1.[root@cinteg33 ~]# rpm -E '%{?dist}'
.el7_3
Actual results:
.el7_3
Expected results:
.el7
Additional info:
NAME="Red Hat Enterprise Linux Server"
VERSION="7.3 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="7.3"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.3 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.3:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.3
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.3"
Red Hat Enterprise Linux Server release 7.3 (Maipo)
Red Hat Enterprise Linux Server release 7.3 (Maipo)
cpe:/o:redhat:enterprise_linux:7.3:ga:server
I should say that it does not happen on el7.3 machines(CSB for instance is ok). This specific is:
Linux cinteg33 3.10.0-514.10.2.el7.bz1420450.x86_64 #1 SMP Thu Mar 30 08:28:00 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
(In reply to Nadav Goldin from comment #3)
> I should say that it does not happen on el7.3 machines(CSB for instance is
> ok). This specific is:
> Linux cinteg33 3.10.0-514.10.2.el7.bz1420450.x86_64 #1 SMP Thu Mar 30
> 08:28:00 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
This is due to
redhat-release-server-7.3-7.el7_3.1.x86_64
being present.
Hello folks
getting el7_3 is totally expected in EUS/AUS. Although a package with such dist-tag gets released rarely (usually with retirement notice). Otherwise all the eus/aus/z-stream/els customers usually have redhat-release released on GA day.
We're not going to change this as it's expected feature which also affects all the z-stream/eus/aus builds by providing distinguishable dist-tag.
I believe that /etc/os-release would be much wiser. It even states "Red Hat Enterprise Linux".
Lubos
Description of problem: Running RHEL 7.3, the rpm macro '%{?dist}' returns '.el7_3' instead of '.el7', this breaks distro detection and as far as I understand is not according to the Fedora packaging guideline - https://fedoraproject.org/wiki/Packaging:DistTag. Any ideas? Anything I'm missing here? Version-Release number of selected component (if applicable): redhat-rpm-config-9.1.0-72.el7.noarch redhat-release-server-7.3-7.el7_3.1.x86_64 How reproducible: always Steps to Reproduce: 1.[root@cinteg33 ~]# rpm -E '%{?dist}' .el7_3 Actual results: .el7_3 Expected results: .el7 Additional info: NAME="Red Hat Enterprise Linux Server" VERSION="7.3 (Maipo)" ID="rhel" ID_LIKE="fedora" VERSION_ID="7.3" PRETTY_NAME="Red Hat Enterprise Linux Server 7.3 (Maipo)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:redhat:enterprise_linux:7.3:GA:server" HOME_URL="https://www.redhat.com/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7" REDHAT_BUGZILLA_PRODUCT_VERSION=7.3 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="7.3" Red Hat Enterprise Linux Server release 7.3 (Maipo) Red Hat Enterprise Linux Server release 7.3 (Maipo) cpe:/o:redhat:enterprise_linux:7.3:ga:server