Bug 1351

Summary: encrypted pam_mount volumes stays mounted after logout with ssh
Product: Portable OpenSSH Reporter: François Valenduc <francois.valenduc>
Component: PAM supportAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: dtucker
Priority: P2    
Version: 4.6p1   
Hardware: Other   
OS: Linux   

Description François Valenduc 2007-08-08 06:18:13 AEST
I am using encrypted home directories mounted by pam_mount at the opening of
the session. I have also configured ssh to use pam_mount during the
authentification process. The problem is that when I close the ssh session, the
encrypted volumes aren't unmounted. This doesn't happen for a local connection.
In that case, encrypted volume are correctly unmounted after logout.
Comment 1 Darren Tucker 2007-08-15 23:17:10 AEST
I think this is another instance of bug #926.  There's a patch attached to that bug which apparently resolves it but I've not had a chance to look at it, and I'm not sure if it will apply to current version.
Comment 2 François Valenduc 2007-08-16 05:41:34 AEST
Thanks for your help. I tried the last patch attached to bug #926 and with that, pam volumes get unmounted after logout. So I hope this patch will be integrated in the next releases of openssh. For me, the bug is fixed with this patch
Comment 3 Damien Miller 2008-04-04 10:00:29 AEDT
Close resolved bugs after release.