getty: remove --issue-file parameter

agetty from util-linux is meanwhile following the configuration file
specification for /etc/issue. The usage of "--issue-file" breaks this
on distributions with current util-linux.
This commit is contained in:
Thorsten Kukuk
2026-02-03 21:00:19 +09:00
committed by Yu Watanabe
parent 4e5ceed9c5
commit a40d934007
6 changed files with 7 additions and 11 deletions
+3 -3
View File
@@ -259,9 +259,9 @@ REQUIREMENTS:
During runtime, you need the following additional During runtime, you need the following additional
dependencies: dependencies:
util-linux >= v2.27.1 required (including but not limited to: mount, util-linux >= v2.41 required (including but not limited to: mount,
umount, swapon, swapoff, sulogin, umount, swapon, swapoff, sulogin,
agetty, fsck) agetty, fsck)
dbus >= 1.4.0 (strictly speaking optional, but recommended) dbus >= 1.4.0 (strictly speaking optional, but recommended)
NOTE: If using dbus < 1.9.18, you should override the default NOTE: If using dbus < 1.9.18, you should override the default
policy directory (--with-dbuspolicydir=/etc/dbus-1/system.d). policy directory (--with-dbuspolicydir=/etc/dbus-1/system.d).
-4
View File
@@ -116,10 +116,6 @@ Deprecations and removals:
* Consider removing root=gpt-auto, and push people to use root=dissect instead. * Consider removing root=gpt-auto, and push people to use root=dissect instead.
* Once
https://github.com/util-linux/util-linux/commit/508fb0e7ac103b68531a59db2a4473897853ab52
has hit the prominent distributions, revert --issue-file= hack in units/*getty*service.in
Features: Features:
* Maybe introducean InodeRef structure inspired by PidRef, which references a * Maybe introducean InodeRef structure inspired by PidRef, which references a
+1 -1
View File
@@ -17,7 +17,7 @@ Before=getty.target
ConditionPathExists=/dev/console ConditionPathExists=/dev/console
[Service] [Service]
ExecStart=-{{AGETTY}} --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d --keep-baud 115200,57600,38400,9600 - ${TERM} ExecStart=-{{AGETTY}} --noreset --noclear --keep-baud 115200,57600,38400,9600 - ${TERM}
Type=idle Type=idle
Restart=always Restart=always
UtmpIdentifier=cons UtmpIdentifier=cons
+1 -1
View File
@@ -22,7 +22,7 @@ Conflicts=rescue.service
Before=rescue.service Before=rescue.service
[Service] [Service]
ExecStart=-{{AGETTY}} --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d - ${TERM} ExecStart=-{{AGETTY}} --noreset --noclear - ${TERM}
Type=idle Type=idle
Restart=always Restart=always
RestartSec=0 RestartSec=0
+1 -1
View File
@@ -31,7 +31,7 @@ Before=rescue.service
ConditionPathExists=/dev/tty0 ConditionPathExists=/dev/tty0
[Service] [Service]
ExecStart=-{{AGETTY}} --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d - ${TERM} ExecStart=-{{AGETTY}} --noreset --noclear - ${TERM}
Type=idle Type=idle
Restart=always Restart=always
RestartSec=0 RestartSec=0
+1 -1
View File
@@ -27,7 +27,7 @@ Conflicts=rescue.service
Before=rescue.service Before=rescue.service
[Service] [Service]
ExecStart=-{{AGETTY}} --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d --keep-baud 115200,57600,38400,9600 - ${TERM} ExecStart=-{{AGETTY}} --noreset --noclear --keep-baud 115200,57600,38400,9600 - ${TERM}
Type=idle Type=idle
Restart=always Restart=always
UtmpIdentifier=%I UtmpIdentifier=%I