From owner-freebsd-current Mon Apr 29 8:10: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by hub.freebsd.org (Postfix) with ESMTP id 6D50D37B405 for ; Mon, 29 Apr 2002 08:10:03 -0700 (PDT) Received: (qmail 1526 invoked from network); 29 Apr 2002 15:10:02 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail15.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 29 Apr 2002 15:10:02 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3TFA2v26874; Mon, 29 Apr 2002 11:10:02 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 29 Apr 2002 11:09:04 -0400 (EDT) From: John Baldwin To: Dag-Erling Smorgrav Subject: Re: xdm broken on current Cc: current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 29-Apr-2002 Dag-Erling Smorgrav wrote: > John Baldwin writes: >> > ldd `which xdm` >> /usr/X11R6/bin/xdm: >> libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x2807e000) >> libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x2808c000) >> libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x280a1000) >> libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x280ec000) >> libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x280f5000) >> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x2810b000) >> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28119000) >> librpcsvc.so.2 => /usr/lib/librpcsvc.so.2 (0x281f5000) >> libpam.so.1 => /usr/lib/libpam.so.1 (0x281fd000) >> libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x28207000) >> libutil.so.3 => /usr/lib/libutil.so.3 (0x28220000) >> libc.so.5 => /usr/lib/libc.so.5 (0x28229000) >> libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x282db000) >> >> It may be that my version of X is too old (a week or so before 4.2.0). > > It's linked against Linux-PAM (libpam.so.1 rather than libpam.so.2). > A bug (misfeature?) in xdm's conversation function makes it crash when > it tries to run pam_lastlog. Changing pam_lastlog to pam_permit in > /etc/pam.d/other, or adding "no_warn" to the pam_lastlog entry, should > hide the bug. Ah, so the bug is my binary is too old and is linked against the wrong PAM. Ok, my bad then. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message