dracutdevs / dracut

dracut the event driven initramfs infrastructure
https://github.com/dracutdevs/dracut/wiki
GNU General Public License v2.0
600 stars 399 forks source link

Dracut wrong password even it's right + libgcc_s.so.1 must be installed #2599

Closed Fulgurance closed 9 months ago

Fulgurance commented 9 months ago

Describe the bug So my system is configured like that in a VM under VirtualBox:

/dev/sda1 (/boot/efi) FAT32 /dev/sda2 (/boot) BTRFS /dev/sda3 (/) LVM on LUKS with 2 volumes, Swap and Root

I generated the initramfs with dracut with the linux kernel 6.5.1, and I added the elogind support for the initramfs.

When I restart the VM to boot the new system, the prompt ask for the password, but even the password is right, it say it's wrong. I checked, the issue is not from the keyboard (I use a qwerty keybord).

The screen print 2 errors:

libgcc_s.so.1 must be installed for pthread_exit to work
Wrong password

Distribution used It's actually a new distribution I am working on, completely from scratch. Quite close to LFS, but with Openrc integration and the package manager I am coding (ISM). Project page: https://github.com/Fulgurance/ISM

Dracut version 059

Init system Openrc

To Reproduce Installing a Linux system from scratch, generate an initramfs and reboot

Expected behavior Boot properly and dracut recognize the password

Fulgurance commented 9 months ago

This is a screenshot of the error: VirtualBox_ISM - BaseNew LVM+Crypt Boot Ready Clone_31_12_2023_22_01_28

Fulgurance commented 9 months ago

Let me know if you need additional informations about the system

Fulgurance commented 9 months ago

Hi, I finally solved the problem, I just needed to add the missing library into the initramfs, even I am not pretty sure why dracut didn't include it.

Thank you