Package: nis
Version: 3.14-2
Severity: important

After upgrading them, the NIS daemons (ypserv, ypxfrd, yppasswdd) all
segfault when they are started. ypbind is not affected. The sparc
platform ist affected, the same version on i386 is not.

Running "/etc/init.d/nis start" on a NIS server results in:

Starting NIS services: ypserv /etc/init.d/nis: line 98: 14020 Segmentation 
fault      start-stop-daemon --start --quiet --pidfile /var/run/ypserv.pid 
--exec ${NET}/ypserv -- ${YPSERVARGS}
yppasswdd /etc/init.d/nis: line 98: 14021 Segmentation fault start-stop-daemon 
--start --quiet --exec ${NET}/rpc.yppasswdd -- $YPPWDDIRARGS $E $YPPASSWDDARGS
ypxfrd /etc/init.d/nis: line 98: 14022 Segmentation fault start-stop-daemon 
--start --quiet --exec ${NET}/rpc.ypxfrd -- $YPXFRDARGS
ypbind [binding to YP server .......... backgrounded]

Starting /usr/sbin/ypserv manually and strace'ing the process shows that
after loading its shared libraries (libresolv.so.2 is the last one
loaded) and before accessing any data or configuration files, the ypserv
process receives a SIGSEGV not inside any system call. The excerpt looks
like this:

access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libresolv.so.2", O_RDONLY)   = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\2\0\0\0\1\0\0-\224"..., 512) = 
512
fstat64(3, {st_mode=S_IFREG|0644, st_size=62368, ...}) = 0
mmap(NULL, 136440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x701f8000
mmap(0x70208000, 65536, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 
3, 0) = 0x70208000
mmap(0x70218000, 5368, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x70218000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x70012000
munmap(0x7000c000, 21727)               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

So this behaviour does not depend on a particular configuration or data set.

System and version information:

  Host is a SUN Enterprise 250.
  Architecture: sparc
  Kernel (uname -a): Linux interceptor 2.4.27-2-sparc64-smp #1 SMP Sun Apr 3 
04:38:39 UTC 2005 sparc64 GNU/Linux
  Dependency package versions:
    libc6: 2.3.2.ds1-22
    libgdbm3: 1.8.3-2
    libslp1: 1.2.1-2
    netbase: 4.21
    make: 3.80-9
    portmap: 5-15
    sysvinit: 2.86.ds1-1

The NIS server ran fine with an older version (unfortunately I don't
know which one exactly) before the upgrade.

--
Ralph Roessner


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to