Re: Gdm calls pam_close_session too early?



On Tue, Nov 04, 2003 at 03:40:56PM -0600, W. Michael Petullo wrote:
> I am the maintainer of pam_mount, a PAM module that allows one to mount
> remote volumes at login time.  Pam_mount also trys to unmount these
> volumes when a user logs out.
> 
> Gdm calls pam_close_session before resetting the system's X server.
> As a result, X programs like xscreensaver are still running when
> pam_close_session is called.  Because of this, open file descriptor can
> cause the unmounting of a user's remotely mounted home directory to fail.
> 
> I would like to see gdm call pam_close_session /after/ resetting the
> X server.  I entered a bug report in GNOME's bugzilla (# 126071) about
> gdm's use of pam_close_session.  I also submitted a very simple patch
> to bugzilla that fixes the problem.

Semi-fixed in HEAD (your fix was also a semi-fix), see bugzilla for more
info.

George

-- 
George <jirka 5z com>
   Let's not bicker and argue about who killed who.
                       -- Monty Python



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]