Your message dated Mon, 14 Feb 2011 20:40:48 +0000
with message-id <[email protected]>
and subject line Bug#612629: fixed in gearman-server 1.11-2
has caused the Debian Bug report #612629,
regarding initscript restart and stop actions should be idempotent
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.)


-- 
612629: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612629
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gearman-server
Version: 1.11-1
Tags: patch

Two issues here:

 * `/etc/init.d/gearman-server stop` should be idempotent. Currently,
   running it twice in a row results in:

   rm: cannot remove `/var/run/gearmand.pid': No such file or directory

 * `/etc/init.d/gearman-server restart` should start gearman if it is
   not currently running.

Patch attached for both issues.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected]
       `-
diff -urNd gearman-server-1.11.orig/debian/gearman-server.init 
gearman-server-1.11/debian/gearman-server.init
--- gearman-server-1.11.orig/debian/gearman-server.init 2011-02-09 
16:55:44.000000000 +0000
+++ gearman-server-1.11/debian/gearman-server.init      2011-02-09 
16:56:01.000000000 +0000
@@ -50,7 +50,7 @@
        start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
                -n $NAME --oknodo
        echo "$NAME."
-       rm /var/run/$NAME.pid
+       rm -f /var/run/$NAME.pid
        ;;
   #reload)
        #
@@ -72,7 +72,7 @@
        #   daemon isn't already running.
        # check wether $DAEMON is running. If so, restart
        start-stop-daemon --stop --test --quiet --pidfile \
-               /var/run/$NAME.pid --exec $DAEMON \
+               /var/run/$NAME.pid --oknodo --exec $DAEMON \
        && $0 restart \
        || exit 0
        ;;

--- End Message ---
--- Begin Message ---
Source: gearman-server
Source-Version: 1.11-2

We believe that the bug you reported is fixed in the latest version of
gearman-server, which is due to be installed in the Debian FTP archive:

gearman-server_1.11-2.debian.tar.gz
  to main/g/gearman-server/gearman-server_1.11-2.debian.tar.gz
gearman-server_1.11-2.dsc
  to main/g/gearman-server/gearman-server_1.11-2.dsc
gearman-server_1.11-2_all.deb
  to main/g/gearman-server/gearman-server_1.11-2_all.deb



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.
gregor herrmann <[email protected]> (supplier of updated gearman-server 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: SHA256

Format: 1.8
Date: Mon, 14 Feb 2011 21:14:38 +0100
Source: gearman-server
Binary: gearman-server
Architecture: source all
Version: 1.11-2
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Description: 
 gearman-server - Gearman distributed job server and Perl interface
Closes: 612629
Changes: 
 gearman-server (1.11-2) unstable; urgency=low
 .
   * Make init script idempotent; thanks to Chris Lamb for the bug report and
     the patch; closes: #612629.
   * Switch to source format 3.0 (quilt); remove quilt framework.
   * Set Standards-Version to 3.9.1 (no changes).
   * Add /me to Uploaders.
   * debian/copyright: update license stanzas.
Checksums-Sha1: 
 d5725f4f8a3472863423a44db88a13247f220b04 2024 gearman-server_1.11-2.dsc
 1d32ec4a4aac096492010ab46dac1092290bd4a7 3802 
gearman-server_1.11-2.debian.tar.gz
 caec52dd4e29427cf8a8b9ba045c45902e0ea19e 30432 gearman-server_1.11-2_all.deb
Checksums-Sha256: 
 cf783a15a0f691e0bb8d96165e4aaf5c39accc55e2a244f9cfc7a83b020a2ef1 2024 
gearman-server_1.11-2.dsc
 7d331d45b6bc2d4f93cec865c0f2871fedecc39944e5b3eacae8b2aa6243bb2e 3802 
gearman-server_1.11-2.debian.tar.gz
 8b5b385b971736486120841bef21b167a7719483da8764d18899335a84fcc18a 30432 
gearman-server_1.11-2_all.deb
Files: 
 56aa643e46d510af8460ed3524813a79 2024 perl optional gearman-server_1.11-2.dsc
 90e2488d95b500c0dd40e6b538795386 3802 perl optional 
gearman-server_1.11-2.debian.tar.gz
 e5602f20452f376a0c287921a1e8113a 30432 perl optional 
gearman-server_1.11-2_all.deb

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

iQIcBAEBCAAGBQJNWY1qAAoJELs6aAGGSaoGIuYP/j32I4zJdYRTV7v7fGu0ZLo1
JQpdfLdyerPEAHVN8UwTKVlYygdOJXaDAY1y1K9hTKgL4+5jBxclqD7DNI/DD1Lw
a6fHQCKyw3hen3yE7pxC2olJ/b8MhhBaNdUiIiviHE6ho0PosD34ZktvI1Tp/rED
sqo3p9ul5+JzhwgZC6jLxc3xPdI0pS2PQ8g17fPLjWhV4JT8iaRGGDMcVkul1frF
v7sErGRQaSZjcAwWYYneiXPvWtjcjTf48yDCdou9c6ykya9995t6IWYCFAUZQMfF
s+1MTNM7EHYT5CA/PmXdQN82WMdoSO7BRQHvX3xNWGD8mawf7fI++Gdj+bN7F/5B
dYOcIWA/N4l4y+xpZ3/OQwD3Cj8oAMl0G1BXTt1X2DEYLIJvQCfM8J+WAg6r0sKf
nbTbPwyYjxc/ZCnt2fR/AyM724vib7bRKdv1PkbFmB8dOR2zELcNca1Q/Qyqahz2
UPrMSSmpjMgaREzvZqEuTSiVBj97j95VSoSBlqVtrGHoVrewAf1UOc3GntyWSEu8
A4E0WqkVdl+IFbhIdk4lczq6u5mlKMKCShciyHK5AtqunsQ38H9giBzyRvJ7Hm4F
BZI3O5fNFBQ4XLzFcs9DexCbAdogNaWRSCKXzA/puXQhhITWO7btEtxEpyCN01bc
QQbmfmWgdniZG1UJFzHU
=9Hio
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to