[systemd-devel] log_target=console and multiple console devices
Lennart Poettering
lennart at poettering.net
Sat Dec 19 11:44:51 UTC 2020
On Sa, 14.11.20 12:23, Andrei Borzenkov (arvidjaar at gmail.com) wrote:
> Quoting https://freedesktop.org/wiki/Software/systemd/Debugging/
>
> console= can be specified multiple times, systemd will output to all of
> them.
>
>
> That's wrong. systemd will write to /dev/console and according to kernel
> documentation (and my experience :) ) kernel will forward it only to the
> last listed console. From
> https://www.kernel.org/doc/html/latest/admin-guide/serial-console.html:
>
> You can specify multiple console= options on the kernel command line.
> Output will appear on all of them. The last device will be used when you
> open /dev/console.
>
> So *kernel* output will indeed be duplicated to all of them, but not
> output written to /dev/console.
Could you please file a bug about this as github issue, so that we can
keep track of it there?
(We probably should convert that text into markdown anyway, and
maintain it as part of the git repo).
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list