Bug 1577598 - /etc/issue does not contain the proper information
Summary: /etc/issue does not contain the proper information
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-release
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mohan Boddu
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-13 12:08 UTC by Matt Daveson
Modified: 2018-05-13 15:34 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-13 15:34:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matt Daveson 2018-05-13 12:08:56 UTC
$ cat /etc/issue 
\S
Kernel \r on an \m (\l)

Comment 1 Stephen Gallagher 2018-05-13 12:24:15 UTC
Could you perhaps provide some information about what you think it *should* be displaying? Because this bug report is not useful as-is.

Comment 2 Matt Daveson 2018-05-13 13:09:58 UTC
Maybe Fedora 28 Workstation or something like that, I don't know...

Comment 3 Kevin Fenzi 2018-05-13 15:34:52 UTC
/etc/issue is used by agetty to determine what the vty/tty/serial login prompts look like. From 'man agetty':

       S or S{VARIABLE}
              Insert  the  VARIABLE  data  from  /etc/os-release.   If  this  file  does not exist then fall back to
              /usr/lib/os-release.  If the VARIABLE argument is not specified, then use PRETTY_NAME from the file or
              the  system  name (see \s).  This escape code allows to keep /etc/issue distribution and release inde‐
              pendent.  Note that \S{ANSI_COLOR} is converted to the real terminal escape sequence.

So, the /etc/issue we ship results in agetty displaying something like: 

Fedora 29 (Workstation Edition)
Kernel 4.17.0-0.rc4.git2.1.fc29.x86_64 on a x86_64 (tty1)

(or server edition, or cloud, etc)

which seems completely reasonable. Perhaps you are looking for some information that is in /etc/os-release?


Note You need to log in before you can comment on or make changes to this bug.