RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2156946 - "agetty" does not handle the \l sequence in /etc/issue correctly
Summary: "agetty" does not handle the \l sequence in /etc/issue correctly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: util-linux
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Karel Zak
QA Contact: Radka Brychtova
URL:
Whiteboard:
: 2109252 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-29 19:51 UTC by Laszlo Ersek
Modified: 2023-05-09 10:43 UTC (History)
1 user (show)

Fixed In Version: util-linux-2.37.4-10.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 08:26:21 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-143374 0 None None None 2022-12-29 19:53:20 UTC
Red Hat Product Errata RHBA-2023:2581 0 None None None 2023-05-09 08:26:27 UTC

Description Laszlo Ersek 2022-12-29 19:51:22 UTC
* Description of problem:

Per agetty(8), when /etc/issue contains the sequence \l, agetty is supposed to print:

>        l
>            Insert the name of the current tty line.

This used to work with RHEL7, does not work with RHEL-9.1

* Version-Release number of selected component (if applicable):
util-linux-core-2.37.4-9.el9.x86_64

* How reproducible:
100%

* Steps to Reproduce:
1. modify /etc/issue to something like:

\S \n \m \r, \U, \l

2. switch to a different character console (e.g. Ctrl+Alt+F5)

* Actual results:
The last piece of information on the greeting line is "-".

* Expected results:
It should be "tty5".

Comment 1 Karel Zak 2023-01-11 12:31:43 UTC
This is fixed in the upstream tree (and in Fedora) by commit
http://github.com/util-linux/util-linux/commit/47831cc02ac0d71c335caecef1753f4c8861277c

Comment 3 Karel Zak 2023-01-17 16:56:14 UTC
*** Bug 2109252 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2023-05-09 08:26:21 UTC
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 (util-linux 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:2581


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