Date: Mon, 27 Feb 2006 01:34:49 +0100 From: Per olof Ljungmark <peo@intersonic.se> To: Uwe Laverenz <uwe@laverenz.de> Cc: stable@freebsd.org Subject: Re: libc bug with nsswitch? Message-ID: <44024929.4010006@intersonic.se> In-Reply-To: <20060123141423.GD17465@laverenz.de> References: <20060123141423.GD17465@laverenz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44024929.4010006>