Your message dated Sat, 16 Jan 2010 03:19:21 +0000
with message-id <[email protected]>
and subject line Bug#549603: fixed in openais-legacy 0.80.5+svn20090522-2
has caused the Debian Bug report #549603,
regarding openais-legacy: Incorrect init.d script dependencies and runlevels
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.)


-- 
549603: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549603
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package:  openais-legacy
Version:  0.80.5+svn20090320-1
Severity: serious
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 scripts uses files
in /usr/ and should depend on $remote_fs.  Also, the header do not
specify that the script should start in runlevels 2 and 4.

This patch should solve the issue, and recover systems hit by the
incorrect runlevel settings.  Setting severity to serious, the script
will fail to start in the default runlevel.

diff -ur openais-legacy-0.80.5+svn20090522/debian/openais-legacy.init 
openais-legacy-0.80.5+svn20090522-pere/debian/openais-legacy.init
--- openais-legacy-0.80.5+svn20090522/debian/openais-legacy.init     2009-10-04 
20:17:41.000000000 +0200
+++ openais-legacy-0.80.5+svn20090522-pere/debian/openais-legacy.init        
2009-10-04 20:21:47.000000000 +0200
@@ -13,12 +13,12 @@
 # Description: openais cluster services.
 # Short-Description: openais cluster services.
 # Provides: openais
-# Required-Start: $network
-# Should-Start: $syslog
-# Required-Stop: $network
-# Default-Start: 3 5
-# Default-Stop: 0 6
-# Should-Stop: $null
+# Required-Start: $network $remote_fs
+# Required-Stop:  $network $remote_fs
+# Should-Start:   $syslog
+# Should-Stop:    $syslog
+# Default-Start:  2 3 4 5
+# Default-Stop:   0 1 6
 ### END INIT INFO

 do_force=0
diff -ur openais-legacy-0.80.5+svn20090522/debian/openais-legacy.postinst 
openais-legacy-0.80.5+svn20090522-pere/debian/openais-legacy.postinst
--- openais-legacy-0.80.5+svn20090522/debian/openais-legacy.postinst 2009-10-04 
20:17:41.000000000 +0200
+++ openais-legacy-0.80.5+svn20090522-pere/debian/openais-legacy.postinst    
2009-10-04 20:32:16.000000000 +0200
@@ -5,4 +5,16 @@
 addgroup --system ais
 adduser --system ais --ingroup ais

+# Those using dependency based boot sequencing and installing
+# openais-legacy before version 0.80.5+svn20090522-1 would miss
+# the runlevel 2 and 4 start symlinks.  Recover from this.
+if [ "$1" = "configure" ] \
+   && dpkg --compare-versions "$2" le "0.80.5+svn20090522-1" \
+   && [ ! -f /etc/rc2.d/S[0-9][0-9]openais-legacy ] \
+   && [ -f /etc/rc3.d/S[0-9][0-9]openais-legacy ] \
+   && [ -f /etc/rc5.d/S[0-9][0-9]openais-legacy ]
+then
+   update-rc.d -f openais-legacy remove
+fi
+
 #DEBHELPER#

Happy hacking,
-- 
Petter Reinholdtsen



--- End Message ---
--- Begin Message ---
Source: openais-legacy
Source-Version: 0.80.5+svn20090522-2

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

libopenais-legacy-2_0.80.5+svn20090522-2_amd64.deb
  to main/o/openais-legacy/libopenais-legacy-2_0.80.5+svn20090522-2_amd64.deb
libopenais-legacy-dev_0.80.5+svn20090522-2_amd64.deb
  to main/o/openais-legacy/libopenais-legacy-dev_0.80.5+svn20090522-2_amd64.deb
openais-legacy_0.80.5+svn20090522-2.diff.gz
  to main/o/openais-legacy/openais-legacy_0.80.5+svn20090522-2.diff.gz
openais-legacy_0.80.5+svn20090522-2.dsc
  to main/o/openais-legacy/openais-legacy_0.80.5+svn20090522-2.dsc
