Control: tag -1 moreinfo

Hi,

On Fri, 23 Aug 2024 at 13:22:01 +1200, jfp wrote:
> I get the decrypt prompt on the console, I enter the passphrase then the boot 
> continues.

You enter the passphrase a local console not from an SSH client right?
Note that if you don't need remote unlocking you can simply uninstall
dropbear-initramfs.

> the boot then stops for a long time on /scripts/init-bottom.
> then boot continues while displaying

Was the network stack configured and did dropbear start before you
entered the passphrase prompt?  If not, then such behavior is expected
as I explained in https://bugs.debian.org/1015810#10:

| However if you don't have BOOT=nfs then initramfs-tools-core's
| configure_networking() runs asynchronously starting from init-premount
| stage and might not give up before the execution is handed over to the
| normal system.  dropbear-initramfs' init-bottom scripts only wait for
| 60s by default but configure_networking() might take much longer (180s
| timeout for the device, up to 10s waiting time for udev to settle, then
| exponential backoff of 2+3+4+6+9+16+25+36+64+100=265s for the network
| configuration).
|
| Since 2020.81-2 the init-bottom timeout is configurable with
| DROPBEAR_SHUTDOWN_TIMEOUT and you can set it to a value that exceeds the
| typical configure_networking() duration on your system to be sure that
| there is leftover process passed init-bottom stage.  See #964187.

Does setting DROPBEAR_SHUTDOWN_TIMEOUT=300 (and rebuilding the initramfs
image) help?

-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to