Your message dated Wed, 16 Sep 2009 07:47:16 +0000
with message-id <[email protected]>
and subject line Bug#544346: fixed in hpoj 0.91-14.1
has caused the Debian Bug report #544346,
regarding hpoj: Missing 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.)


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

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d scripts of this package.  The list of runlevels to
stop in is incomplete.  The script should stop in runlevel 1 to make
sure the service is started again when switching from runlevel 1 to
2-5.  Also, if the script need to run during halt (runlevel 0), I find
it very likely that it also need to run during reboot (runlevel 6).
Also, the script used to start after the syslog collector was started
and the source contain references to 'syslog', so I suspect the
$syslog facility should be a dependency.  I notice from #115984 that
this script should start before CUPS.  The CUPS scripts have changed
provides from cupsys to cups, and the hpoj script need to adjust.  I
kept the old cupsys dependency for compatibility reasons with older
Debian releases.  You might want to drop it completely.

This patch implement this change.  Without it, the script will fail to
handle runlevel 1 properly, and might start to early in the boot.

diff -ru hpoj-0.91/scripts/ptal-init.in hpoj-0.91-pere/scripts/ptal-init.in
--- hpoj-0.91/scripts/ptal-init.in      2009-08-30 22:07:14.000000000 +0200
+++ hpoj-0.91-pere/scripts/ptal-init.in 2009-08-30 22:12:39.000000000 +0200
@@ -1,12 +1,12 @@
 #!/usr/bin/perl
 ### BEGIN INIT INFO
 # Provides:          hpoj
-# Required-Start:    $remote_fs
-# Required-Stop:     $remote_fs
-# X-Start-Before:    cupsys
-# X-Stop-after:      cupsys
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# X-Start-Before:    cups cupsys
+# X-Stop-after:      cups cupsys
 # Default-Start:     2 3 4 5
-# Default-Stop:      0
+# Default-Stop:      0 1 6
 # Short-Description: Start daemon at boot time
 # Description:       Enable service provided by daemon.
 ### END INIT INFO

Happy hacking,
-- 
Petter Reinholdtsen



--- End Message ---
--- Begin Message ---
Source: hpoj
Source-Version: 0.91-14.1

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

hpoj-xojpanel_0.91-14.1_i386.deb
  to pool/main/h/hpoj/hpoj-xojpanel_0.91-14.1_i386.deb
hpoj_0.91-14.1.diff.gz
  to pool/main/h/hpoj/hpoj_0.91-14.1.diff.gz
hpoj_0.91-14.1.dsc
  to pool/main/h/hpoj/hpoj_0.91-14.1.dsc
hpoj_0.91-14.1_i386.deb
  to pool/main/h/hpoj/hpoj_0.91-14.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 hpoj 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, 14 Sep 2009 11:21:57 +0200
Source: hpoj
Binary: hpoj hpoj-xojpanel
Architecture: source i386
Version: 0.91-14.1
Distribution: unstable
Urgency: low
Maintainer: Mark Purcell <[email protected]>
Changed-By: Petter Reinholdtsen <[email protected]>
Description: 
 hpoj       - HP OfficeJet Linux driver (hpoj)
 hpoj-xojpanel - HP OfficeJet Linux QT-based LCD panel display
Closes: 518074 543133 544346
Changes: 
 hpoj (0.91-14.1) unstable; urgency=low
 .
   * Non-maintainer upload to solve release goal.
   * Corrected init.d script runlevels and dependency information and
     updated postinst to recover incorrect installations (Closes:
     #544346).
   * Dropped build dependency on removed package ttf2pt1, and stop
     generating manual pages from HTML because of this (Closes:
     #543133).
   * Made sure init.d script do nothing when package is removed but not
     purged (Closes: #518074).
   * Updated Standards-Version from 3.8.0 to 3.8.3.  No change needed.
   * Updated to use debhelper version 7.  Use dh_prep instead of
     dh_clean -k, and use dh_lintian instead of install.
Checksums-Sha1: 
 c5c2e2fb1abc2025db983b1faa772522c803b7a7 1184 hpoj_0.91-14.1.dsc
 b020a42278a3dc331ae07de7db1be090037e1c4a 108534 hpoj_0.91-14.1.diff.gz
 a8449097182786d60a9427ad0caf7a9a28c9324a 404494 hpoj_0.91-14.1_i386.deb
 7f93d16880738bee0266ecca9a004833225870b7 56412 hpoj-xojpanel_0.91-14.1_i386.deb
Checksums-Sha256: 
 7ac5d01ee373446c00c378a5b2269f2f533474f713e1f5b920ab0e7fd03cf9b5 1184 
hpoj_0.91-14.1.dsc
 534f7b6cc61c4ec4a29348aa95075c03b326bda96e8f329899a98a184df5c343 108534 
hpoj_0.91-14.1.diff.gz
 c0651fde6e9b57a3d253a739f75426858ee43afaabac495a5765dbb5b8b838ab 404494 
hpoj_0.91-14.1_i386.deb
 cf1d16123166c3cafe1e88664ecf6bd2ff1f371ee143a1567586484cd64ccd35 56412 
hpoj-xojpanel_0.91-14.1_i386.deb
Files: 
 627562321cc53ff7f2b510d8d3473844 1184 utils optional hpoj_0.91-14.1.dsc
 d916d9baeaf04c3a6bd8e3e82d934ed3 108534 utils optional hpoj_0.91-14.1.diff.gz
 4af26ba39a23f544223dac88f7560cf2 404494 utils optional hpoj_0.91-14.1_i386.deb
 adb9a0c4ab8fbc03e6c115df753acd44 56412 utils optional 
hpoj-xojpanel_0.91-14.1_i386.deb

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

iD8DBQFKsJT420zMSyow1ykRAvMkAJ4/K1z5QTzUmmsSEvdDa6313A7MWQCgqUJF
4ideRdpkx6/L6EpTpQM0obM=
=9xrG
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to