libc bug with nsswitch?
Per olof Ljungmark
peo at intersonic.se
Sun Feb 26 16:35:18 PST 2006
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
More information about the freebsd-stable
mailing list