[Pkg-shadow-devel] Re: problem with CLOSE_SESSION

Nicolas François nicolas.francois at centraliens.net
Wed Jun 14 23:02:29 UTC 2006


On Wed, Jun 14, 2006 at 11:26:47PM +0200, eric.rougier at tiscali.fr wrote:

> After logout
> 
> pam_mount: received order to close things
> pam_mount: real and effective user ID are 0 and 0.
> pam_mount: command: /usr/sbin/pmvarrun [-u] [rougiere] [-d] [-o] [-1]
> pam_mount: setting uid to 0
> pam_mount: real user/group IDs are 0/1000, effective is 0/1000
> pmvarrun: parsed count value 7
> pam_mount: pmvarrun says login count is 6
> pam_mount: rougiere seems to have other remaining open sessions
> pam_mount: pam_mount execution complete
> pam_mount: Clean global config (0)
> pam_mount: clean system authtok (0)

This make me think that pam_mount was called when the session was closed.

I don't know how pmvarrun works, and I don't understand why it retruns
that you have 6 other sessions (this may be the reason why there are no
umounts).
Maybe you can try to reboot and login on a console (without login on X
previously; the goal is to avoid any other open session: just login and
logout, without executing anything else). You can maybe also check with
"who" the number of open sessions.


Note: I've not seen the pam_mount module in your PAM's login file (it is
probably in one of the -common files included by the login's PAM file).
Make sure pam_mount is used as specified in its documentation.

I don't use pam_mount, so I can't help you much more.
Maybe you can contact the libpam-mount maintainer.

Kind Regards,
-- 
Nekral



More information about the Pkg-shadow-devel mailing list