🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#7137
From: Laurent Bigonville
Date: Wed, 02 Dec 2026 10:30
104 lines
5373 bytes
Package: dracut-core
Version: 113-4
Severity: normal

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).

Regards,
Laurent Bigonville


-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.3.6+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dracut-core depends on:
ii  cpio            2.15+dfsg-3
ii  dracut-install  113-4
ii  e2fsprogs       1.47.4-1+b3
ii  kmod            34.4-1
ii  libc6           2.43-8
ii  mount           2.42.4-1
ii  systemd-sysv    263~rc1-1
ii  udev            263~rc1-1

Versions of packages dracut-core recommends:
ii  binutils       2.47.50.20261120-1
ii  busybox        1:1.38.0-3+b2
ii  console-setup  1.250~local1
ii  systemd        263~rc1-1
ii  zstd           1.5.7+dfsg-4

Versions of packages dracut-core suggests:
ii  cryptsetup          2:2.8.9-1
ii  dmsetup             2:1.02.205-2+b2
pn  isomd5sum           <none>
pn  kpartx              <none>
ii  lvm2                2.03.31-2+b2
ii  mdadm               4.6-3
ii  parted              3.8-2
pn  squashfs-tools      <none>
ii  systemd-cryptsetup  263~rc1-1
ii  systemd-tpm         263~rc1-1

-- no debconf information
Technical Details
Message-ID: <O5PL3-fwzM-19@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Laurent Bigonville <bigon@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 11:30:01 +0100
Message-ID: <O5PL3-fwzM-19@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Dec  2 10:23:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Laurent Bigonville <bigon@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: report 1156134
X-Debian-Pr-Package: dracut-core
X-Debian-Pr-Source: dracut
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-User: bigon
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006480
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 104
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 02 Dec 2026 11:20:22 +0100
X-Original-Message-ID: <179620682227.56252.10262016099219020457.reportbug@eriador.bigon.be>