Public bug reported: Binary package hint: cryptsetup
I hope you can fix this before the 7-10 release, as it breaks /etc/init.d/cryptdisks functionality on any machine without an asm-optimized aes module. In /lib/cryptsetup/cryptdisks.functions, the load_optimized_aes_module function breaks cryptsetup for any rig, such as mine, that doesn't happen to have a /arch/etctec/aes*.ko module, fails with a 'not found' message from ls. Sad. Please replace the code with something like what is below, which is shorter and should actually work (I have no assemby-optimized AES module, so can't fully test it). Two versions, one using modprobe and one somewhat less elegant. Your choice. load_optimized_aes_module () { local module # Add any assembly optimized AES module(s) for module in `modprobe -l aes* -t arch`; do modprobe -Q $module done } load_optimized_aes_module () { local modulepattern modulepattern=/lib/modules/`uname -r`/kernel/arch/*/*/aes*.ko # Add assembly optimized AES module if it exists test -f $modulepattern && insmod $asm_module 2>/dev/null || true } Cheers, JB ** Affects: cryptsetup (Ubuntu) Importance: Undecided Status: New -- function load_optimized_aes_module broken https://bugs.launchpad.net/bugs/151826 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs