Debian Bug report logs - #367745
battery-stats: must use invoke-rc.d

version graph

Package: battery-stats; Maintainer for battery-stats is Petter Reinholdtsen <pere@debian.org>; Source for battery-stats is src:battery-stats (PTS, buildd, popcon).

Reported by: Lars Wirzenius <liw@iki.fi>

Date: Wed, 17 May 2006 21:49:47 UTC

Severity: serious

Tags: lenny, patch, sid

Found in version battery-stats/0.3.3-1

Fixed in version battery-stats/0.3.3-1.1

Done: Philippe Le Brouster <plb@ac-grenoble.fr>

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 karl@jorgensen.com (Karl E. Jorgensen):
Bug#367745; Package battery-stats. (full text, mbox, link).


Acknowledgement sent to Lars Wirzenius <liw@iki.fi>:
New Bug report received and forwarded. Copy sent to karl@jorgensen.com (Karl E. Jorgensen). (full text, mbox, link).


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

From: Lars Wirzenius <liw@iki.fi>
To: maintonly@bugs.debian.org
Subject: battery-stats: must use invoke-rc.d
Date: Thu, 18 May 2006 00:21:31 +0300 (EEST)
Package: battery-stats
Version: 0.3.3-1

As of Debian Policy Manual version 3.7.2, the use of invoke-rc.d to
run init.d scripts has been made mandatory. Earlier, its use was
strongly recommended.

In most cases the fix should be simple, replace this:
    
    /etc/init.d/package <action>
    
with this:
    
    if which invoke-rc.d >/dev/null 2>&1; then
            invoke-rc.d package <action>
    else
            /etc/init.d/package <action>
    fi

On May 13 and 14, I checked all packages in Debian sid, and found
that your package needs to be changed because of this policy change.
This bug is part of a mass-filing to get all such bugs fixed.
(See discussion starting at [1].)

    [1] http://lists.debian.org/debian-devel/2006/05/msg00577.html

If my checking was wrong, I apologize.

If I can help in getting the bug fixed, please tell me.



Blocking bugs of 438885 added: 341413, 341415, 348259, 348263, 367722, 367725, 367727, 367729, 367730, 367731, 367732, 367733, 367734, 367737, 367740, 367745, 367753, 367754, 367755, 367759, 367760, and 367762 Request was from Amaya <amaya@debian.org> to control@bugs.debian.org. (Mon, 20 Aug 2007 16:00:18 GMT) (full text, mbox, link).


Severity set to `serious' from `normal' Request was from Amaya <amaya@debian.org> to control@bugs.debian.org. (Mon, 20 Aug 2007 16:15:11 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, karl@jorgensen.com (Karl E. Jorgensen):
Bug#367745; Package battery-stats. (full text, mbox, link).


Acknowledgement sent to Kumar Appaiah <akumar@ee.iitm.ac.in>:
Extra info received and forwarded to list. Copy sent to karl@jorgensen.com (Karl E. Jorgensen). (full text, mbox, link).


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

From: Kumar Appaiah <akumar@ee.iitm.ac.in>
To: 367745@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Patch for this bug
Date: Sat, 1 Sep 2007 22:06:36 +0530
[Message part 1 (text/plain, inline)]
tags 367745 +patch
thanks

Hi!

I think there's just one place where we need to use invoke-rc.d. I
think the attached patch (untested) solves the problem.

Thanks!

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
[battery-stats_fix.diff (text/x-diff, attachment)]

Tags added: patch Request was from Kumar Appaiah <akumar@ee.iitm.ac.in> to control@bugs.debian.org. (Sat, 01 Sep 2007 16:39:06 GMT) (full text, mbox, link).


Reply sent to Philippe Le Brouster <plb@ac-grenoble.fr>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Lars Wirzenius <liw@iki.fi>:
Bug acknowledged by developer. (full text, mbox, link).


Message #21 received at 367745-close@bugs.debian.org (full text, mbox, reply):

From: Philippe Le Brouster <plb@ac-grenoble.fr>
To: 367745-close@bugs.debian.org
Subject: Bug#367745: fixed in battery-stats 0.3.3-1.1
Date: Fri, 28 Sep 2007 22:47:02 +0000
Source: battery-stats
Source-Version: 0.3.3-1.1

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

battery-stats_0.3.3-1.1.diff.gz
  to pool/main/b/battery-stats/battery-stats_0.3.3-1.1.diff.gz
battery-stats_0.3.3-1.1.dsc
  to pool/main/b/battery-stats/battery-stats_0.3.3-1.1.dsc
battery-stats_0.3.3-1.1_amd64.deb
  to pool/main/b/battery-stats/battery-stats_0.3.3-1.1_amd64.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 367745@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Philippe Le Brouster <plb@ac-grenoble.fr> (supplier of updated battery-stats 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 ftpmaster@debian.org)


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

Format: 1.7
Date: Fri, 28 Sep 2007 23:59:00 +0200
Source: battery-stats
Binary: battery-stats
Architecture: source amd64
Version: 0.3.3-1.1
Distribution: unstable
Urgency: low
Maintainer: Karl E. Jorgensen <karl@jorgensen.com>
Changed-By: Philippe Le Brouster <plb@ac-grenoble.fr>
Description: 
 battery-stats - Collects statistics about charge of laptop batteries
Closes: 367745
Changes: 
 battery-stats (0.3.3-1.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * debian/logrotate now use invoke-rc.d (Closes: #367745)
Files: 
 ef63e67b070c6f52bba6a2fa60f30877 607 admin extra battery-stats_0.3.3-1.1.dsc
 4e913d9dd1cdbf271171b9709e917757 4357 admin extra battery-stats_0.3.3-1.1.diff.gz
 3118d12a3d814ec57bb76d4ea14ff013 22256 admin extra battery-stats_0.3.3-1.1_amd64.deb

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

iD8DBQFG/X0f2PUjs9fQ72URAkhJAKC8KWmIzg6rj0wLtXzzK8+O+ETXjQCguR58
ddzEDuICP7oHOivuG8RDnHA=
=i/uj
-----END PGP SIGNATURE-----





Tags added: patch Request was from plb@ac-grenoble.fr to control@bugs.debian.org. (Fri, 28 Sep 2007 23:09:11 GMT) (full text, mbox, link).


Blocking bugs of 438885 removed: 367745 Request was from Peter Eisentraut <peter_e@gmx.net> to control@bugs.debian.org. (Thu, 03 Apr 2008 23:15:44 GMT) (full text, mbox, link).


Tags added: lenny, sid Request was from Frank Lichtenheld <djpig@debian.org> to control@bugs.debian.org. (Fri, 15 Aug 2008 21:49:44 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 17 Feb 2009 07:36:48 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 Jan 6 00:43:45 2018; 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.