summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTim Ruffing <crypto@timruffing.de>2018-11-21 21:41:15 +0100
committerLennart Poettering <lennart@poettering.net>2018-11-22 00:59:24 +0100
commit883eb9be985fd86d9cabe967eeeab91cdd396a81 (patch)
treec705b8288db9dd0090cd019dc8278fc27a358a80 /src
parentbasic/user-util: properly protect use of gshadow (diff)
downloadsystemd-883eb9be985fd86d9cabe967eeeab91cdd396a81.tar.xz
systemd-883eb9be985fd86d9cabe967eeeab91cdd396a81.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/vconsole/90-vconsole.rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vconsole/90-vconsole.rules.in b/src/vconsole/90-vconsole.rules.in
index 11137163ed..70679b6dd2 100644
--- a/src/vconsole/90-vconsole.rules.in
+++ b/src/vconsole/90-vconsole.rules.in
@@ -9,4 +9,4 @@
# Each vtcon keeps its own state of fonts.
#
-ACTION=="add", SUBSYSTEM=="vtconsole", KERNEL=="vtcon*", ATTR{name}!="*dummy device", RUN+="@rootlibexecdir@/systemd-vconsole-setup"
+ACTION=="add", SUBSYSTEM=="vtconsole", KERNEL=="vtcon*", RUN+="@rootlibexecdir@/systemd-vconsole-setup"