diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-02-24 03:59:50 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-24 03:59:50 +0100 |
commit | 543407517e05688915128cfc544c5d7f97f240ef (patch) | |
tree | 91f1f3cb40390b934223b66786eae6fbca489a1a /units/smartcard.target | |
parent | 01efdf13a6ee9a14fd6d8b41a5d522d5917e1fbc (diff) |
getty-generator: verify ttys before we make use of them
The ttyS[0-3] devices are weird. They may be enumerated, but when one
actually tries to open and use them they return EIO, because they don't
actually exist. Because they may be enumerated they may be specified on
the kernel command line as console=. And some people do that as default.
As response to that we'll spawn a getty on the tty that will quickly
fail, and we retry a couple of time before giving up. That is quite
noisy.
With this new change we will validate all serial terminals configured
with console= on the kernel cmdline before adding gettys on them, and
remove the invalid ones. THis should remove the noise later on.
This should make Eric Paris happy!
Diffstat (limited to 'units/smartcard.target')
0 files changed, 0 insertions, 0 deletions