[pkg-cryptsetup-devel] Bug in /usr/share/initramfs-tools/scripts/local-top/cryptroot

Swâmi Petaramesh swami at petaramesh.org
Thu Mar 14 16:36:48 UTC 2013


Hi folks,

(Please copy me on answers, I'm not subscribed to these lists [yet])

I've recently upgraded one of my fully encrypted systems from Ubuntu 
12.10 to 13.04 Alpha, and was surprised to see my system sometimes fail 
to boot, complaining it cannot find evms_activate.

I just checked and noticed a logic error in 
/usr/share/initramfs-tools/scripts/local-top/cryptroot : If the crypto 
source is unavailable (script line 205) it then tries to activate both 
LVM and EVMS (line 160), AND EXITS IN ERROR IF EVMS IS NOT AVAILABLE on 
system. It doesn't give a shit trying to guess whether EVMS is needed or 
not, it plain fails and exits.

This really looks like a serious bug - that has started preventing my 
system from booting randomly at times... - and needs a fix, especially 
taking into consideration that EVMS is essentially and obsolete, 
abandoned system, that will thus be available on very few systems, with 
good chances that this bug will then be triggered...

Kind regards.




More information about the pkg-cryptsetup-devel mailing list