Package: cryptsetup
Version: 2:1.1.3-3
Severity: normal
The initramfs-tools cryptroot script assumes that /sbin is in $PATH for
calling lvm - everywhere else it specifies the full path to tools in
/sbin. Not a problem normally, but if you call the script manually it
will fail. Attached patch fixes this.
Cheers,
Bernd
--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
Index: initramfs/cryptroot-script
===================================================================
--- initramfs/cryptroot-script (revision 810)
+++ initramfs/cryptroot-script (working copy)
@@ -165,7 +165,7 @@
# Reduce padded --'s to -'s
vg=$(echo ${vg} | sed -e 's#--#-#g')
- lvm vgchange -ay ${vg}
+ /sbin/lvm vgchange -ay ${vg}
return $?
}