Bug#422090: /etc/nscd.conf contains tabs which prevent configuration
Package: nscd
Version: 2.5-5
Severity: grave
Tags: patch
Justification: renders package unusable
Dear nscd maintainers,
the problem is stated above - Comments were introduced with a leading
tab before the hash sign which cause errors like this when nscd reads
the file:
/usr/sbin/nscd: Syntax error: Unknown option: hosts caching
The solution is to remove the tabs before the hash signs, or fix nscd
to skip whitespace when looking for them...
Best regards,
Bernd
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.21.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages nscd depends on:
ii libc6 2.5-5 GNU C Library: Shared libraries
nscd recommends no packages.
-- no debconf information
*** /home/charly/nscd.conf.patch
*** nscd.conf.old 2007-05-03 15:43:51.000000000 +0200
--- nscd.conf 2007-05-03 15:43:09.000000000 +0200
***************
*** 60,67 ****
max-db-size group 33554432
auto-propagate group yes
! # hosts caching is broken with gethostby* calls, hence is now disabled
! # per default. See /usr/share/doc/nscd/NEWS.Debian.
enable-cache hosts no
positive-time-to-live hosts 3600
negative-time-to-live hosts 20
--- 60,67 ----
max-db-size group 33554432
auto-propagate group yes
! # hosts caching is broken with gethostby* calls, hence is now disabled
! # per default. See /usr/share/doc/nscd/NEWS.Debian.
enable-cache hosts no
positive-time-to-live hosts 3600
negative-time-to-live hosts 20
Reply to: