Package: dropbear
Version: 2012.55-1.2
Severity: normal

Hi Gerrit,

the postinst script may fail if initramfs-tools is not installed, due to
bogus usage of shell patterns:

if ( test -r /etc/initramfs-tools/initramfs.conf || test -r
/usr/share/initramfs-tools/conf-hooks.d/* ) &&

The bug can be reproduced when using a custom kernel, initramfs-tools _not_
installed, and e.g. the cryptsetup package installed, which provides an
additional file in /usr/share/initramfs-tools/conf-hooks.d/.

In this case, the postinst script fails this way:

Setting up dropbear (2012.55-1.2) ...
/var/lib/dpkg/info/dropbear.postinst: line 66: test:
/usr/share/initramfs-tools/conf-hooks.d/cryptsetup: binary operator
expected

Regards,
Tino


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to