[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#222953: libc6 should conflict with nscd (<=2.2.5-11.5)



Followup-For: Bug #222953
Package: libc6
Version: 2.3.2.ds1-13

After upgrading to the recent Version of libc6 the service nscd 
(Woody: 2.2.5-11.5) didn't start. After upgrading to Sarge's recent nscd
(2.3.2.ds1-13) the Service started without 

Therfore libc6 should conflict with nscd (<=2.2.5-11.5).

Here some Debug-Information:

frodo:~# /etc/init.d/nscd start
Starting Name Service Cache Daemon: nscd.
frodo:~# echo $?
0

frodo:~# bash -x /etc/init.d/nscd start
+ '[' -f /etc/nscd.conf ']'
+ '[' -x /usr/sbin/nscd ']'
++ uname -r
+ RETVAL=0
+ secure=
+ egrep '^passwd:.*nisplus' /etc/nsswitch.conf
+ egrep '^group:.*nisplus' /etc/nsswitch.conf
+ echo -n 'Starting Name Service Cache Daemon: nscd'
Starting Name Service Cache Daemon: nscd+ start-stop-daemon --start --quiet
+--exec /usr/sbin/nscd --
+ RETVAL=0
+ echo .
.
+ exit 0

But strace -f /etc/init.d/nscd gives a segfault:

[...]
[pid  8097] read(3,  <unfinished ...>
[pid  8093] accept(0,  <unfinished ...>
[pid  8097] <... read resumed> "\2\0\0\0\2\0\0\0\4\0\0\0", 12) = 12
[pid  8097] read(3, "tty\0", 4)         = 4
[pid  8097] open("/etc/nsswitch.conf", O_RDONLY) = 4
[pid  8097] fstat64(4, {st_mode=S_IFREG|0644, st_size=414, ...}) = 0
[pid  8097] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
+MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x128000
[pid  8097] read(4, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 414
[pid  8097] read(4, "", 4096)           = 0
[pid  8097] close(4)                    = 0
[pid  8097] munmap(0x128000, 4096)      = 0
[pid  8097] open("/etc/ld.so.cache", O_RDONLY) = 4
[pid  8097] fstat64(4, {st_mode=S_IFREG|0644, st_size=47790, ...}) = 0
[pid  8097] old_mmap(NULL, 47790, PROT_READ, MAP_PRIVATE, 4, 0) = 0x128000
[pid  8097] close(4)                    = 0
[pid  8097] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
+directory)
[pid  8097] open("/lib/libnss_files.so.2", O_RDONLY) = 4
[pid  8097] read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\35"...,
+512) = 512
[pid  8097] fstat64(4, {st_mode=S_IFREG|0644, st_size=34520, ...}) = 0
[pid  8097] old_mmap(NULL, 33720, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
+0x4ce000
[pid  8097] old_mmap(0x4d6000, 4096, PROT_READ|PROT_WRITE,
+MAP_PRIVATE|MAP_FIXED, 4, 0x8000) = 0x4d6000
[pid  8097] close(4)                    = 0
[pid  8097] munmap(0x128000, 47790)     = 0
[pid  8097] --- SIGSEGV (Segmentation fault) ---
[pid  8094] <... poll resumed> [{fd=1, events=POLLIN}], 1, 2000) = -1 EINTR
+(Interrupted system call)
[pid  8094] --- SIGRT_1 (Unknown signal 33) ---
[pid  8094] sigreturn()                 = ? (mask now ~[TRAP KILL STOP])
[pid  8094] getppid()                   = 8093
[pid  8094] waitpid(-1, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV],
+WNOHANG|__WCLONE) = 8097
[pid  8094] munmap(0xbf200000, 2097152) = 0
[pid  8094] kill(8099, SIGSEGV)         = 0
[pid  8094] kill(8098, SIGSEGV)         = 0
[pid  8094] kill(8096, SIGSEGV)         = 0
[pid  8094] kill(8095, SIGSEGV)         = 0
[pid  8096] <... accept resumed> 0, NULL) = ? ERESTARTSYS (To be restarted)
[pid  8094] kill(8093, SIGSEGV)         = 0
[pid  8096] --- SIGSEGV (Segmentation fault) ---
[pid  8094] semget(IPC_PRIVATE, 11, IPC_CREAT|IPC_EXCL|IPC_NOWAIT|0x141074|064)
+= -1 ENOSYS (Function not implemented)
[pid  8094] _exit(0)                    = ?
[pid  8093] <... accept resumed> 0, NULL) = ? ERESTARTSYS (To be restarted)
[pid  8093] --- SIGSEGV (Segmentation fault) ---
[pid  8095] <... poll resumed> [{fd=0, events=POLLRDNORM}], 1, 15000) = -1 EINTR
+(Interrupted system call)
[pid  8095] --- SIGSEGV (Segmentation fault) ---
[pid  8099] <... poll resumed> [{fd=0, events=POLLRDNORM}], 1, -1) = -1 EINTR
+(Interrupted system call)
[pid  8098] <... poll resumed> [{fd=0, events=POLLRDNORM}], 1, -1) = -1 EINTR
+(Interrupted system call)
[pid  8099] --- SIGSEGV (Segmentation fault) ---
--- SIGSEGV (Segmentation fault) ---


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux frodo 2.4.26-ow2-p4clients #1 SMP Fr Jul 23 22:39:05 CEST 2004 i686
Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl



Reply to: