I have setup a encrypted home directory for me using a separate partition (sda2). I've created it using pmt-ehd. pam_mount correctly creates the encryption layer and mounts my home. The problem is the logout. On logout my home is unmounted (which is fine), but the encrypted device will not be removed. If I try to login again, pam_mount aborts with an error message:
Jun 29 19:38:09 chepre login: pam_mount(mount.c:213): Mount info: globalconf, user=aldi <volume fstype="crypt" server="(null)" path="/dev/sda2" mountpoint="/home/aldi2" cipher="aes-cbc-essiv:sha256" fskeypath="/tmp/aldi-chepre2.key" fskeycipher="aes-256-cbc" fskeyhash="sha256" options="fsck" /> fstab=0 ssh=0
Jun 29 19:38:10 chepre login: pam_mount(mount.c:64): Errors from underlying mount program:
Jun 29 19:38:10 chepre login: pam_mount(mount.c:68): crypt_activate: File exists
Jun 29 19:38:10 chepre login: pam_mount(pam_mount.c:521): mount of /dev/sda2 failed
All tests performed on the console.
Log in to post a comment.