Package: dropbear-initramfs
Version: 2018.76-5

Hi,

The default script /usr/share/initramfs-tools/scripts/init-
premount/dropbear have a line 
`[ "$IP" != off -a "$IP" != none -a -x /sbin/dropbear ] || exit 0`

This causes problems on ipv6-only systems, as the kernel ip parameter
can't be used to set the early-boot ip in that case. Have to be done
using custom initrd scripts.

This is used to do remote luks unlock of headless servers and used to
work with an earlier version.

This issue seems to have been introduced in dropbear 2015.68-1, as a
fix for:
"Exit gracefully if $IP is 'none' or 'off'.  (Closes: #692932.)"

As the kernel doesn't have a native way of setting the early ipv6
address it's wrong to assume that ip=none or ip=off means no
networking.

Since the initrd scripts have been extracted to a separate package,
it's now possible to install dropbear without the initrd scripts, thus
solving the original problem that introduced this issue. Perhaps a
revert of behavior is in place?

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to