]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: always read additional issue file locations
authorKarel Zak <kzak@redhat.com>
Wed, 20 Nov 2024 10:19:02 +0000 (11:19 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 20 Nov 2024 10:27:24 +0000 (11:27 +0100)
commit508fb0e7ac103b68531a59db2a4473897853ab52
tree6950d276c3f811f71c4e7abac79d8e77144c6132
parenta5dd2fc5ff339079d60b72abb04f329a1e63dbda
agetty: always read additional issue file locations

Currently, additional locations (such as /run or /usr/lib) are only
read if /etc/issue does not exist. This behavior makes it difficult to use
local settings (/etc) together with generated (/run) and distribution-specific
(/usr/lib) files. Let's read all the locations.

If the output of issue files is unwanted, the option --noissue can be
used, or the default locations can be ignored by using --issue-file
<list>.

Fixes: https://github.com/util-linux/util-linux/issues/3279
Addresses: https://github.com/systemd/systemd/issues/35071
Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/agetty.8.adoc
term-utils/agetty.c