diff --git a/TODO b/TODO index f3cfbcbaef..d3cb7873d4 100644 --- a/TODO +++ b/TODO @@ -118,6 +118,10 @@ 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*sevice.in + Features: * replace bootctl's PE version check to actually use APIs from pe-binary.[ch] diff --git a/units/console-getty.service.in b/units/console-getty.service.in index 2182109009..967d8337ab 100644 --- a/units/console-getty.service.in +++ b/units/console-getty.service.in @@ -20,7 +20,7 @@ Before=getty.target ConditionPathExists=/dev/console [Service] -ExecStart=-/sbin/agetty --noreset --noclear --keep-baud 115200,57600,38400,9600 - ${TERM} +ExecStart=-/sbin/agetty --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d --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 f24bb73fc1..e0b27613df 100644 --- a/units/container-getty@.service.in +++ b/units/container-getty@.service.in @@ -25,7 +25,7 @@ Conflicts=rescue.service Before=rescue.service [Service] -ExecStart=-/sbin/agetty --noreset --noclear - ${TERM} +ExecStart=-/sbin/agetty --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d - ${TERM} Type=idle Restart=always RestartSec=0 diff --git a/units/getty@.service.in b/units/getty@.service.in index a43e01144f..104c4acc96 100644 --- a/units/getty@.service.in +++ b/units/getty@.service.in @@ -34,7 +34,7 @@ Before=rescue.service ConditionPathExists=/dev/tty0 [Service] -ExecStart=-/sbin/agetty --noreset --noclear - ${TERM} +ExecStart=-/sbin/agetty --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d - ${TERM} Type=idle Restart=always RestartSec=0 diff --git a/units/serial-getty@.service.in b/units/serial-getty@.service.in index c0adaf7bdb..0134c83d48 100644 --- a/units/serial-getty@.service.in +++ b/units/serial-getty@.service.in @@ -30,7 +30,7 @@ Conflicts=rescue.service Before=rescue.service [Service] -ExecStart=-/sbin/agetty --noreset --noclear --keep-baud 115200,57600,38400,9600 - ${TERM} +ExecStart=-/sbin/agetty --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d --keep-baud 115200,57600,38400,9600 - ${TERM} Type=idle Restart=always UtmpIdentifier=%I