>Before unmount, the login count must be zero, not 1. This is the reason
>pam_mount does no unmount.
But the problem is that the effective gid is not 0 anymore. I think this
privilegue-dropping is a bug ('feature gone wrong') in ubuntu.
>To reset the login count, remove the file /var/run/pam_mount/$USER. Then
>a login as $USER should increase the value in this file to one, and the
>logout decreases it again to zero. Then the volumes will be unmounted.
>
>Regards,
> Bastian
>pam-mount-user mailing list
>pam-mount-user@li...
>https://lists.sourceforge.net/lists/listinfo/pam-mount-user
>
Confirmed!
>Dameon Wagner schrieb: misc.c: 264) command: /usr/local/ sbin/pmvarrun [-u] [tester] misc.c: 341) set_myuid(pre): real uid/gid=1004:1004, misc.c: 346) error setting uid to 0 pam_mount. c:360) pmvarrun says login count is 1
>> pam_mount(
>> [-o] [-1]
>> pam_mount(
>> effective uid/gid=1004:1004
>> pam_mount(
>> pam_mount(
>Before unmount, the login count must be zero, not 1. This is the reason
>pam_mount does no unmount.
But the problem is that the effective gid is not 0 anymore. I think this
privilegue-dropping is a bug ('feature gone wrong') in ubuntu.
>To reset the login count, remove the file /var/run/ pam_mount/ $USER. Then user@li. .. /lists. sourceforge. net/lists/ listinfo/ pam-mount- user
>a login as $USER should increase the value in this file to one, and the
>logout decreases it again to zero. Then the volumes will be unmounted.
>
>Regards,
> Bastian
>pam-mount-user mailing list
>pam-mount-
>https:/
>