Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 187939

Summary: sys-auth/pam_mount volumes stays mounted after logout with ssh
Product: Gentoo Linux Reporter: François Valenduc <francoisvalenduc>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description François Valenduc 2007-08-06 19:14:46 UTC
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.

Reproducible: Always

Steps to Reproduce:
1.Open an ssh session to a server where volumes mounted by pam_mount are configured
2.Close the ssh session
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-06 20:46:47 UTC
Try you luck upstream, not a Gentoo-specific issue.

http://sourceforge.net/tracker/?group_id=41452&atid=430593
Comment 2 François Valenduc 2007-08-07 20:14:07 UTC
It's indeed probably a bug that should be reported upstream but I think it's a bug with ssh rather than with pam_mount. The problem doesn't occur if I connect locally in a console or with gdm. It only appears with ssh (either locally or with a remote connection).