the bug is in line 150 of /usr/share/initramfs-tools/hooks/cryptroot:

       if ! deps=$(vgs --noheadings -o pv_name $(echo "$node" | cut -d
'-' -f1)); then

if the name contains a dash, it is mangled. e.g. something like
"a--bcd-part" becomes.. "a", which is obviously wrong.
a simple solution is to replace that line with this line:

        if ! deps=$(vgs --noheadings -o pv_name $(echo "$node" | sed
-e 's/\([^-]\)-[^-].*/\1/g' -e 's/--/-/g' ) 2>/dev/null); then

which correctly yields "a-bcd".


please fix this ASAP because it's really a BIG problem for people
using full disk encryption.



Best regards,
Claudio



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

Reply via email to