From nobody@FreeBSD.org  Wed Apr 24 17:10:15 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 4210137B422
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 24 Apr 2002 17:10:15 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g3P08aj65452;
	Wed, 24 Apr 2002 17:08:36 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200204250008.g3P08aj65452@freefall.freebsd.org>
Date: Wed, 24 Apr 2002 17:08:36 -0700 (PDT)
From: Doug White <dwhite@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: xdm SIGABRTs after rev 1.3 of etc/pam.d/xdm applied
X-Send-Pr-Version: www-1.0

>Number:         37435
>Category:       bin
>Synopsis:       xdm SIGABRTs after rev 1.3 of etc/pam.d/xdm applied
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 24 17:20:01 PDT 2002
>Closed-Date:    Wed Oct 30 07:39:08 PST 2002
>Last-Modified:  Wed Oct 30 07:39:08 PST 2002
>Originator:     Doug White
>Release:        5.0-CURRENT, built today (4/24/2002)
>Organization:
FreeBSD
>Environment:
>Description:
If rev 1.3 of /etc/pam.d/xdm is applied (removing the 'session' keyword), 
xdm crashes with SIGABRT after the user attempts to log in.


>How-To-Repeat:
. Install XFree86 using their binary builds for FreeBSD-5
. Try to login
. Watch xdm go bewm

>Fix:
Revert etc/pam.d/xdm to rev 1.2, restoring the line

session         required        pam_unix.so
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->des 
Responsible-Changed-By: cjc 
Responsible-Changed-When: Sat Apr 27 17:30:10 PDT 2002 
Responsible-Changed-Why:  
To the PAM Man. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37435 

From: Dag-Erling Smorgrav <des@ofug.org>
To: Doug White <dwhite@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/37435: xdm SIGABRTs after rev 1.3 of etc/pam.d/xdm applied
Date: 28 Apr 2002 05:13:56 +0200

 Doug White <dwhite@FreeBSD.org> writes:
 > >How-To-Repeat:
 > . Install XFree86 using their binary builds for FreeBSD-5
 > . Try to login
 > . Watch xdm go bewm
 
 My guess is that XFree86 is building their stuff on an old -CURRENT,
 and linking xdm against Linux-PAM instead of OpenPAM.  Try replacing
 pam_lastlog in /etc/pam.d/other with pam_permit.
 
 DES
 -- 
 Dag-Erling Smorgrav - des@ofug.org

From: Doug White <dwhite@resnet.uoregon.edu>
To: Dag-Erling Smorgrav <des@ofug.org>
Cc: Doug White <dwhite@FreeBSD.org>,
	<freebsd-gnats-submit@FreeBSD.org>
Subject: Re: bin/37435: xdm SIGABRTs after rev 1.3 of etc/pam.d/xdm applied
Date: Sun, 28 Apr 2002 00:54:12 -0700 (PDT)

 On 28 Apr 2002, Dag-Erling Smorgrav wrote:
 
 > Doug White <dwhite@FreeBSD.org> writes:
 > > >How-To-Repeat:
 > > . Install XFree86 using their binary builds for FreeBSD-5
 > > . Try to login
 > > . Watch xdm go bewm
 >
 > My guess is that XFree86 is building their stuff on an old -CURRENT,
 > and linking xdm against Linux-PAM instead of OpenPAM.  Try replacing
 > pam_lastlog in /etc/pam.d/other with pam_permit.
 
 It is a pre-OpenPAM build.  It probably highlights a
 backwards-compatibility issue, if anything.
 
 Note that restoring the deleted 'session' entry does fix it (since there
 is an 'xdm' pam.d file already).
 
 Doug White                    |  FreeBSD: The Power to Serve
 dwhite@resnet.uoregon.edu     |  www.FreeBSD.org
 

From: Dag-Erling Smorgrav <des@ofug.org>
To: Doug White <dwhite@resnet.uoregon.edu>
Cc: Doug White <dwhite@FreeBSD.org>,
	<freebsd-gnats-submit@FreeBSD.org>
Subject: Re: bin/37435: xdm SIGABRTs after rev 1.3 of etc/pam.d/xdm applied
Date: 28 Apr 2002 16:29:59 +0200

 Doug White <dwhite@resnet.uoregon.edu> writes:
 > On 28 Apr 2002, Dag-Erling Smorgrav wrote:
 > > My guess is that XFree86 is building their stuff on an old -CURRENT,
 > > and linking xdm against Linux-PAM instead of OpenPAM.  Try replacing
 > > pam_lastlog in /etc/pam.d/other with pam_permit.
 > It is a pre-OpenPAM build.  It probably highlights a
 > backwards-compatibility issue, if anything.
 
 No, it highlights one of many bugs in Linux-PAM.  The best workaround
 is to replace pam_lastlog in /etc/pam.d/other with pam_permit.
 
 DES
 -- 
 Dag-Erling Smorgrav - des@ofug.org

From: Doug White <dwhite@resnet.uoregon.edu>
To: Dag-Erling Smorgrav <des@ofug.org>
Cc: Doug White <dwhite@FreeBSD.org>,
	<freebsd-gnats-submit@FreeBSD.org>
Subject: Re: bin/37435: xdm SIGABRTs after rev 1.3 of etc/pam.d/xdm applied
Date: Sun, 28 Apr 2002 11:29:16 -0700 (PDT)

 On 28 Apr 2002, Dag-Erling Smorgrav wrote:
 
 > No, it highlights one of many bugs in Linux-PAM.  The best workaround
 > is to replace pam_lastlog in /etc/pam.d/other with pam_permit.
 
 Would I be correct in guessing that 'other' is used when entries are
 missing in the respective program's config file?
 
 Doug White                    |  FreeBSD: The Power to Serve
 dwhite@resnet.uoregon.edu     |  www.FreeBSD.org
 
State-Changed-From-To: open->closed 
State-Changed-By: des 
State-Changed-When: Wed Oct 30 07:39:07 PST 2002 
State-Changed-Why:  
Fixed in early May. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37435 
>Unformatted:
