Debian Bug report logs - #434747
gpm: init script actions not idempotent

version graph

Package: gpm; Maintainer for gpm is Axel Beckert <abe@debian.org>; Source for gpm is src:gpm (PTS, buildd, popcon).

Reported by: Peter Eisentraut <peter_e@gmx.net>

Date: Thu, 26 Jul 2007 13:09:12 UTC

Severity: normal

Tags: patch

Found in versions gpm/1.19.6-25, gpm/1.20.4-3.3

Fixed in version 1.20.4-4

Done: Peter Samuelson <peter@p12n.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>:
Bug#434747; Package gpm. (full text, mbox, link).


Acknowledgement sent to Peter Eisentraut <peter_e@gmx.net>:
New Bug report received and forwarded. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Peter Eisentraut <peter_e@gmx.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gpm: init script actions not idempotent
Date: Thu, 26 Jul 2007 15:06:51 +0200
Package: gpm
Version: 1.19.6-25
Severity: normal

Calling the init script with the start action when the daemon is already
running or with the stop action when it is already stopped prints a
"failed" message and exits with code 1.  The LSB specification requires
success and exit code 0 in these cases.  Adding the --oknodo option for
start-stop-daemon ought to take care of that.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>:
Bug#434747; Package gpm. (Sun, 02 Jan 2011 21:24:03 GMT) (full text, mbox, link).


Acknowledgement sent to Jason Cormie <jason@wormwood666.demon.co.uk>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>. (Sun, 02 Jan 2011 21:24:03 GMT) (full text, mbox, link).


Message #10 received at 434747@bugs.debian.org (full text, mbox, reply):

From: Jason Cormie <jason@wormwood666.demon.co.uk>
To: 434747@bugs.debian.org
Subject: [gpm] patch for init scripts so they can be rerun without error
Date: Sun, 02 Jan 2011 21:21:50 +0000
[Message part 1 (text/plain, inline)]
Package: gpm
Version: 1.20.4-3.3
tag 434747 patch
--- Please enter the report below this line. ---

Patch included to add the --oknodo flags to the start and stop commands of gpm 
init script.



--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.32-5-amd64

Debian Release: squeeze/sid
  900 testing         ftp.debian.org
  850 unstable        ftp.debian.org
  800 stable          www.debian-multimedia.org
  800 stable          security.debian.org
  800 stable          ftp.debian.org
  700 experimental    ftp.debian.org

--- Package information. ---
Depends             (Version) | Installed
=============================-+-=============
libc6                (>= 2.7) | 2.11.2-7
libgpm2           (>= 1.20.4) | 1.20.4-3.3
debconf             (>= 0.5)  | 1.5.36
 OR debconf-2.0               |
dpkg             (>= 1.15.4)  | 1.15.8.5
 OR install-info              | 4.13a.dfsg.1-6
debianutils          (>= 1.7) | 3.4
ucf                 (>= 0.28) | 3.0025+nmu1
lsb-base                      | 3.2-23.1


Package's Recommends field is empty.

Package's Suggests field is empty.



[idempotent.patch (text/x-patch, attachment)]

Added tag(s) patch. Request was from Jason D Cormie <jason@wormwood666.demon.co.uk> to control@bugs.debian.org. (Sun, 24 Apr 2011 12:03:47 GMT) (full text, mbox, link).


Reply sent to Peter Samuelson <peter@p12n.org>:
You have taken responsibility. (Thu, 25 Aug 2011 07:33:09 GMT) (full text, mbox, link).


Notification sent to Peter Eisentraut <peter_e@gmx.net>:
Bug acknowledged by developer. (Thu, 25 Aug 2011 07:33:10 GMT) (full text, mbox, link).


Message #17 received at 434747-done@bugs.debian.org (full text, mbox, reply):

From: Peter Samuelson <peter@p12n.org>
To: 434747-done@bugs.debian.org
Subject: gpm: init script improved
Date: Thu, 25 Aug 2011 02:28:44 -0500
Version: 1.20.4-4

The gpm init script is now, I believe, Policy compliant.  I didn't
literally use Jason's patch, but I did something fairly similar.




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 01 Oct 2011 07:36:34 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 15:30:52 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.