Package: nsca
Version: 2.6-3.2
Severity: serious

  Hi,

  you should add in README.Debian that "dpkg-reconfigure nsca" is needed to
install startup links (I discovered it by looking at
/var/lib/dpkg/info/nsca.postinst..., not something usual users want to do).
README.Debian currently says :
"by default nsca works with an init script /etc/init.d/nsca"
But it does not say that, by default, symlinks are not installed.
  [This would be wishlist bug]

  However, trying to enable nsca, I found a bug:
atsina:/etc/init.d# dpkg-reconfigure nsca
update-rc.d: warning: /etc/init.d/nsca missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
Starting Nagios Service Check Acceptor: /usr/sbin/nsca already running.
ERROR: could not start nsca.
invoke-rc.d: initscript nsca, action "start" failed.
atsina:/etc/init.d#
  Missing LSB headers are already reported.
  But nsca also fails to return a 0 code when already running:
atsina:/etc/init.d# /etc/init.d/nsca start ; echo $?
Starting Nagios Service Check Acceptor: /usr/sbin/nsca already running.
ERROR: could not start nsca.
1
atsina:/etc/init.d# 

  According to policy 9.3.2 (and recents discussions on debian-devel), starting
an already running service or stopping an already stopped service must not
return an error code.

  Best regards,
    Vincent


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27-rc3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



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

Reply via email to