Your message dated Fri, 04 Sep 2009 05:02:23 +0000
with message-id <[email protected]>
and subject line Bug#544350: fixed in pcp 2.9.1
has caused the Debian Bug report #544350,
regarding pcp: Missing runlevels and dependencies in init.d scripts
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.)


-- 
544350: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544350
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package:  pcp
Version:  2.7.4-20080306
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, the script should probably stop during halt (0) and reboot
(6).  The package should start in runlevel 4, just like in runlevels
2, 3 and 5.  I suspect the list of dependencies are incomplete.  The
scripts used to start after the syslog collector was operational, and
should probably continue to do so.  Also, the scripts need files in
/usr/ and should depend on $remote_fs.

If the scripts themselves need to start in any specific order, the
relationship should be listed explicitly in the LSB header too.  Make
sure the update-rc.d calls in the postinst reflect this ordering if
any such dependencies should exist.

This patch implement the proposed change.  Without it, the script seem
to fail to handle runlevel 0, 1, 4 and 6 properly, and might start to
early in the boot.

diff -ur pcp-2.9.0/src/pmcd/rc_pcp pcp-2.9.0-pere/src/pmcd/rc_pcp
--- pcp-2.9.0/src/pmcd/rc_pcp   2009-07-01 04:32:40.000000000 +0200
+++ pcp-2.9.0-pere/src/pmcd/rc_pcp      2009-08-30 22:29:59.000000000 +0200
@@ -26,10 +26,10 @@
 # e.g. SuSE, where chkconfig is a perl script.
 ### BEGIN INIT INFO
 # Provides:       pcp
-# Required-Start: $network $local_fs
-# Required-Stop:
-# Default-Start:  2 3 5
-# Default-Stop:
+# Required-Start: $network $remote_fs $syslog
+# Required-Stop:  $remote_fs $syslog
+# Default-Start:  2 3 4 5
+# Default-Stop:   0 1 6
 # Short-Description:   Control pmcd and pmlogger daemons
 # Description:    Configure the Performance Co-Pilot and starts logging.
 ### END INIT INFO
diff -ur pcp-2.9.0/src/pmie/rc_pmie pcp-2.9.0-pere/src/pmie/rc_pmie
--- pcp-2.9.0/src/pmie/rc_pmie  2009-04-24 02:20:10.000000000 +0200
+++ pcp-2.9.0-pere/src/pmie/rc_pmie     2009-08-30 22:30:25.000000000 +0200
@@ -20,10 +20,10 @@
 # e.g. SuSE, where chkconfig is a perl script.
 ### BEGIN INIT INFO
 # Provides:       pmie
-# Required-Start: $network $local_fs
-# Required-Stop:
-# Default-Start:  2 3 5
-# Default-Stop:
+# Required-Start: $network $remote_fs $syslog
+# Required-Stop:  $remote_fs $syslog
+# Default-Start:  2 3 4 5
+# Default-Stop:   0 1 6
 # Short-Description:   Control PCP inference engines
 # Description:   Configures the performance monitoring inference engine
 ### END INIT INFO
diff -ur pcp-2.9.0/src/pmproxy/rc_pmproxy pcp-2.9.0-pere/src/pmproxy/rc_pmproxy
--- pcp-2.9.0/src/pmproxy/rc_pmproxy    2009-07-01 04:32:40.000000000 +0200
+++ pcp-2.9.0-pere/src/pmproxy/rc_pmproxy       2009-08-30 22:30:49.000000000 
+0200
@@ -26,10 +26,10 @@
 # e.g. SuSE, where chkconfig is a perl script.
 ### BEGIN INIT INFO
 # Provides:       pmproxy
-# Required-Start: $network $local_fs
-# Required-Stop:
-# Default-Start:  2 3 5
-# Default-Stop:
+# Required-Start: $network $remote_fs $syslog
+# Required-Stop:  $remote_fs $syslog
+# Default-Start:  2 3 4 5
+# Default-Stop:   0 1 6
 # Short-Description:   Control the pmproxy daemon
 # Description:    Control the Performance Co-Pilot protocol proxy daemon
 ### END INIT INFO

