Your message dated Mon, 17 Aug 2009 19:18:23 +0000
with message-id <e1md7ip-0002mb...@ries.debian.org>
and subject line Bug#466421: fixed in hsqldb 1.8.0.10-3
has caused the Debian Bug report #466421,
regarding hsqldb-server: errors in  init script /etc/init.d/hsqldb-server
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 ow...@bugs.debian.org
immediately.)


-- 
466421: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466421
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: hsqldb-server
Version: 1.8.0.7-1etch1


There are some errors in the init-script regarding stop, restart and status.


/etc/init.d/hsqldb-server status
will always report NOT RUNNING, because the is_running function is called without type as arg.


/etc/init.d/hsqldb-server stop
will always report about stopping a server type even if it is not running

/etc/init.d/hsqldb-server restart will always try to start each type, regardless of the state of is_configured and therefor create a pid-file even if it is not running


patch see attachement ...


# diff -Naur hsqldb-server.orig hsqldb-server.new
--- hsqldb-server.orig  2007-11-28 23:59:00.000000000 +0100
+++ hsqldb-server.new   2008-02-18 17:47:25.000000000 +0100
@@ -126,15 +126,14 @@
        status=0
        log_daemon_msg "Stopping HSQLDB database server"
        for type in server webserver; do
-               d_stop $type && log_progress_msg "$type"
-               status=$(($status || $?))
+ is_running $type && d_stop $type && log_progress_msg "$type" && status=$(($status || $?))
        done
        log_end_msg $status
        ;;
     status)
        status=0
        for type in server webserver; do
-               is_running
+               is_running $type
                typestatus=$?
                if [ $typestatus -eq 0 ]; then
                        log_success_msg "HSQLDB $type is running."
@@ -149,7 +148,7 @@
        status=0
        log_daemon_msg "Restarting HSQLDB database server"
        for type in server webserver; do
-               d_stop $type && sleep 1 && d_start $type
+ d_stop $type && sleep 1 && is_configured $type && d_start $type
                status=$(($status || $?))
                log_progress_msg $type
        done



Best regards
Klaus Zerwes zero-sys.net
--- hsqldb-server.orig  2007-11-28 23:59:00.000000000 +0100
+++ hsqldb-server.new   2008-02-18 17:47:25.000000000 +0100
@@ -126,15 +126,14 @@
        status=0
        log_daemon_msg "Stopping HSQLDB database server"
        for type in server webserver; do
-               d_stop $type && log_progress_msg "$type"
-               status=$(($status || $?))
+               is_running $type && d_stop $type && log_progress_msg "$type" && 
status=$(($status || $?))
        done
        log_end_msg $status
        ;;
     status)
        status=0
        for type in server webserver; do
-               is_running
+               is_running $type
                typestatus=$?
                if [ $typestatus -eq 0 ]; then
                        log_success_msg "HSQLDB $type is running."
@@ -149,7 +148,7 @@
        status=0
        log_daemon_msg "Restarting HSQLDB database server"
        for type in server webserver; do
-               d_stop $type && sleep 1 && d_start $type
+               d_stop $type && sleep 1 && is_configured $type && d_start $type
                status=$(($status || $?))
                log_progress_msg $type
        done

--- End Message ---
--- Begin Message ---
Source: hsqldb
Source-Version: 1.8.0.10-3

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

hsqldb-server_1.8.0.10-3_all.deb
  to pool/main/h/hsqldb/hsqldb-server_1.8.0.10-3_all.deb
hsqldb_1.8.0.10-3.diff.gz
  to pool/main/h/hsqldb/hsqldb_1.8.0.10-3.diff.gz
hsqldb_1.8.0.10-3.dsc
  to pool/main/h/hsqldb/hsqldb_1.8.0.10-3.dsc
libhsqldb-java-doc_1.8.0.10-3_all.deb
  to pool/main/h/hsqldb/libhsqldb-java-doc_1.8.0.10-3_all.deb
libhsqldb-java-gcj_1.8.0.10-3_amd64.deb
  to pool/main/h/hsqldb/libhsqldb-java-gcj_1.8.0.10-3_amd64.deb
