[Bug 1531964] Re: Unable to unlock cryptsetup with external keyboard when using MODULES=dep

Simon Déziel 1531964 at bugs.launchpad.net
Fri Oct 4 13:25:45 UTC 2024


Unfortunately, this is still an issue on Jammy:

$ lsb_release -rd
Description:	Ubuntu 22.04.5 LTS
Release:	22.04

$ apt-cache policy initramfs-tools linux-image-generic-hwe-22.04
initramfs-tools:
  Installed: 0.140ubuntu13.5
  Candidate: 0.140ubuntu13.5
  Version table:
 *** 0.140ubuntu13.5 100
        100 /var/lib/dpkg/status
     0.140ubuntu13.4 500
        500 https://apt.sdeziel.info/archive/ubuntu jammy-updates/main amd64 Packages
     0.140ubuntu13 500
        500 https://apt.sdeziel.info/archive/ubuntu jammy/main amd64 Packages
linux-image-generic-hwe-22.04:
  Installed: 6.8.0-45.45~22.04.1
  Candidate: 6.8.0-45.45~22.04.1
  Version table:
 *** 6.8.0-45.45~22.04.1 500
        500 https://apt.sdeziel.info/archive/ubuntu jammy-updates/main amd64 Packages
        500 https://apt.sdeziel.info/security/ubuntu jammy-security/main amd64 Packages
        100 /var/lib/dpkg/status
     5.15.0.25.27 500
        500 https://apt.sdeziel.info/archive/ubuntu jammy/main amd64 Packages

$ cat /etc/initramfs-tools/conf.d/modules.conf 
# File managed by Puppet
MODULES=dep

$ grep -v ^# /etc/initramfs-tools/modules 
hid
hid_generic
usbhid
xxhash_generic

Without the hid related modules, I cannot use my external keyboard to
unlock my cryptsetup.


** Changed in: initramfs-tools (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1531964

Title:
  Unable to unlock cryptsetup with external keyboard when using
  MODULES=dep

Status in One Hundred Papercuts:
  Incomplete
Status in initramfs-tools package in Ubuntu:
  Confirmed

Bug description:
  In order to unlock my root FS using an external keyboard I need to add
  the following:

   hid_generic
   mac_hid
   usbhid

  to /etc/initramfs-tools/modules. Otherwise, only the laptop's built-in
  keyboard works.

  In LP: #229732, this was fixed by loading a few modules in the panic
  function. It seems the list of module could be augmented.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: initramfs-tools 0.120ubuntu6
  ProcVersionSignature: Ubuntu 4.3.0-5.16-generic 4.3.3
  Uname: Linux 4.3.0-5-generic x86_64
  ApportVersion: 2.19.3-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Jan  7 14:08:51 2016
  PackageArchitecture: all
  SourcePackage: initramfs-tools
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1531964/+subscriptions




More information about the foundations-bugs mailing list