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

Bug#339350: nscd fails to start when logfile is too big



Package: nscd
Version: 2.3.5-8
Severity: important


When the logfile of nscd reaches a 2GB limit, nscd will no longer start
without any hint whatsoever. It will run in the -d mode, but not as a
daemon. 

Strace in that case looks like:
pid 23058] write(3, "23052: handle_request: request r"..., 69) = -1
EFBIG (File too large)
[pid 23058] --- SIGXFSZ (File size limit exceeded) @ 0 (0) ---

/var/log# ls -al nscd.log
[..] 2147483647 Nov 14 17:56 nscd.log

I can imagen it is a problem, but i would prefer continueing without
logfile and printing something in syslog   or   giving a hint at startup
or a hint from the init.d script. 

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nscd depends on:
ii  libc6                         2.3.5-8    GNU C Library: Shared libraries an

nscd recommends no packages.

-- no debconf information



Reply to: