Your message dated Wed, 25 Nov 2009 15:52:00 +0000
with message-id <[email protected]>
and subject line Bug#541625: fixed in pwrkap 7.30-2
has caused the Debian Bug report #541625,
regarding pwrkap: incorrect dependencies on init script
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.)


-- 
541625: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541625
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package:  pwrkap
Version:  7.30-1
Severity: important
Tags:     patch
User:     [email protected]
Usertags: incorrect-dependency

Hi,

While examining some init scripts I found pwrkap's to be missing some 
dependencies.

Since the binary lives in /usr it requires $remote_fs. 
I also added a should- dependency on $network since it looks like it uses 
sockets. If pwrkap may work without any network interface (lo even) then it 
is correct to leave $network as a should- dependency, otherwise please move 
it to required-.

http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html
documents the LSB header format.  Some Debian notes are available at
http://wiki.debian.org/LSBInitScripts

This patch should solve the issue.  Without it, the init.d will start too 
early in the boot sequence on some systems.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
diff -urpN pwrkap-7.30-1.orig/debian/pwrkap.init pwrkap-7.30-1/debian/pwrkap.init
--- pwrkap-7.30-1.orig/debian/pwrkap.init	2009-08-14 18:52:27.000000000 -0500
+++ pwrkap-7.30-1/debian/pwrkap.init	2009-08-14 18:59:06.014947232 -0500
@@ -5,10 +5,12 @@
 
 ### BEGIN INIT INFO
 # Provides:          pwrkap
-# Required-Start:
-# Required-Stop:
-# Default-Start:     3 5
-# Default-Stop:
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs
+# Should-Start:      $network
+# Should-Stop:       $network
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: pwrkap initscript
 # Description:       This script take care of starting and stopping the
 #                    pwrkap daemon.

--- End Message ---
--- Begin Message ---
Source: pwrkap
Source-Version: 7.30-2

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

pwrkap-gui_7.30-2_all.deb
  to main/p/pwrkap/pwrkap-gui_7.30-2_all.deb
pwrkap_7.30-2.diff.gz
  to main/p/pwrkap/pwrkap_7.30-2.diff.gz
pwrkap_7.30-2.dsc
  to main/p/pwrkap/pwrkap_7.30-2.dsc
pwrkap_7.30-2_all.deb
  to main/p/pwrkap/pwrkap_7.30-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.
Arnaud Quette <[email protected]> (supplier of updated pwrkap 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: Wed, 25 Nov 2009 14:44:45 +0100
Source: pwrkap
Binary: pwrkap pwrkap-gui
Architecture: source all
Version: 7.30-2
Distribution: unstable
Urgency: low
Maintainer: Arnaud Quette <[email protected]>
Changed-By: Arnaud Quette <[email protected]>
Description: 
 pwrkap     - Energy use monitor and Power Cap enforcement tools - Core
 pwrkap-gui - Energy use monitor and Power Cap enforcement tools - GTK+ GUI
Closes: 541624 541625
Changes: 
 pwrkap (7.30-2) unstable; urgency=low
 .
   * debian/pwrkap.init (patches from Raphael Geissert):
     - fix incorrect dependencies on init script (Closes: #541625)
     - use start-stop-daemon's -p feature to handle PID (Closes: #541624)
   * debian/control: add ${misc:Depends} back to Depends (from Ubuntu)
   * debian/copyright: fix Copyright letter case and precise GPL v2 for the
     Debian packages Copyright (from Ubuntu)
Checksums-Sha1: 
 eb16ef2fa1180320965de5838415bd1949e54943 1117 pwrkap_7.30-2.dsc
 2a9ccfbd98d7d90a625f3f78d751ab772e126411 3274 pwrkap_7.30-2.diff.gz
 f1958060dcc4e11302b926dd5f3600c075aab173 43370 pwrkap_7.30-2_all.deb
 5908290a7e0e8d18d7e6753038c2149c93a39b91 14476 pwrkap-gui_7.30-2_all.deb
Checksums-Sha256: 
 8ff5dfe645da39139d874630dae0a70bc0f13e114c5c1d999e26e9f2f83514ff 1117 
pwrkap_7.30-2.dsc
 6da6f2682644758fcfcf8cf34c702b9b639adf51057df139ca8a50b7eb0d3215 3274 
pwrkap_7.30-2.diff.gz
 01dd2a7b9bbace474909d42393df315aafd6f12e20fee3eb5c6456c4d53acd48 43370 
pwrkap_7.30-2_all.deb
 9c5f6485719712769eccec0339ce68badbc799ada3713092d3762ea0dd7b84e8 14476 
pwrkap-gui_7.30-2_all.deb
Files: 
 553c61a6eec73f8dfaddd8730879a6fc 1117 admin optional pwrkap_7.30-2.dsc
 9b8369ba220a30ee11190d7154f1acdc 3274 admin optional pwrkap_7.30-2.diff.gz
 dfe296fc519ca4ea313fc2569e4466e3 43370 admin optional pwrkap_7.30-2_all.deb
 73abc7c806465de8474d2fcb95578338 14476 admin optional pwrkap-gui_7.30-2_all.deb

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

iEYEARECAAYFAksNP2UACgkQ22QUyiBN3xtdTgCfZpsK2cI0Jf535yjMgmi3+jaf
ALIAoLvLsye14H4XawA40scKePZ4O5Qv
=x0qI
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to