Package: dropbear
Version: 2012.55-1.4
Severity: normal

Hi

I use dropbear to allow remote unlocking of an encrypted root filesystem.
My /etc/default/dropbear contains NO_START=1 so I expect it to shut down
so that OpenSSH can start instead after initrd. That also works as expected
if I boot the system and enter the encryption key at the console. But if I enter
the encryption key using ssh via dropbear (i.e. by sshing into the box and
running 'echo -ne key >/lib/cryptsetup/passfifo'), dropbear is not stopped.
It remains running and prevents OpenSSH from starting. It turns out that
this was because the last command in 
/usr/share/initramfs-tools/scripts/init-bottom/dropbear,

kill `cat /var/run/dropbear.pid`

kills one dropbear process, but leaves another one (with a higher pid). So my
crude solution was to add the following to the same file:

killall dropbear

Regards,

Oskar Liljeblad ([email protected])


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to