diff options
| author | tv <tv@krebsco.de> | 2026-11-16 14:07:26 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 14:07:26 +0000 |
| commit | 2c37475d89b75d382728e7b33c01892770b15a26 (patch) | |
| tree | 1908279b94ac601ce7304bbac31a3a3868627adc /modules/host | |
| parent | 21393c506944153084fb40bbd681c874ff24a147 (diff) | |
pass the console's terminal type too
When starting, PID 1 asks /dev/console for its terminal type (see
main.c, unless TERM or systemd.tty.term.console is on the kernel command
line), which costs the 333ms timeout twice, in the initrd and again
after switching root:
[0.161825] systemd[1]: IPE support is disabled in the kernel, ignoring: ...
[0.495506] systemd[1]: Failed to query /dev/console for terminfo: Operation not supported
...
[1.051161] systemd[1]: IPE support is disabled in the kernel, ignoring: ...
[1.385218] systemd[1]: Failed to query /dev/console for terminfo: Operation not supported
Pass systemd.tty.term.console along with systemd.tty.term.ttyS0, and
fall back to "dumb" without $TERM, as then nobody would answer either.
Diffstat (limited to 'modules/host')
0 files changed, 0 insertions, 0 deletions