libhsqldb-java_1.8.0.10-3_all.deb
  to pool/main/h/hsqldb/libhsqldb-java_1.8.0.10-3_all.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 466...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Engelhard <r...@debian.org> (supplier of updated hsqldb 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 17 Aug 2009 21:05:08 +0200
Source: hsqldb
Binary: libhsqldb-java libhsqldb-java-gcj libhsqldb-java-doc hsqldb-server
Architecture: source all amd64
Version: 1.8.0.10-3
Distribution: unstable
Urgency: medium
Maintainer: Rene Engelhard <r...@debian.org>
Changed-By: Rene Engelhard <r...@debian.org>
Description: 
 hsqldb-server - Java SQL database server
 libhsqldb-java - Java SQL database engine
 libhsqldb-java-doc - documentation for HSQLDB
 libhsqldb-java-gcj - Java SQL database engine (native code)
Closes: 466421
Changes: 
 hsqldb (1.8.0.10-3) unstable; urgency=medium
 .
   * add patch from http://www.openoffice.org/issues/show_bug.cgi?id=103528
     to fix BITXOR
   * build with target/source for 1.5 as default-jdk is now OpenJDK 1.6
   * remove old hsqldb-server.init. Use bin/hsqldb. Add /etc/hsqldb.conf.
     Make it work. Finetuning probably still needed but it at least now
     has working (re)start/stop/status.
     (closes: #466421)
   * move libhsqldb-java to java and hsqldb-server to databases
   * fix doc-base section
Checksums-Sha1: 
 cae6c0dc4d4fc8a36c2ec5b9f5d99d00655259f9 1736 hsqldb_1.8.0.10-3.dsc
 5d173eec05a77816910866b8383d79483873060f 11359 hsqldb_1.8.0.10-3.diff.gz
 f17f7339c119b2d17cf469357f71a9b780dda881 937146 
libhsqldb-java_1.8.0.10-3_all.deb
 a8afe3c3b96cb1affc9c2630ac6eac09c14c2b0d 909560 
libhsqldb-java-doc_1.8.0.10-3_all.deb
 acdbb8ec39ff82bf0aada743d39a25f50c540d5c 45532 hsqldb-server_1.8.0.10-3_all.deb
 f378b79552b2566ee71a602be8ccedfc5b450e85 1697618 
libhsqldb-java-gcj_1.8.0.10-3_amd64.deb
Checksums-Sha256: 
 96c9faf427260dcbc6dab62a7959b6ab7e4a535e738e29463c4fd2e085b4c029 1736 
hsqldb_1.8.0.10-3.dsc
 8eae2e6eabda5c84017d4c1454dbfbe5bdd382afff40fe4328615c79c6a7f817 11359 
hsqldb_1.8.0.10-3.diff.gz
 d9029e386ef555f15e6dd25eb2c81c21b2f2338c90dd068fc6058b5764dda581 937146 
libhsqldb-java_1.8.0.10-3_all.deb
 6f50ad77d6e342a5058529655649f08c2f05d84a1632a56b635bf9b1d94ec318 909560 
libhsqldb-java-doc_1.8.0.10-3_all.deb
 dc9dd2cee3d3d7f3fe674174dc1914d7b3c45a8fcf85b24c2543223e0f4bad68 45532 
hsqldb-server_1.8.0.10-3_all.deb
 ebecb3ca0c765944e86524d41e1ed299ce8eee90731461a855b34e3b0891f0fc 1697618 
libhsqldb-java-gcj_1.8.0.10-3_amd64.deb
Files: 
 3633e0700536571db66cfab68b1aba34 1736 libs optional hsqldb_1.8.0.10-3.dsc
 b7ec9b12b4eab6896b84de24db99da19 11359 libs optional hsqldb_1.8.0.10-3.diff.gz
 4fa10e262e59fc24e07ccf200b7e12a8 937146 java optional 
libhsqldb-java_1.8.0.10-3_all.deb
 9968274f8c2deb8c41e20b86602f684b 909560 doc optional 
libhsqldb-java-doc_1.8.0.10-3_all.deb
 47da001ce9aacca931a40f46fde04f07 45532 database optional 
hsqldb-server_1.8.0.10-3_all.deb
 d4ec8b10257e77f4564e82ec9c399ead 1697618 libs optional 
libhsqldb-java-gcj_1.8.0.10-3_amd64.deb

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

iQIcBAEBCAAGBQJKiathAAoJEAqgRXHQPj5wiLMQAJgKGwn55xSjy2301xdVU3jn
vcpYHA1DWrq+8YAHNU5eHLa1HDS2rH5VJflQlcumKSoN4VJmiJdNaIEusUdgc7Pt
wdLwD+0k4bGFhOaZUhrw/jmV3gfFQd6XbXKjc0FiFCNm2i+jmXT9qrWnc+DzYgsW
Gl5QIkJlYsqFyVWJGOs61shZXvRmraNYdjUWGwOsLbx2V5vP7f6t7Yllo/nxowPZ
4qyeTT81/ylv6drnDMJhrG6q6rfJdx6ETcq4zi0sX54y9+qlbKCzRTzFEZHLFOjm
+mhc57oPIiGnaHxCIl35aU3ph2nLpF0a5c/8ct6x9aVCd220/YsnCZZJfiPb5Y/Z
el3Xp0nOFgD1H5WvKhjcG3kAJgaEvUlfc+D1ETkjY73vbrJSVWiamTUD3KcVxk0O
EDhU0+OoJ7jgi3KcSJUtoJ0vYhOLeLBEo53Mry7tJsgxvXrDAwm1ciUUbPWud5A2
i1YtU0OXsZg7kVL/ZyDJQWlzSAA0yLbveHOAYHPYjDSQDTsm1JlMF9zt1YJ1LC0O
U3TQJBswnmrKdPaCZjG8R5CANZ/WwKDhpUwctkAYcHE/Tf/8vx04pfkeayP9eL+q
xKtFJjjQp5aJpM7ngQKFkDiib8Rv6vhc7gI0oRfcKcZYCBGFpe9flaywFiRiEi+S
99GNXKHBYWw8ZbDssBdm
=mt83
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to