Translated message

A translation of this page exists in English.

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content