openais-legacy_0.80.5+svn20090522-2_amd64.deb
  to main/o/openais-legacy/openais-legacy_0.80.5+svn20090522-2_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.
Anibal Monsalve Salazar <[email protected]> (supplier of updated openais-legacy 
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: Sat, 16 Jan 2010 12:16:16 +1100
Source: openais-legacy
Binary: openais-legacy libopenais-legacy-2 libopenais-legacy-dev
Architecture: source amd64
Version: 0.80.5+svn20090522-2
Distribution: unstable
Urgency: low
Maintainer: Debian HA Maintainers 
<[email protected]>
Changed-By: Anibal Monsalve Salazar <[email protected]>
Description: 
 libopenais-legacy-2 - Standards-based cluster framework (libraries, whitetank 
tree)
 libopenais-legacy-dev - Standards-based cluster framework (developer files, 
whitetank tre
 openais-legacy - Standards-based cluster framework (daemon and modules, 
whitetank
Closes: 530987 549603
Changes: 
 openais-legacy (0.80.5+svn20090522-2) unstable; urgency=low
 .
   * Fix init.d script dependencies and runlevels
     Patch by Petter Reinholdtsen
     Closes: 549603
   * Fix bashism in /bin/sh script
     Closes: 530987
   * Fix debhelper-but-no-misc-depends
   * Fix out-of-date-standards-version
Checksums-Sha1: 
 e35f429680089cdab9b9b342d868ef97abc5d4ed 1305 
openais-legacy_0.80.5+svn20090522-2.dsc
 7d801c491e1ac3427511237fb50f18a47880fed7 7625 
openais-legacy_0.80.5+svn20090522-2.diff.gz
 201cc96f5490bad77cdfe65921ce775f79270249 310244 
openais-legacy_0.80.5+svn20090522-2_amd64.deb
 5d40c03e7f23fc5214080d0a5f5c6e6bc46ba444 202330 
libopenais-legacy-2_0.80.5+svn20090522-2_amd64.deb
 3490329e35406b11ecf33b6948a636845a86aeae 258506 
libopenais-legacy-dev_0.80.5+svn20090522-2_amd64.deb
Checksums-Sha256: 
 d176c9aaa561bd85d3486727ea5207705b8742c8563d9ff687f174d3231891ba 1305 
openais-legacy_0.80.5+svn20090522-2.dsc
 5c6a990427e6e2bf455212da33c7123e1d175e57997692e2120797eca814468e 7625 
openais-legacy_0.80.5+svn20090522-2.diff.gz
 17d8107f73406f7b057da6d8a1c456c2bad5f3918bb8bdf9f428861c8bbcf80c 310244 
openais-legacy_0.80.5+svn20090522-2_amd64.deb
 d2ca52839adbd4a81611e513598049493e99f2349328258c89d4938a96c27531 202330 
libopenais-legacy-2_0.80.5+svn20090522-2_amd64.deb
 bab88190653659e241a3755874948d4775360031cca8fe4b4359e217245edb26 258506 
libopenais-legacy-dev_0.80.5+svn20090522-2_amd64.deb
Files: 
 27e5d7c2cede34b3c411cda8d60ffe55 1305 admin optional 
openais-legacy_0.80.5+svn20090522-2.dsc
 d51e112085c7e45a675fe2c956056755 7625 admin optional 
openais-legacy_0.80.5+svn20090522-2.diff.gz
 c2f7d8c6b00a23f12797d2f106d3b790 310244 admin optional 
openais-legacy_0.80.5+svn20090522-2_amd64.deb
 244531c45344bfe4e7e1acd6980483d0 202330 libs optional 
libopenais-legacy-2_0.80.5+svn20090522-2_amd64.deb
 cd38b4a31e390f7cc7587ba6bee1cf81 258506 libdevel optional 
libopenais-legacy-dev_0.80.5+svn20090522-2_amd64.deb

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

iEYEARECAAYFAktRIIcACgkQgY5NIXPNpFWsMACgj7WJUgQceJlCPCqScCqUjg7O
SrMAoIr18Du9p3DUwlCCFqM8jaNfmyHV
=4WrA
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to