From owner-freebsd-current@FreeBSD.ORG Fri Mar 16 17:10:16 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6978E16A412 for ; Fri, 16 Mar 2007 17:10:16 +0000 (UTC) (envelope-from thierry.delhaise@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id F017C13C4BF for ; Fri, 16 Mar 2007 17:10:15 +0000 (UTC) (envelope-from thierry.delhaise@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so630831ana for ; Fri, 16 Mar 2007 10:10:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=e4yTU4KJmnp/Y+SWP5YRcGrCGbyRikOv9+WA7l6Ynsw37Rf7TagmpO92mOASqvySKY8+n1JsszLOTVnGRHrz2x2GqgTPYryER9aJOlRWfLFgoYKCO06AXEzZSYNqlrwt/hDqfaonJn0l6/e5+KxaKgkAj3yo/k/Zn+ZDokzyM2I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=ENRynbUZbyTx02ykTmT2zgReZbKDYdhqy36zGnWzR/eOUH7Bn2M2CUcnRuJJN9PQw/HkX79aFLpGh7UDWZKQTkKQWYvXwW/+VGIYYl++4Dn70LlicI3vFzWgXoVQMaUuiUpTAUhbDmQG+hOHKaTifv/qIrh4MZkO1CU148/VUsA= Received: by 10.100.190.8 with SMTP id n8mr1700694anf.1174063469512; Fri, 16 Mar 2007 09:44:29 -0700 (PDT) Received: from ?192.168.1.2? ( [82.127.84.97]) by mx.google.com with ESMTP id a1sm4024906ugf.2007.03.16.09.44.28; Fri, 16 Mar 2007 09:44:28 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: quoted-printable Message-Id: <505E74B5-A64D-4B44-BFF1-B7A37124D135@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed To: freebsd-current@freebsd.org From: Thierry DELHAISE Date: Fri, 16 Mar 2007 17:44:25 +0100 X-Mailer: Apple Mail (2.752.2) Subject: xdm loging problem on CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 17:10:16 -0000 Hi all, I'm running CURRENT aka FreeBSD mercure.interne.delhaise.net 7.0-CURRENT FreeBSD 7.0-CURRENT =20 #4: Sun Mar 11 03:38:32 CET 2007 =20 root@mercure.interne.delhaise.net:/usr/obj/usr/src/sys/FBSD7 i386 In this full build I've one problem with xdm : messages:Mar 16 16:58:53 mercure xdm: in openpam_load_module(): no /=20 usr/lib/pam_nologin.so found but the module exist in the real place !! This is my final test (whith pam fullpath module name). The original /=20= etc/pam.d/xdm config file originaly do not contain fullpath for =20 module. This is just my final test. In fact the problem is : shortly it's a dlopen()/shared library loading problem (I can spend =20 time to explain to maintainer...). After quickly investigating libpam =20= code I 've dicovered the magic _openpam_debug ;-) So in gdb with _openpam_debug set to 1, I've got this : debug.log:Mar 16 16:59:26 mercure xdm: in openpam_dynamic(): /usr/lib/=20= pam_nologin.so: /lib/libutil.so.6: Undefined symbol "__use_pts" Where does come from __use_pts symbols ? it seems to me that =20 basically libpam missed a reference of an another shared lib =20 exporting this symbols but witch one ? Any advices, suggestions ? I can spend some time this night to =20 investigate more and may be provide a patch ... I sugest too that when something wrong append in the dlopen() call in =20= openpam_dynamic.c ( func openpam_dynamic() ) the dlerror() return =20 should be send to syslog ... It would help to know what its wrong =20 even if _openpam_debug is not set to 1 ... ;-) just mt 2 cts ;-) Thx in advance for any help (about __use_pts). Thierry =A8PS : Sorry for my poor shoolish english ;-)=