From owner-freebsd-stable@FreeBSD.ORG Mon Feb 27 00:35:18 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01A7F16A420 for ; Mon, 27 Feb 2006 00:35:18 +0000 (GMT) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48ABD43D79 for ; Mon, 27 Feb 2006 00:35:03 +0000 (GMT) (envelope-from peo@intersonic.se) Received: from localhost (terrapin.inter-sonic.com [172.16.1.12]) by neonpark.inter-sonic.com (Postfix) with ESMTP id 0FE8A818E22; Mon, 27 Feb 2006 01:35:01 +0100 (CET) Message-ID: <44024929.4010006@intersonic.se> Date: Mon, 27 Feb 2006 01:34:49 +0100 From: Per olof Ljungmark User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Uwe Laverenz References: <20060123141423.GD17465@laverenz.de> In-Reply-To: <20060123141423.GD17465@laverenz.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at inter-sonic.com Cc: stable@freebsd.org Subject: Re: libc bug with nsswitch? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 00:35:18 -0000 Uwe Laverenz wrote: > Hi, > > there seems to be a problem with RELENG_6 in environments where nss_ldap > is used for user- and group-lookups. The problem affects different ports > that don't have very much in common, so I guess there might be a bug in > FreeBSD's libc, because that's the place, where the name-sevices are > handled (correct me if I'm wrong). > > Two examples that are reproduceable here on various machines: > > 1. emulators/linux_base-8: > > When nss_ldap is enabled in /etc/nsswitch.conf, the installation of the > port fails: [snip] ... > var/tmp/rpm-tmp.41237: line 11: /dev/null: No such file or directory > var/tmp/rpm-tmp.41237: line 12: /dev/null: No such file or directory > Assertion failed: (cfg->ldc_uris[__session.ls_current_uri] != NULL), > function do_init, file ldap-nss.c, line 1245. > Abort trap (core dumped) > *** Error code 134 > 2. PHP4(5)/PEAR > > This was also reported by two other users, both are using nss_ldap but > have PHP5 instead of PHP4. With nss_ldap enabled, the use of at least > two php-modules (imagick, xslt) lead to a segmentation fault in php4, > e.g. when trying to install an additional pear-module: > ... A third example: My home workstation uses KDE and is also a Samba BDC. With ldap-enabled nsswitch.conf, if I click on the "/home" folder in Konqeror I get a message box "The process for the file protocol died unexpectedly", also in the starting terminal I get Assertion failed: (cfg->ldc_uris[__session.ls_current_uri] != NULL), function do _init, file ldap-nss.c, line 1245. kioslave: ####### CRASH ###### protocol = file pid = 72414 signal = 6 Identical to the above, everything is find without ldap in nsswitch.conf. Currently I'm on 6.1-PRERELEASE #0: Wed Feb 22. Per olof