Disk encrytion auto-unlocking working but stil prompts for password for 10secs

Hi all, I setup disk encryption with luks and auto-unlock with tpm2. I used clevis bind. I used dracut to regenerate the initramfs. When I restart, Plymonth still prompts for password, but if I don’t enter anything for 10 secs, it continues and lets me in, using the tpm2. Is there a way to have the tpm2 part take priority and then if it fails, show the prompt?
Thank you.

1 Like

Welcome to ask.:fedora:edora @carlosrodrifernandez

Could you please give us more info’s as :

inxi -Fzx in terminal and post the output as </> Preformatted text here.

And if you not had time yet please read also #start-here

inxi -Fzx
System:
  Kernel: 5.18.6-100.fc35.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.37-17.fc35 Desktop: GNOME v: 41.7
    Distro: Fedora release 35 (Thirty Five)
Machine:
  Type: Desktop Mobo: ASRock model: B450M/ac R2.0
    serial: <superuser required> UEFI: American Megatrends v: P2.70
    date: 05/10/2021
CPU:
  Info: 6-core model: AMD Ryzen 5 5600G with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3 rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 16 MiB
  Speed (MHz): avg: 2965 high: 3021 min/max: 400/4464 boost: enabled cores:
    1: 2588 2: 2998 3: 3021 4: 2999 5: 2997 6: 2997 7: 2998 8: 2998 9: 2994
    10: 2999 11: 2998 12: 2997 bogomips: 93600
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Cezanne driver: amdgpu v: kernel bus-ID: 06:00.0
  Device-2: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-5:3
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 21.1.4 driver: X:
    loaded: amdgpu unloaded: fbdev,modesetting,vesa gpu: amdgpu
    resolution: 3840x2160~60Hz
  OpenGL:
    renderer: AMD RENOIR (DRM 3.46.0 5.18.6-100.fc35.x86_64 LLVM 13.0.0)
    v: 4.6 Mesa 21.3.9 direct render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
    v: kernel bus-ID: 06:00.1
  Device-2: AMD Family 17h/19h HD Audio vendor: ASRock
    driver: snd_hda_intel v: kernel bus-ID: 06:00.6
  Device-3: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-5:3
  Sound Server-1: ALSA v: k5.18.6-100.fc35.x86_64 running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.52 running: yes
Network:
  Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
    v: kernel bus-ID: 03:00.0
  IF: wlp3s0 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASRock driver: r8169 v: kernel port: f000 bus-ID: 04:00.0
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-1:2
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Drives:
  Local Storage: total: 465.76 GiB used: 93.91 GiB (20.2%)
  ID-1: /dev/sda vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB
Partition:
  ID-1: / size: 464.16 GiB used: 93.61 GiB (20.2%) fs: btrfs dev: /dev/dm-0
    mapped: luks-e7b01b6a-39c9-4aba-9012-89d7a8e59156
  ID-2: /boot size: 973.4 MiB used: 294 MiB (30.2%) fs: ext4 dev: /dev/sda2
  ID-3: /boot/efi size: 598.8 MiB used: 14 MiB (2.3%) fs: vfat
    dev: /dev/sda1
  ID-4: /home size: 464.16 GiB used: 93.61 GiB (20.2%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-e7b01b6a-39c9-4aba-9012-89d7a8e59156
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 33.0 C mobo: 33.0 C gpu: amdgpu temp: 31.0 C
  Fan Speeds (RPM): fan-1: 0 fan-2: 1363 fan-3: 0 fan-4: 0 fan-5: 0
    fan-6: 0 fan-7: 0
Info:
  Processes: 382 Uptime: 1d 26m Memory: 14.89 GiB used: 6.33 GiB (42.5%)
  Init: systemd runlevel: 5 Compilers: gcc: 11.3.1 clang: 13.0.0 Packages: 9
  note: see --pkg Shell: Bash v: 5.1.8 inxi: 3.3.16

It seems to be just an old bug: plymouth splash is not dismissed when LUKS device is unlocked non-interactively (#126) · Issues · plymouth / plymouth · GitLab

1 Like