RHEL7 の issue-file (/etc/issue) の一行目に、Red Hat 製品名とバージョンではなくエスケープコード \S が記載されている

Solution Verified - Updated -

Issue

  • 以下のように、RHEL 7 の /etc/issue ファイルが正しくないようです。RHEL5 や RHEL6 などの以前のリリースでは、一行目に Red Hat 製品名とバージョンが記載されていました。ただし、RHEL 7 のファイルの一行目には \S コードしか記載されていません。
$ cat /etc/issue
\S
Kernel \r on an \m
  • RHEL 6 の場合:
$ cat /etc/issue
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Kernel \r on an \m
  • 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.