From: Thorsten Kukuk Date: Mon, 2 Feb 2026 15:06:13 +0000 (+0100) Subject: getty: remove --issue-file parameter X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a40d93400759c8eb46a2ec8702735bde2333812a;p=thirdparty%2Fsystemd.git 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. --- diff --git a/README b/README index 1bbcd5f671c..a5e61637218 100644 --- a/README +++ b/README @@ -259,9 +259,9 @@ REQUIREMENTS: During runtime, you need the following additional dependencies: - util-linux >= v2.27.1 required (including but not limited to: mount, - umount, swapon, swapoff, sulogin, - agetty, fsck) + util-linux >= v2.41 required (including but not limited to: mount, + umount, swapon, swapoff, sulogin, + agetty, fsck) dbus >= 1.4.0 (strictly speaking optional, but recommended) NOTE: If using dbus < 1.9.18, you should override the default policy directory (--with-dbuspolicydir=/etc/dbus-1/system.d). diff --git a/TODO b/TODO index 321e4f454a1..090bbf0e548 100644 --- a/TODO +++ b/TODO @@ -116,10 +116,6 @@ Deprecations and removals: * 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: * Maybe introducean InodeRef structure inspired by PidRef, which references a diff --git a/units/console-getty.service.in b/units/console-getty.service.in index d28fddbc039..947346aebc4 100644 --- a/units/console-getty.service.in +++ b/units/console-getty.service.in @@ -17,7 +17,7 @@ Before=getty.target ConditionPathExists=/dev/console [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 Restart=always UtmpIdentifier=cons diff --git a/units/container-getty@.service.in b/units/container-getty@.service.in index 839a76c73f8..1bd0edcd66e 100644 --- a/units/container-getty@.service.in +++ b/units/container-getty@.service.in @@ -22,7 +22,7 @@ Conflicts=rescue.service Before=rescue.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 Restart=always RestartSec=0 diff --git a/units/getty@.service.in b/units/getty@.service.in index e7e2aab045f..2a7ff07bb9c 100644 --- a/units/getty@.service.in +++ b/units/getty@.service.in @@ -31,7 +31,7 @@ Before=rescue.service ConditionPathExists=/dev/tty0 [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 Restart=always RestartSec=0 diff --git a/units/serial-getty@.service.in b/units/serial-getty@.service.in index 01c6b0abb23..d89805a0ef6 100644 --- a/units/serial-getty@.service.in +++ b/units/serial-getty@.service.in @@ -27,7 +27,7 @@ Conflicts=rescue.service Before=rescue.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 Restart=always UtmpIdentifier=%I