Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2002 11:09:04 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        current@FreeBSD.org
Subject:   Re: xdm broken on current
Message-ID:  <XFMail.20020429110904.jhb@FreeBSD.org>
In-Reply-To: <xzp3cxed3eq.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help

On 29-Apr-2002 Dag-Erling Smorgrav wrote:
> John Baldwin <jhb@FreeBSD.org> 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 <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020429110904.jhb>