This bug is affecting me when logging in via gdm in hardy. My home directory is encrypted in /dev/sda6. Steps to reproduce (after setting up pam_mount etc. in Ubuntu 8.04.1):
1. Log in as me (bill) via gdm.
2. Log out.
3. Log in as joe, a member of admin group.
4. As joe, do
$ sudo mkdir /mnt/bills-secrets
$ sudo mount /dev/mapper/_dev_sda6 /mnt/bills-secrets
Actual results: the plain text partition is visible to bill.
Expected results: when bill logs out, the crypto mapping is taken down.
Other information: ----
My /var/log/auth.log shows:
> Nov 4 15:11:42 foo-machine gdm[6157]: pam_mount(pam_mount.c:624) unmount of /dev/sda6 failed
I have also noticed that logout takes a few more seconds than expected when the home directory is mounted this way via encryption and pam_mount. Perhaps this delay is another symptom of the problem.
The relevant line in my /etc/security/pam_mount.conf.xml is
This bug is affecting me when logging in via gdm in hardy. My home directory is encrypted in /dev/sda6. Steps to reproduce (after setting up pam_mount etc. in Ubuntu 8.04.1):
1. Log in as me (bill) via gdm. _dev_sda6 /mnt/bills-secrets
2. Log out.
3. Log in as joe, a member of admin group.
4. As joe, do
$ sudo mkdir /mnt/bills-secrets
$ sudo mount /dev/mapper/
Actual results: the plain text partition is visible to bill.
Expected results: when bill logs out, the crypto mapping is taken down.
Other information: ----
My /var/log/auth.log shows:
> Nov 4 15:11:42 foo-machine gdm[6157]: pam_mount( pam_mount. c:624) unmount of /dev/sda6 failed
I have also noticed that logout takes a few more seconds than expected when the home directory is mounted this way via encryption and pam_mount. Perhaps this delay is another symptom of the problem.
The relevant line in my /etc/security/ pam_mount. conf.xml is
<volume user="bill" fstype="crypt" path="/dev/sda6" mountpoint= "/home/ bill" />