Arne Nordmark <[EMAIL PROTECTED]> writes:

> Package: libpam-openafs-session
> Version: 1.0-6
> Severity: normal

> In pam_close_session(), one finds

> if(setuid(UID) < 0) {

> called in the current process. 

> This breaks for example gdm, which can no longer control the X server
> during logout, and it subsequently complains about :0 being busy.

> If k_unlog() must be called as the PAM user, one should fork() and call
> setuid() in the child process.

> This old bug did not manifest itself earlier because of #399013.

There should be no need to call k_unlog as any particular user.  I'll drop
the call entirely.

Thanks!

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to