Encountered this behaviour in dropbear-initramfs in version 2022.83-1+deb12u2 on bare metal installation of Debian 12.8. Bug seems to occur if: - Debian 12.8 installed as LUKS-encrypted system (unencrypted /boot, encrypted root)
- dropbear-initramfs installed
- A network adapter is NOT added to /etc/initramfs-tools/modules
- update-initramfs -u is run
- The machine is rebooted and the LUKS password is entered at the console

If these conditions are met, then after entry of the unlock password, the system hangs for approximately a minute, and then an endless stream of the following is emitted on the console:
/scripts/init-premount/dropbear: line 339: sleep: not found
/scripts/init-premount/dropbear: line 149: cat: not found

This does not appear to prevent access to the system from anything except the console (if ssh has been previously configured then one can still remote into the system)

It only appears to occur if there is no network adapter present at all in the initramfs boot environment. I don't yet know the failure chain that leads from no adapter present to sleep and cat not found.

If an ethernet adapter is present in the initramfs stage then this bug does not appear to occur, regardless of whether the adapter is configured with an IP address or not.

Reply via email to