Package: libnss-ldap
Version: 238-1sarge1
Severity: important

*** Please type your report below this line ***

After upgrading to version 238-1sarge1, backuppc is no longer working.
After investigating a bit, it seems that it is no longer possible to use
fork inside perl (the child process does not execute properly). Having
into account that the security fix deals with a race condition using fork,
it seems that there is a connection.

It seems (although I am not completely sure) that the child process dies
just after the creation before executing any line. For example, I include
below
the strace output for one of these children.

Installing again the older version solves all the problems.

Thanks.

Regards.

socket(PF_FILE, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = 0
writev(3, [{"\2\0\0\0\4\0\0\0\6\0\0\0", 12}, {"draco\0", 6}],
2)                           = 18
read(3, "\2\0\0\0\1\0\0\0\26\0\0\0\1\0\0\0\2\0\0\0\4\0\0\0\1\0\0"..., 32) =
32
readv(3, [{" draco.esm.cpqcorp.net\0", 22}, {"\6\0\0\0", 4}, {"\20&\0V",
4}], 3) = 30
read(3, "draco\0", 6)        = 6
close(3)                             = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
open("/etc/ldap/ldap.conf", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=333, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f75000
read(3, "# $OpenLDAP: pkg/ldap/libraries/"..., 4096) = 333
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f75000, 4096)                = 0
open("/root/ldaprc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("/root/.ldaprc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("ldaprc", O_RDONLY|O_LARGEFILE)    = -1 ENOENT (No such file or
directory)
getuid32()                              = 101
geteuid32()                             = 101
getgid32()                              = 104
getegid32()                             = 104
open("/usr/lib/sasl2", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 7 entries */, 4096)    = 224
open("/usr/lib/sasl2/libsasldb.la", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=852, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f75000
read(4, "# libsasldb.la - a libtool libra"..., 4096) = 852
close(4)                                = 0
munmap(0xb7f75000, 4096)                = 0
open("/usr/lib/sasl2/libsasldb.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\20"..., 512) =
512
fstat64(4, {st_mode=S_IFREG|0644, st_size=876584, ...}) = 0
old_mmap(NULL, 876124, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xb7b01000
old_mmap(0xb7bd5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0xd4000) = 0xb7bd5000
close(4)                                = 0
munmap(0xb7d91000, 17930)               = 0
open("/usr/lib/sasl2/libsasldb.la", O_RDONLY) = 4
close(4)                                = 0
getdents64(3, /* 0 entries */, 4096)    = 0
close(3)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-686-bigmem
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages libnss-ldap depends on:
ii  debconf               1.4.30.13          Debian configuration management
sy
ii  libc6                 2.3.2.ds1-22sarge6 GNU C Library: Shared libraries
an
ii  libkrb53              1.3.6-2sarge5      MIT Kerberos runtime libraries
ii  libldap2              2.1.30-8           OpenLDAP libraries

-- debconf information excluded

Reply via email to