🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7150

Bug#1156134: dracut-core: 45plymouth doesn't include evdev, plymouth falls back to VT input

#7150
From: Benjamin Drung
Date: Wed, 02 Dec 2026 12:30
65 lines
4450 bytes
Hi,

On Wed, 2026-12-02 at 11:20 +0100, Laurent Bigonville wrote:
> Package: dracut-core
> Version: 113-4
> Severity: normal
> Subject: dracut-core: 45plymouth doesn't include evdev, plymouth falls back to VT input
> 
> Dear Maintainer,
> 
> The 45plymouth module does not add the evdev kernel module to the
> initramfs. On Debian evdev is built as a module (CONFIG_INPUT_EVDEV=m),
> so during early boot there are no /dev/input/event* nodes and plymouth
> cannot use its libevdev/xkbcommon input backend. It ignores every
> input device ("Ignoring, since this is a non-evdev device" in
> plymouth-debug.log) and reads the keyboard through the VT instead. The
> real system only loads evdev after the switch to the real root, when
> the passphrase prompt is already over.
> 
> Consequences at the cryptsetup passphrase prompt:
>  - plymouth doesn't use the XKB layout it reads from
>    /etc/default/keyboard;
>  - its Caps Lock indicator is never shown with console-setup keymaps
>    for layouts with non-ASCII letters, because ckbcomp emulates Caps
>    Lock with CtrlL_Lock (see #514464).
> 
> Everything else the evdev backend needs is already in the initramfs
> (libxkbcommon, /usr/share/X11/xkb, /etc/default/keyboard).
> 
> Adding the module fixes it:
> 
>   echo 'add_drivers+=" evdev "' > /etc/dracut.conf.d/evdev.conf
>   update-initramfs -u
> 
> after which plymouth-debug.log shows "Listening for keys from device
> 'AT Translated Set 2 keyboard'" before the password request, and the
> Caps Lock indicator works.
> 
> Could you add something like this to
> modules.d/45plymouth/module-setup.sh?
> 
>   # called by dracut
>   installkernel() {
>       instmods evdev
>   }
> 
> With it, evdev.ko ends up in the initramfs both with --hostonly and
> --no-hostonly. instmods is optional by default and dracut-install skips
> built-in modules ("is a builtin kernel module"); I checked with a
> module tree where evdev is listed in modules.builtin and the image
> builds fine. So this is harmless on kernels that build evdev in, such
> as Fedora's, and probably worth forwarding upstream.
> 
> I've also asked the kernel team to build evdev in (#1156083); if that
> happens this change becomes a no-op. The initramfs-tools hook shipped
> by plymouth gets the same change (manual_add_modules evdev).

may I ask to forward that fix to
https://github.com/dracut-ng/dracut/pulls to get it reviewed and merged
upstream first?

-- 
Benjamin Drung
Debian & Ubuntu Developer
Technical Details
Message-ID: <O5RDb-fxy7-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <O5PL3-fwzM-19@gated-at.bofh.it> <O5PL3-fwzM-19@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Benjamin Drung <bdrung@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.kernel
Subject: Bug#1156134: dracut-core: 45plymouth doesn't include evdev, plymouth falls back to VT input
Date: Wed, 02 Dec 2026 13:30:01 +0100
Message-ID: <O5RDb-fxy7-1@gated-at.bofh.it>
References: <O5PL3-fwzM-19@gated-at.bofh.it> <O5PL3-fwzM-19@gated-at.bofh.it>
X-Original-To: Laurent Bigonville <bigon@debian.org>, 1156134@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Dec  2 12:27:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Benjamin Drung <bdrung@debian.org>, 1156134@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-kernel@lists.debian.org
X-Debian-Pr-Message: followup 1156134
X-Debian-Pr-Package: dracut-core
X-Debian-Pr-Source: dracut
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.56.2-9 
MIME-Version: 1.0
X-Debian-User: bdrung
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006496
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 65
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 02 Dec 2026 13:24:36 +0100
X-Original-Message-ID: <0969601f3bd6ea59e37d62edb75b2aacae5875ba.camel@debian.org>
X-Original-References: <179620682227.56252.10262016099219020457.reportbug@eriador.bigon.be> <179620682227.56252.10262016099219020457.reportbug@eriador.bigon.be>