Bug#372283: smbd links with libpthread.so.0 through libldap_r.so.2
Package: samba Version: 3.0.22-1 Severity: grave Smbd links with libldap_r.so.2 which uses libpthread.so.0. As a result libpthread.so.0 is linked into smbd. This samba to hang on certain routines, even trivial ones like calling strftime. Samba should use a non-threaded ldap client library. See also: https://bugzilla.samba.org/show_bug.cgi?id=3817. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14.3 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages samba depends on: ii debconf [debconf-2.0] 1.4.59 Debian configuration management sy ii libacl1 2.2.23-1 Access control list shared library ii libattr12.4.16-1 Extended attribute shared library ii libc6 2.3.6-7 GNU C Library: Shared libraries ii libcomerr2 1.37-2sarge1 common error description library ii libcupsys2 1.1.23-12Common UNIX Printing System(tm) - ii libkrb531.4.3-5 MIT Kerberos runtime libraries di libldap22.1.30-12OpenLDAP libraries ii libpam-modules 0.76-22 Pluggable Authentication Modules f ii libpam-runtime 0.76-22 Runtime support for the PAM librar ii libpam0g0.79-3 Pluggable Authentication Modules l ii libpopt01.7-5lib for parsing cmdline parameters ii logrotate 3.7-5Log rotation utility ii lsb-base3.0-12 Linux Standard Base 3.0 init scrip ii netbase 4.21 Basic TCP/IP networking system ii samba-common3.0.22-1 Samba common files used by both th Versions of packages samba recommends: ii smbldap-tools 0.9.2-3Scripts to manage Unix and Samba a -- debconf information: samba/nmbd_from_inetd: * samba/run_mode: daemons samba/log_files_moved: samba/tdbsam: false * samba/generate_smbpasswd: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#372283: smbd links with libpthread.so.0 through libldap_r.so.2
severity 372283 normal tags 372283 unreproducible thanks On Fri, Jun 09, 2006 at 11:25:26AM +0200, Wilco Baan Hofman wrote: Smbd links with libldap_r.so.2 which uses libpthread.so.0. As a result libpthread.so.0 is linked into smbd. This samba to hang on certain routines, even trivial ones like calling strftime. Er, samba has been linked with libldap_r.so.2 for well over a year on Debian, and you're the only person to ever claim that this causes problems. Whether or not libldap_r is linked against libpthread really should make no difference, when samba itself is not multithreaded and therefore there are no threads being spawned. Anyway, the backtrace in the bug report shows a hang in pthread *after glibc has aborted with an error in free()*; any problem with libpthread deadlocking is definitely secondary to this. Samba should use a non-threaded ldap client library. There is no such thing in Debian. It was killed off because having both threaded and non-threaded versions of libldap caused *way* more problems. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ signature.asc Description: Digital signature