hi!
ok, as things are, this issue didn't get out of my head today. and i
thought that the most straight-forward while least invasive solution
would be:
in 'debian/initramfs/premount-dropbear' (in package) aka
'/usr/share/initramfs-tools/scripts/init-premount/dropbear' (when
installed), in line 32, add a trailing '&'. i.e. what was:
configure_networking
should now spell
configure_networking &
that's all. dropbear binds to 0 aka *, so getting the ip after
dropbear startup is ok. the output of the dhcpd might mess up the
console output and therefore the console password prompt a bit, but
i don't really have a good solution to that (deferring the dhcp
output is counterproductive, imho. maybe a 'sleep 1' after the
changed line helps at least in the cases of no errors and dhcp
response on first request, but imho that's not worth the sleep. a
configure_networking >/dev/null 2>&1 &
to simply suppress the output, or to write it to /tmp/something
instead of /dev/null might be worth considering... dunno...).
if you don't want to wait for a package version with this change
incorporated, changing this in your installation and running
update-initramfs afterwards should be sufficient to make it active.
gerrit, please forgive me for not supplying a patch/diff, but...
well... i mean... you know... (it's just one char! ;)
regards,
Chris
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]