Happy hacking,
-- 
Petter Reinholdtsen



--- End Message ---
--- Begin Message ---
Source: pcp
Source-Version: 2.9.1

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

libpcp-gui2-dev_2.9.1_i386.deb
  to pool/main/p/pcp/libpcp-gui2-dev_2.9.1_i386.deb
libpcp-gui2_2.9.1_i386.deb
  to pool/main/p/pcp/libpcp-gui2_2.9.1_i386.deb
libpcp-logsummary-perl_2.9.1_i386.deb
  to pool/main/p/pcp/libpcp-logsummary-perl_2.9.1_i386.deb
libpcp-mmv-perl_2.9.1_i386.deb
  to pool/main/p/pcp/libpcp-mmv-perl_2.9.1_i386.deb
libpcp-mmv1-dev_2.9.1_i386.deb
  to pool/main/p/pcp/libpcp-mmv1-dev_2.9.1_i386.deb
libpcp-mmv1_2.9.1_i386.deb
  to pool/main/p/pcp/libpcp-mmv1_2.9.1_i386.deb
libpcp-pmda-perl_2.9.1_i386.deb
  to pool/main/p/pcp/libpcp-pmda-perl_2.9.1_i386.deb
libpcp-pmda3-dev_2.9.1_i386.deb
  to pool/main/p/pcp/libpcp-pmda3-dev_2.9.1_i386.deb
libpcp-pmda3_2.9.1_i386.deb
  to pool/main/p/pcp/libpcp-pmda3_2.9.1_i386.deb
libpcp-trace2-dev_2.9.1_i386.deb
  to pool/main/p/pcp/libpcp-trace2-dev_2.9.1_i386.deb
libpcp-trace2_2.9.1_i386.deb
  to pool/main/p/pcp/libpcp-trace2_2.9.1_i386.deb
libpcp3-dev_2.9.1_i386.deb
  to pool/main/p/pcp/libpcp3-dev_2.9.1_i386.deb
libpcp3_2.9.1_i386.deb
  to pool/main/p/pcp/libpcp3_2.9.1_i386.deb
pcp_2.9.1.dsc
  to pool/main/p/pcp/pcp_2.9.1.dsc
pcp_2.9.1.tar.gz
  to pool/main/p/pcp/pcp_2.9.1.tar.gz
pcp_2.9.1_i386.deb
  to pool/main/p/pcp/pcp_2.9.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.
