diff options
| author | Will Fancher <elvishjerricco@gmail.com> | 2025-04-04 18:15:12 -0400 |
|---|---|---|
| committer | Will Fancher <elvishjerricco@gmail.com> | 2025-04-05 23:29:14 -0400 |
| commit | afdd737c95e9672997280860099fcef960ffa102 (patch) | |
| tree | 24e7a1748a7538b679d539506db7146c501034ec /pkgs/development/python-modules/rangehttpserver | |
| parent | 52faf482a3889b7619003c0daec593a1912fddc1 (diff) | |
nixos/tests: Fix systemd-shutdown
Since 459ddaec261ae40149601e5bb487bd52936b4e50, stdout of PID 1
and children such as systemd generators and systemd-shutdown scripts
goes to `tty0` instead of `ttyS0`. This is because systemd's stdout is
`/dev/console`, which represents only one tty at a time, as explained
here: https://docs.kernel.org/admin-guide/serial-console.html
The reason PID 1's own output makes it to both consoles is because
it uses kmsg as its log target both before journald has started and
once the `systemd-shutdown` executable takes control. Unlike
`/dev/console`, kmsg output makes it to one console *of each type*,
i.e. one VT and one serial console.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
