cryptmount reports segfault in dmesg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptmount (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cryptmount
I have a LUKS encrypted data partition and want it to mount it at boot, ideally before fstab. As there are problems with cryptsetup password promt etc with ubuntu 9.10, I tried to use cryptmount instead.
/etc/cryptmount
data {
keyformat
dev=/dev/sda6
keyfile=
dir=/data
fstype=ext3
}
In /etc/default/
CM_EARLYDV="data"
and
CM_BOOTDV="data"
and together.
Problem:
dmesg | grep crypt
[ 14.988099] cryptmount[882]: segfault at 0 ip 00be4f43 sp bfe707cc error 4 in libc-2.
[ 16.411724] cryptmount[1143]: segfault at 0 ip 009b5f43 sp bfb3771c error 4 in libc-2.
Manually starting
sudo /etc/init.
[sudo] password for vb:
Starting cryptmount targets (hit shift/ctrl if short of entropy):
Bitte geben Sie das Passwort für das Ziel »data« ein:
sh: /sbin/udevsettle: not found
vb@vbmobil:~$
mounts data successfully. Btw., there seems to be a problem with udevsettle (not available anymore?)
System is Xubuntu 9.10, Kernel 2.6.31-15-generic, cryptmount cryptmount-4.0
I can do further debugging if required, though the problem is the segfault occurs on boot only.
I rolled back to kernel 2.6.28-16-generic as this allows me to boot, unlock and mount LUKS partitions successfully. All kernel releases since have the same bug.