Nathan Scott <[email protected]> (supplier of updated pcp 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, 02 Sep 2009 13:30:31 +1000
Source: pcp
Binary: pcp libpcp3-dev libpcp3 libpcp-gui2-dev libpcp-gui2 libpcp-mmv1-dev 
libpcp-mmv1 libpcp-pmda3-dev libpcp-pmda3 libpcp-trace2-dev libpcp-trace2 
libpcp-pmda-perl libpcp-logsummary-perl libpcp-mmv-perl
Architecture: source i386
Version: 2.9.1
Distribution: unstable
Urgency: low
Maintainer: Nathan Scott <[email protected]>
Changed-By: Nathan Scott <[email protected]>
Description: 
 libpcp-gui2 - Performance Co-Pilot graphical client tools library
 libpcp-gui2-dev - Performance Co-Pilot graphical client tools library and 
headers
 libpcp-logsummary-perl - Performance Co-Pilot historical log summary module
 libpcp-mmv-perl - Performance Co-Pilot Memory Mapped Value Perl module
 libpcp-mmv1 - Performance Co-Pilot Memory Mapped Value client library
 libpcp-mmv1-dev - Performance Co-Pilot Memory Mapped Value library and headers
 libpcp-pmda-perl - Performance Co-Pilot Domain Agent Perl module
 libpcp-pmda3 - Performance Co-Pilot Domain Agent library
 libpcp-pmda3-dev - Performance Co-Pilot Domain Agent library and headers
 libpcp-trace2 - Performance Co-Pilot application tracing library
 libpcp-trace2-dev - Performance Co-Pilot application tracing library and 
headers
 libpcp3    - Performance Co-Pilot library
 libpcp3-dev - Performance Co-Pilot library and headers
 pcp        - System level performance monitoring and performance management
Closes: 544350
Changes: 
 pcp (2.9.1) unstable; urgency=low
 .
   * New release (full details in CHANGELOG).
   * Add Petters start script enhancements (closes: #544350)
Checksums-Sha1: 
 50d2e33cfa3e0303b9d37097faaffcd9858ec3bc 1034 pcp_2.9.1.dsc
 0b3779313cd8a5c1c3691b84a23d90eec1ead503 2042317 pcp_2.9.1.tar.gz
 9c3c7190dc6ef24c78190184bd24197d6ecbed1a 1090280 pcp_2.9.1_i386.deb
 58dfeb93bef61616fe4f77e06813b21d053b422c 272854 libpcp3-dev_2.9.1_i386.deb
 9b7ee7724d317ed789f5b3290b1a835354ed44c3 112462 libpcp3_2.9.1_i386.deb
 1ab33e41064aef0875affd6182d6628313c49618 14202 libpcp-gui2-dev_2.9.1_i386.deb
 e4f8e0d412fcbff6f937886e4ea395394415ea98 12450 libpcp-gui2_2.9.1_i386.deb
 69f5eeaf8870cafeec2c6e875127b335d5bbba95 16054 libpcp-mmv1-dev_2.9.1_i386.deb
 6140efee085ae4509865d74ebfa04ea3c1bf90bb 9058 libpcp-mmv1_2.9.1_i386.deb
 e92e07a1c5381b7eacd7a25000b9976563cea79d 60228 libpcp-pmda3-dev_2.9.1_i386.deb
 5c341d095c29773ef0dce64e169bfe852e030b5e 21400 libpcp-pmda3_2.9.1_i386.deb
 13128decd4d1cfdaec50701e453b13e3ac9b8162 25374 libpcp-trace2-dev_2.9.1_i386.deb
 0609e447b33bda7fc0c423635bb8506488cd77ad 16142 libpcp-trace2_2.9.1_i386.deb
 ecd6e0c2811a1c8eef9c2eee231c077848808c19 38836 libpcp-pmda-perl_2.9.1_i386.deb
 8db9d5cdf061d9c87a5670d4a96d14e1f6b04085 9192 
libpcp-logsummary-perl_2.9.1_i386.deb
 f280a4121851353bee8c943d18f3f80c9a2a74ef 20404 libpcp-mmv-perl_2.9.1_i386.deb
Checksums-Sha256: 
 25d407b8135aa7605086efb9a5d787270ff7c822004ba4cd038ea9590b0d9b29 1034 
pcp_2.9.1.dsc
 4c027ac9d4b6dadb7d4163fa14de727f636e196758f93f979afd2b5a98b131d4 2042317 
pcp_2.9.1.tar.gz
 ebb7dc6c08a0c5457da96c2d097cf123b9088ea68584f2a05b03416978e9d43a 1090280 
pcp_2.9.1_i386.deb
 86eb3e90c87c6c25a0f0991f4499481fc35324fdb6a73c5f9b6ace3d06966ec9 272854 
libpcp3-dev_2.9.1_i386.deb
 d35b24fbe4f33fd9063a88cccdda72ce2e0769de588d22f515cc958ed910ced0 112462 
libpcp3_2.9.1_i386.deb
 d80c2f183b6fe544a06e46555fc1830fffa2576aafb93725bb81a5bba2f46654 14202 
libpcp-gui2-dev_2.9.1_i386.deb
 c16d8b8d49daa44d0c5e3e4f921cebd33fad9655085ee3de135cfad12e1a0216 12450 
libpcp-gui2_2.9.1_i386.deb
 0e265acd03df04f1a072cf0cd1b39e150b44b019b254d9c93592c620f295e049 16054 
libpcp-mmv1-dev_2.9.1_i386.deb
 0a2a5f02bb05ae7440b113589a3c64ddd2170fb2675b7428e442ea9752856693 9058 
libpcp-mmv1_2.9.1_i386.deb
 384d7227973bed82c4aec7a90e8e55125f9b7e37b8b6dac03f524955c81d57b0 60228 
libpcp-pmda3-dev_2.9.1_i386.deb
 50983cec1a9cc58f4e961417723a948eb6a7309cca049dbe0525d5a3cbaa4a45 21400 
libpcp-pmda3_2.9.1_i386.deb
 77cb0a03bba03b8d25341ae027ab72ea0a24102e045bf76df5fb65e2f884ffee 25374 
libpcp-trace2-dev_2.9.1_i386.deb
 f156a2a471a2951314e08ba5d419b54a949c4c7f70573fd92e8e09248dbaa5d6 16142 
libpcp-trace2_2.9.1_i386.deb
 313cee391482d4275872ce856f8bc3e16c544c8355324a37aa472cdec472af23 38836 
libpcp-pmda-perl_2.9.1_i386.deb
 8c2f18b47dfa9445f55418682724fffb3f4ba56c7afce4a5a30973d8137e189e 9192 
libpcp-logsummary-perl_2.9.1_i386.deb
 46c1bf4d107f3c92b74818bcb738035812a370b1201a256086afdc7cc9a5b419 20404 
libpcp-mmv-perl_2.9.1_i386.deb
Files: 
 5a0954df8705854bb9ac9ba2bd2f9357 1034 utils extra pcp_2.9.1.dsc
 c58ae02beff951f1c08d077216136b58 2042317 utils extra pcp_2.9.1.tar.gz
 9a2fe974cf40f44ffc4b56a7aa0e15db 1090280 utils extra pcp_2.9.1_i386.deb
 7a35344a41c9c0c4b5dedcb85e07e3ef 272854 libdevel extra 
libpcp3-dev_2.9.1_i386.deb
 7014190d148469297fa3df93733a86c9 112462 libs extra libpcp3_2.9.1_i386.deb
 44947d05935ca4fb9e6bebd8a855d691 14202 libdevel extra 
libpcp-gui2-dev_2.9.1_i386.deb
 cf40e8892a682680aff15c176a8abce2 12450 libs extra libpcp-gui2_2.9.1_i386.deb
 6e18952b32b3e0e1f7a082d5e3cbadae 16054 libdevel extra 
libpcp-mmv1-dev_2.9.1_i386.deb
 a0eca0ffc85a9425096dc78c86a86e2f 9058 libs extra libpcp-mmv1_2.9.1_i386.deb
 6d5aae1982ae338c0133964f6c22f3e9 60228 libdevel extra 
libpcp-pmda3-dev_2.9.1_i386.deb
 86223b0991770174e7854e234e22be72 21400 libs extra libpcp-pmda3_2.9.1_i386.deb
 168e56104cd60b8438482604a30b000d 25374 libdevel extra 
libpcp-trace2-dev_2.9.1_i386.deb
 18d99f1c84329697b4dfe400c4f1c97a 16142 libs extra libpcp-trace2_2.9.1_i386.deb
 8af7061e50db5c57d351892e12a3839b 38836 perl optional 
libpcp-pmda-perl_2.9.1_i386.deb
 6c554e5567e347e66daeb001a8d17e8b 9192 perl optional 
libpcp-logsummary-perl_2.9.1_i386.deb
 e39a9f4c7c9a0b6989c2e2856b6d4915 20404 perl optional 
libpcp-mmv-perl_2.9.1_i386.deb

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

iEYEARECAAYFAkqgmXMACgkQm8fl3HSIa2OKRgCgyV8vffMy7JvsS9+Q573KdJRn
JN4An126pZT/ZGdPLfkGN87FOpa9TuEP
=P5zN
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to