Open Peter-Ries opened 1 year ago
For testing purposes I switched back to mkinitcpio: everything works fine again Back to dracut: error comes back
So finally returned back to working mkinitcpio.
I kept the debug log files if of interest, but I will stay with the working mkinitcpio...
Describe the bug After migrating two laptops from mkinitcpio to dracut one laptop gets two "ghost-enter-key pressed" when an USB-C plug is connected that delivers power. The USB-C device is then deactivated and I need to enter the password on laptop keyboard. Even a dumb USB-C powersupply connected "presses enter" two times while waiting for LUKS password. Weird. I have tried 3 different kernels. All the same behaviour.
Distribution used EndeavourOS more see at the end of text.
Dracut version dracut-056-2
Init system systemd
To Reproduce Couldn't even reproduce on second laptop
Expected behavior Prevent pseudo inputs from devices on USB-C
Additional context Really hard to explain all that, as it took me 1 day goind through MB of logs a.s.o. and it was hard to compare both laptops where one is working fin (lenovo x270) and the other (lenovo t14 amd) doing weird stuff that appeared first after converting to dracut.
It would help if I could adjust dracut to delay ask-for-password for some seconds to test. But I don't know how I can achieve this.
I also have two journalctl logs from bootprocess with rd.debug, rd.udev.debug kernel parameters set to compare working against faulty device. But they are some 10000 lines and I don't knwo if they can help. I can provide then on demand.