RHEL7: Escape code '\S' on the first line of the issue-file (/etc/issue) instead of the Red Hat product name and version

Solution Verified - Updated -

Issue

  • It seems the file /etc/issue is not correct on RHEL 7 as below. Prior releases such as RHEL5 or RHEL6 would contain the Red Hat product name and version in the first line. However, on RHEL 7 the first line only contains an \S.
$ cat /etc/issue
\S
Kernel \r on an \m
  • Example from RHEL 6:
$ cat /etc/issue
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Kernel \r on an \m
  • Example from RHEL 5:
$ cat /etc/issue
Red Hat Enterprise Linux Server release 5.10 (Tikanga)
Kernel \r on an \m

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.