Package: nsd3
Version: 3.2.12-3+deb7u1
Severity: important
Tags: patch

Dear Maintainer,

"nsdc running" is supposed to return 0 only if nsd is currently running. This 
is the behaviour
defined in the man page and we rely on it especially now nsd3 is failing to 
restart.

The Debian-specific patch 0001-Update-nsdc.patch breaks this behaviour. If nsd 
is not
running, the pid file does not exist and so it will fall through the end of the 
"signal"
function and return 0, which in turn is used as the exit status of the script.

The correct fix is to restore the deleted line "return 1" at the end of the 
"signal" function.

Regards,

David

-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nsd3 depends on:
ii  adduser      3.113+nmu3
ii  libc6        2.13-38+deb7u1
ii  libssl1.0.0  1.0.1e-2+deb7u6
ii  lsb-base     4.1+Debian8+deb7u1

nsd3 recommends no packages.

nsd3 suggests no packages.

-- Configuration Files:
/etc/nsd3/nsd.conf.sample [Errno 13] Permission denied: 
u'/etc/nsd3/nsd.conf.sample'

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to