Your message dated Sat, 29 Mar 2008 11:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#466203: fixed in genpower 1.0.5-2.1
has caused the Debian Bug report #466203,
regarding genpower: Please add LSB formatted dependency info in init.d 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.)
--
466203: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466203
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: genpower
Version: 1.0.5-1
Tags: patch
User: [EMAIL PROTECTED]
Usertags: missing-dependency
To be able to check boot script order, and also to be able to start
boot scripts in parallel, it is important to know the dependencies of
the various boot scripts. The Linux Software Base specifies a init.d
header file format useful for this purpose, and adding such header to
the anacron init.d script would make it possible for me to use this
information to check the current sequence and to speed up the debian
boot.
I am working on a system to update the boot sequence based on these
dependencies, and would like see this as the default in Lenny.
Because of this, it is nice if the dependencies was updated quickly.
<URL:http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html>
documents the LSB header format. Some debian notes are available from
<URL:http://wiki.debian.org/LSBInitScripts>.
Here is a patch to document the dependencies. I hope this is correct.
diff -ur genpower-1.0.5.orig/debian/genpower.rc
genpower-1.0.5/debian/genpower.rc
--- genpower-1.0.5.orig/debian/genpower.rc 2004-01-18 05:23:10.000000000
+0100
+++ genpower-1.0.5/debian/genpower.rc 2008-02-17 10:42:39.000000000 +0100
@@ -1,4 +1,11 @@
#! /bin/sh
+### BEGIN INIT INFO
+# Provides: genpower
+# Required-Start: $remote_fs
+# Required-Stop: $remote_fs
+# Default-Start: 1 2 3 4 5
+# Default-Stop:
+### END INIT INFO
#
# genpower This script is used to start the UPS management daemon. When
# called with "poweroff", this script will attempt to shutdown
diff -ur genpower-1.0.5.orig/debian/powerfail.rc
genpower-1.0.5/debian/powerfail.rc
--- genpower-1.0.5.orig/debian/powerfail.rc 2004-01-18 05:43:47.000000000
+0100
+++ genpower-1.0.5/debian/powerfail.rc 2008-02-17 10:39:10.000000000 +0100
@@ -1,4 +1,11 @@
#! /bin/sh
+### BEGIN INIT INFO
+# Provides: powerfail
+# Required-Start: $remote_fs
+# Required-Stop: $remote_fs
+# Default-Start: 1 2 3 4 5
+# Default-Stop:
+### END INIT INFO
#
# powerfail This script is run when the UPS tells the system that the
# power has gone. Tell everybody and start the shutdown based
The header patch reflect the current configuration in the package. It
seem strange to me to start the daemon in single user (runlevel 1),
and to insert two copies of the genpower script (using the symlink
ups-monitor). The symlink will not be properly handled by dependency
based boot sequencing, as it will provide genpower and not
ups-monitor. Is it really needed? If not, perhaps it is better to
remove the symlink? Also, I would recommend not starting the daemons
in runlevel 1.
Happy hacking,
--
Petter Reinholdtsen
--- End Message ---
--- Begin Message ---
Source: genpower
Source-Version: 1.0.5-2.1
We believe that the bug you reported is fixed in the latest version of
genpower, which is due to be installed in the Debian FTP archive:
genpower_1.0.5-2.1.diff.gz
to pool/main/g/genpower/genpower_1.0.5-2.1.diff.gz
genpower_1.0.5-2.1.dsc
to pool/main/g/genpower/genpower_1.0.5-2.1.dsc
genpower_1.0.5-2.1_i386.deb
to pool/main/g/genpower/genpower_1.0.5-2.1_i386.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.
Petter Reinholdtsen <[EMAIL PROTECTED]> (supplier of updated genpower 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.7
Date: Sat, 29 Mar 2008 12:21:42 +0100
Source: genpower
Binary: genpower
Architecture: source i386
Version: 1.0.5-2.1
Distribution: unstable
Urgency: low
Maintainer: Brian White <[EMAIL PROTECTED]>
Changed-By: Petter Reinholdtsen <[EMAIL PROTECTED]>
Description:
genpower - Monitor UPS and handle line power failures
Closes: 466203
Changes:
genpower (1.0.5-2.1) unstable; urgency=low
.
* Non-maintainer upload to solve release goal.
* Add LSB dependency header to init.d scripts (Closes: #466203).
Files:
554a58aa7f1de68eb2da1725451b62db 532 admin extra genpower_1.0.5-2.1.dsc
974dccb4ea9f4836b329dd28c51e011d 1315 admin extra genpower_1.0.5-2.1.diff.gz
1082111dbcfc564e448016ec87813078 47758 admin extra genpower_1.0.5-2.1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH7idu20zMSyow1ykRAvFWAJ0c+vs1MnoOOfb/JvEW8KL/xY6WAACfdvie
rLgcgti382oBGK3YmUU6dZY=
=pVzI
-----END PGP SIGNATURE-----
--- End Message ---