I'm encountering a similar problem with pam_mount and decrypting a user home directory on login with Ubuntu 10.04 (Lucid Lynx). I originally had static keys set in crypttab and auto-mounted home in fstab but that started failing 100% a few weeks ago. I switched to pam_mount but have the same issues. I can mount it manually every time with:
I'm encountering a similar problem with pam_mount and decrypting a user home directory on login with Ubuntu 10.04 (Lucid Lynx). I originally had static keys set in crypttab and auto-mounted home in fstab but that started failing 100% a few weeks ago. I switched to pam_mount but have the same issues. I can mount it manually every time with:
mount.crypt -v -o keyfile= "/etc/keys/ dm-crypt/ user_crypt. key",fsk_ cipher= "aes-256- ecb",fsk_ hash="md5" /dev/sda7 /home/user
or by just using mount directly.