Date: Fri, 16 Mar 2007 17:44:25 +0100 From: Thierry DELHAISE <thierry.delhaise@gmail.com> To: freebsd-current@freebsd.org Subject: xdm loging problem on CURRENT Message-ID: <505E74B5-A64D-4B44-BFF1-B7A37124D135@gmail.com>
next in thread | raw e-mail | index | archive | help
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 ;-)=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?505E74B5-A64D-4B44-BFF1-B7A37124D135>