Your message dated Sat, 17 Oct 2009 12:17:05 +0000
with message-id <[email protected]>
and subject line Bug#542350: fixed in dhcp-probe 1.3.0-3
has caused the Debian Bug report #542350,
regarding dhcp-probe: Incorrect runlevels and dependencies 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.)


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

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d script.  The script uses files in /usr/ and should
depend on $remote_fs, not $local_fs.  Also, the $networking virtual
facility do not exist.  I suspect you wanted the $network facility
instead.  Last, and more seriously, the script is not set up to stop
in runlevel 1, and this will create problems when switching to and
from runlevel 1.  This will bring the runlevel list in line with the
argument used for update-rc.d.

<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 >.

This patch should solve the issue.  Because the script already depend
on $syslog, this change will not affect the boot ordering, but only
make the stated dependencies make more sense.  Without the runlevel
change, the service will not start as it should when switching from
runlevel 1 to 2-5.  In addition to this header change, some code in
postinst is needed to add the stop symlink in rc1.d during upgrades.

diff -ur dhcp-probe-1.3.0/debian/dhcp-probe.init.d 
dhcp-probe-1.3.0-pere/debian/dhcp-probe.init.d
--- dhcp-probe-1.3.0/debian/dhcp-probe.init.d   2009-08-19 09:34:23.000000000 
+0200
+++ dhcp-probe-1.3.0-pere/debian/dhcp-probe.init.d      2009-08-19 
09:34:55.000000000 +0200
@@ -1,10 +1,10 @@
 #!/bin/sh
 ### BEGIN INIT INFO
 # Provides:            dhcp-probe
-# Required-Start:    $networking $syslog
-# Required-Stop:     $networking $syslog
+# Required-Start:    $remote_fs $network $syslog
+# Required-Stop:     $remote_fs $network $syslog
 # Default-Start:     2 3 4 5
-# Default-Stop:      0 6
+# Default-Stop:      0 1 6
 # Short-Description: dhcp-probe daemon to survey DHCP/BootP server on LAN
 ### END INIT INFO


Happy hacking,
-- 
Petter Reinholdtsen



--- End Message ---
--- Begin Message ---
Source: dhcp-probe
Source-Version: 1.3.0-3

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

dhcp-probe_1.3.0-3.diff.gz
  to pool/main/d/dhcp-probe/dhcp-probe_1.3.0-3.diff.gz
dhcp-probe_1.3.0-3.dsc
  to pool/main/d/dhcp-probe/dhcp-probe_1.3.0-3.dsc
dhcp-probe_1.3.0-3_amd64.deb
  to pool/main/d/dhcp-probe/dhcp-probe_1.3.0-3_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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laurent Guignard <[email protected]> (supplier of updated dhcp-probe 
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: Mon, 24 Aug 2009 14:17:48 +0200
Source: dhcp-probe
Binary: dhcp-probe
Architecture: source amd64
Version: 1.3.0-3
Distribution: unstable
Urgency: low
Maintainer: Laurent Guignard <[email protected]>
Changed-By: Laurent Guignard <[email protected]>
Description: 
 dhcp-probe - network dhcp or bootp server discover
Closes: 535172 535361 542350
Changes: 
 dhcp-probe (1.3.0-3) unstable; urgency=low
 .
   * Fix dhcp-probe.postinst script (closes: #535172).
   * Fix postrm problem on /etc/dhcp_probe.cf file.
   * Fix dhcp-probe.init.d script to enable -T option
     (Thanks to Ilkka Virta <[email protected]>).
   * Fix dhcp-probe.init.d script (closes: #542350). Thanks to
     Petter Reinholdtsen <[email protected]> for the patch.
   * Add patch to adapt src/get_myipaddr.c file to 32 or 64 bits system by
     pre-compilation directive in source code and debian/rules file update
     (closes: #535361).
Checksums-Sha1: 
 ed3cffc1d2d7de58930b38e7db4d502ae58ddce4 1133 dhcp-probe_1.3.0-3.dsc
 59738c42df832f3666026cfc7166dc2e8d278dcc 9157 dhcp-probe_1.3.0-3.diff.gz
 2c9bbebc77e47716c771f7e417a882fdb7116722 67450 dhcp-probe_1.3.0-3_amd64.deb
Checksums-Sha256: 
 3a52076379f2226e5299536b34c75ef0146d2aa0ab880faea72688117296bd50 1133 
dhcp-probe_1.3.0-3.dsc
 6864d835a7acbf7cbe606f541121072d5bcb11c4d3f32dc1845d774347627908 9157 
dhcp-probe_1.3.0-3.diff.gz
 599ace87abe19ea97f8cb5f10795e8698ebe8ca39309a955dee333e56a81ee1c 67450 
dhcp-probe_1.3.0-3_amd64.deb
Files: 
 5fe091d97048253ad8cb7ab7ca1928de 1133 net optional dhcp-probe_1.3.0-3.dsc
 1c1dad95a04cf86ddb0627b432ac2a51 9157 net optional dhcp-probe_1.3.0-3.diff.gz
 b6f7fe430399b80044b4e28748131ad6 67450 net optional 
dhcp-probe_1.3.0-3_amd64.deb

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

iEYEARECAAYFAkrZtMgACgkQvx6dH3bVKsQIKQCgtG+uuaaBOlEWvjze4vZCPt//
pkAAoLRf8iAq1eY07uTv+sF9M2gDm/qp
=LVzE
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to