Description of problem: /etc/os-release became a symlink since https://bugzilla.redhat.com/show_bug.cgi?id=1766754 An issue reported in the original Bugzilla ticket has not been fixed: https://bugzilla.redhat.com/show_bug.cgi?id=1766754#c16 > # ls -l /usr/lib/os-release /etc/os-release > lrwxrwxrwx. 1 root root 22 Mar 9 15:03 /etc/os-release -> ..//usr/lib/os-release > -rw-r--r--. 1 root root 513 Mar 9 15:03 /usr/lib/os-release > > Is it deliberate that there are // at the beginning of the referenced path in the symlink? > > No. At the same time, it doesn't functionally change anything. We can fix it in 8.3.0. Version-Release number of selected component (if applicable): $ rpm -qa | grep redhat-release redhat-release-8.6-0.1.el8.x86_64
Let's fix this in RHEL 8.8 and confirm it is already fixed in RHEL 9.
The same issue is found in RHEL9.1 $ cat /etc/os-release NAME="Red Hat Enterprise Linux" VERSION="9.1 (Plow)" ID="rhel" ID_LIKE="fedora" VERSION_ID="9.1" PLATFORM_ID="platform:el9" PRETTY_NAME="Red Hat Enterprise Linux 9.1 (Plow)" ANSI_COLOR="0;31" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos" HOME_URL="https://www.redhat.com/" DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/9/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 9" REDHAT_BUGZILLA_PRODUCT_VERSION=9.1 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="9.1" $ ls -al /etc/os-release lrwxrwxrwx. 1 root root 22 Sep 28 04:07 /etc/os-release -> ..//usr/lib/os-release $ rpm -qa | grep redhat-release redhat-release-9.1-1.9.el9.x86_64
Build created: redhat-release-8.8-0.5.el8
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 (redhat-release bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2946