vconsole: Don't skip udev call for dummy device
authorTim Ruffing <crypto@timruffing.de>
Wed, 21 Nov 2018 20:41:15 +0000 (21:41 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Nov 2018 23:59:24 +0000 (00:59 +0100)
commit883eb9be985fd86d9cabe967eeeab91cdd396a81
treec705b8288db9dd0090cd019dc8278fc27a358a80
parent66a5b5ce9b991327d594f7b635de16999ca54093
vconsole: Don't skip udev call for dummy device

Kernel 4.19 supports deferred console takeover [0], i.e., fbcon will
take over the console only when the first text is displayed on the
console. Before that event, only the dummy console is active. Our
currently udev rules call systemd-vconsole on every vtcon except for
dummy consoles. Thus the exception for dummy consoles prevents a call
to systemd-vconsole when no text is displayed on the console, and as a
consequence, the keymap will not be set in that case. This is wrong and
leads to issues when keyboard input is expected without text on the
console, e.g., when a graphical password prompt is used in the boot
process.

This reverts commit 6b169c13ecf645a0a341f49b9dc2afb312a74206,
which introduced the exception for dummy devices to save unnecessary
udev calls.

Fixes #10826.

[0] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=83d83bebf40132e2d55ec58af666713cc76f9764
src/vconsole/90-vconsole.rules.in