<p dir="ltr"><br>
On Sep 10, 2013 6:41 PM, "Jan Engelhardt" <<a href="mailto:jengelh@inai.de">jengelh@inai.de</a>> wrote:<br>
><br>
><br>
> On Tuesday 2013-09-10 17:41, Lennart Poettering wrote:<br>
> >On Wed, 28.08.13 13:12, Michael Marineau (<a href="mailto:michael.marineau@coreos.com">michael.marineau@coreos.com</a>) wrote:<br>
> ><br>
> >> This enables a getty on active kernel consoles even when they are not<br>
> >> the last one specified on the kernel command line and mapped to<br>
> >> /dev/console. Now the order "console=ttyS0 console=tty0" works in<br>
> >> addition to "console=tty0 console=ttyS0".<br>
> ><br>
> >The kernel already makes a distinction between the<br>
> >primary console, and all others (the latter only receive logs, but you<br>
> >cannot read from them via /dev/console iirc), and so we propagated that<br>
> >distinction into systemd, too.<br>
> ><br>
> >I can totally see that this is confusing though, as nobody remembers the<br>
> >right ordering...<br>
><br>
> Though console= just follows the standard principle of "later values<br>
> override earlier ones", if nobody can remember the ordering, perhaps<br>
> the kernel should be taught a suboption to explicitly specify the<br>
> primary console. Think<br>
><br>
> console.primary=ttyS0 console=tty0<br>
> console=tty0 console.primary=ttyS0</p>
<p dir="ltr">That doesn't answer the question whether a getty should be started on secondary consoles though. My surprise was that the generator doesn't already do that, not how the primary console that gets mapped to /dev/console is chosen.<br>
</p>