Your message dated Sat, 13 Apr 2013 22:32:49 +0000
with message-id <[email protected]>
and subject line Bug#685052: fixed in unbound 1.4.20-1
has caused the Debian Bug report #685052,
regarding wrong exit code for status
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
685052: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685052
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: unbound
Version: 1.4.18-1

The initscript returns the wrong exit code when unbound is running:

# /etc/init.d/unbound status
 * unbound is running
# echo $?
4

It should be 0 as per LSB specification
(http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html).
The attached patch fixes the problem.
--- /etc/init.d/unbound.orig  2012-08-16 02:59:56.605282057 -0400
+++ /etc/init.d/unbound 2012-08-16 03:00:06.381285325 -0400
@@ -145,7 +145,7 @@
         ;;
 
     status)
-        status="4"
+        status="0"
         status_of_proc -p $PIDFILE $DAEMON $NAME || status="$?"
         exit $status
         ;;

--- End Message ---
--- Begin Message ---
Source: unbound
Source-Version: 1.4.20-1

We believe that the bug you reported is fixed in the latest version of
unbound, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robert S. Edmonds <[email protected]> (supplier of updated unbound package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 13 Apr 2013 15:34:47 -0400
Source: unbound
Binary: unbound unbound-anchor unbound-host libunbound2 libunbound-dev 
python-unbound
Architecture: amd64 source
Version: 1.4.20-1
Distribution: unstable
Urgency: low
Maintainer: Robert S. Edmonds <[email protected]>
Changed-By: Robert S. Edmonds <[email protected]>
Closes: 579622 685052 697351 697575 697576
Description: 
 libunbound-dev - static library, header files, and docs for libunbound
 libunbound2 - library implementing DNS resolution and validation
 python-unbound - library implementing DNS resolution and validation (Python 
bindin
 unbound    - validating, recursive, caching DNS resolver
 unbound-anchor - utility to securely fetch the root DNS trust anchor
 unbound-host - reimplementation of the 'host' command
Changes: 
 unbound (1.4.20-1) unstable; urgency=low
 .
   * New upstream release.
     - Updates IPv4 address hint for D.ROOT-SERVERS.NET; closes: #697351.
   * Correct exit code for "/etc/init.d/unbound status"; closes: #685052.
     (Patch from micah anderson.)
   * Finish dh_python2 conversion; closes: #697575.
     (Patch from Micah Gersten.)
   * Check for multiarch Python headers; closes: #697576.
     (Patch from Micah Gersten.)
   * Automatically set up the chroot directory if enabled; closes: #579622.
     (Patch from Simon Deziel.)
Checksums-Sha1: 
 1c6cdba61654a11424cf3b2bda663f7ae1e5c984 672878 unbound_1.4.20-1_amd64.deb
 ada7409bec33bfd0e56e54f8705fa02cde7b491d 97208 
unbound-anchor_1.4.20-1_amd64.deb
 2f127595339e3e090a3ca4e4464563815af4a8d1 84216 unbound-host_1.4.20-1_amd64.deb
 caf58c128ba6d5afb53f05467db5c763b26ff27c 310798 libunbound2_1.4.20-1_amd64.deb
 f040a5da88ccbcfa84c3445a8debaa3334e8699f 3493860 
libunbound-dev_1.4.20-1_amd64.deb
 ed50ddea0a72087ca2c984c17f8e39817bed68e8 116322 
python-unbound_1.4.20-1_amd64.deb
 8d1f2f307ed0f57ae07e7b2ece28566116474e2b 1612 unbound_1.4.20-1.dsc
 1752976533be2a4f0c9cdbab9d2cbb67d4f27c43 3613963 unbound_1.4.20.orig.tar.gz
 610707e1c7daddcb39b58be8ad69892d3bcd4083 12506 unbound_1.4.20-1.debian.tar.gz
Checksums-Sha256: 
 86a8e6ac12262d4daedf50346dafda100c1b98b28a6fc5786ba6aba483fe30e5 672878 
unbound_1.4.20-1_amd64.deb
 b309f6e23101f5d7d784b12b6df38ca32ab50756bcdf648456ff2df5c1071b9c 97208 
unbound-anchor_1.4.20-1_amd64.deb
 e472439c6d6981bea693d95e05ab73534fc1bce9271b59fabea9552b86fcc7c8 84216 
unbound-host_1.4.20-1_amd64.deb
 d3714bdad0be75ce139729d8fe114ed213da99dbba19b1a51a44c502ed1eec6b 310798 
libunbound2_1.4.20-1_amd64.deb
 ffc767fff54fa35c558e9dbcbbc334e39b797138960406d3354a142bb643567f 3493860 
libunbound-dev_1.4.20-1_amd64.deb
 5bd30d42f3f4dcd6a5340d4fb647bbd94518d1a1c24dae4ad6089693280f9ba4 116322 
python-unbound_1.4.20-1_amd64.deb
 e5084df107d58a0ade3ee3b272ae04cc32bdcca80e2b0774aa3a5b75bd3258bb 1612 
unbound_1.4.20-1.dsc
 14527002307873e557348a4d76b62ac036937d9c3033610a8425018c379fb56e 3613963 
unbound_1.4.20.orig.tar.gz
 7de0157b954a13644c5ca8622400ecda0ff0dc4803dc05e5327b88acaf04e05b 12506 
unbound_1.4.20-1.debian.tar.gz
Files: 
 56aec417bb8871ac80e369ded9a8e170 672878 net optional unbound_1.4.20-1_amd64.deb
 92e040414e42dc372bce089c1a9ed7ac 97208 net optional 
unbound-anchor_1.4.20-1_amd64.deb
 ffb6933b708c1996109c4a74f294d146 84216 net optional 
unbound-host_1.4.20-1_amd64.deb
 15e88cc785a0f6ed30615d37bc19fe8a 310798 net optional 
libunbound2_1.4.20-1_amd64.deb
 1c5ae391392e79584f776bbf389b822c 3493860 libdevel optional 
libunbound-dev_1.4.20-1_amd64.deb
 3539d4632b9b9d402da2cff35a3a6be0 116322 python optional 
python-unbound_1.4.20-1_amd64.deb
 b0d912eea527a98d2001a9e3d53a07b7 1612 net optional unbound_1.4.20-1.dsc
 1f2d0b490fd7928a708a326beda21948 3613963 net optional 
unbound_1.4.20.orig.tar.gz
 7db8a30f9c1890f4d0e95a03a2a53a76 12506 net optional 
unbound_1.4.20-1.debian.tar.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlFp2LUACgkQdp+/SHMBQJEQXACeKHrE/pq98lXnMmdtdIoitIwH
r3IAn3ijY5bdwehysdw0BIb4gVeXlCjD
=vKT4
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to