Your message dated Thu, 07 Sep 2006 08:02:04 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#386355: fixed in hyperestraier 1.4.2-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: hyperestraier
Version: 1.4.1-1
Severity: normal
After a system crash hyperstraier fails to start detecting $ROOTDIR/_pid
is present even though that process is not valid anymore.
At that point if you try to stop the daemon, like shutting down the system
before
deleting the pid file the whole shutdown process freezes.
To reproduce this, start an usual hyperestraier instance, kill
the corresponding process and try to start/stop the daemon.
Attached is a patch with a fix for this issue.
Radu Spineanu
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages hyperestraier depends on:
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libestraier8 1.4.1-1 a full-text search system Librarie
ii libfcgi0 2.4.0-5 Shared library of FastCGI
ii libqdbm14 1.8.70-1 QDBM Database Libraries [runtime]
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages hyperestraier recommends:
ii poppler-utils [xpdf-utils] 0.4.5-4.1 PDF utilitites (based on libpopple
pn ppthtml <none> (no description available)
pn wv <none> (no description available)
pn xlhtml <none> (no description available)
-- no debconf information
--- hyperestraier.old 2006-09-07 02:17:42.432712304 +0300
+++ hyperestraier 2006-09-07 02:37:30.017172024 +0300
@@ -17,6 +17,19 @@
test -x $DAEMON || exit 0
+# check if $ROOTDIR/_pid is a valid process and if it isn't deletes the pid
file
+check_process() {
+ pidfile="${ROOTDIR}/_pid"
+ if [ -f $pidfile ]; then
+ pid=`cat ${pidfile}`
+ process=`ps -p ${pid} | grep 'estmaster'` || true
+ if [ -z "$process" ]; then
+ rm "${ROOTDIR}/_pid"
+ fi
+
+ fi
+}
+
VERBOSE=yes
# Include hyperestraier defaults if available
if [ -f /etc/default/hyperestraier ] ; then
@@ -49,12 +62,14 @@
case "$1" in
start)
echo -n "Starting $DESC: "
+ check_process
start-stop-daemon --start --quiet --chuid $USER \
--exec $DAEMON -- start -bg $ROOTDIR
echo "$NAME."
;;
stop)
echo -n "Stopping $DESC: "
+ check_process
estmaster stop $ROOTDIR || true
echo "$NAME."
;;
@@ -77,6 +92,7 @@
# just the same as "restart".
#
echo -n "Restarting $DESC: "
+ check_process
estmaster stop $ROOTDIR || true
sleep 1
start-stop-daemon --start --quiet --chuid $USER \
--- End Message ---
--- Begin Message ---
Source: hyperestraier
Source-Version: 1.4.2-1
We believe that the bug you reported is fixed in the latest version of
hyperestraier, which is due to be installed in the Debian FTP archive:
hyperestraier_1.4.2-1.diff.gz
to pool/main/h/hyperestraier/hyperestraier_1.4.2-1.diff.gz
hyperestraier_1.4.2-1.dsc
to pool/main/h/hyperestraier/hyperestraier_1.4.2-1.dsc
hyperestraier_1.4.2-1_i386.deb
to pool/main/h/hyperestraier/hyperestraier_1.4.2-1_i386.deb
hyperestraier_1.4.2.orig.tar.gz
to pool/main/h/hyperestraier/hyperestraier_1.4.2.orig.tar.gz
libestraier-dev_1.4.2-1_i386.deb
to pool/main/h/hyperestraier/libestraier-dev_1.4.2-1_i386.deb
libestraier-java_1.4.2-1_i386.deb
to pool/main/h/hyperestraier/libestraier-java_1.4.2-1_i386.deb
libestraier-ruby1.8_1.4.2-1_i386.deb
to pool/main/h/hyperestraier/libestraier-ruby1.8_1.4.2-1_i386.deb
libestraier8_1.4.2-1_i386.deb
to pool/main/h/hyperestraier/libestraier8_1.4.2-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.
Fumitoshi UKAI <[EMAIL PROTECTED]> (supplier of updated hyperestraier 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.7
Date: Thu, 7 Sep 2006 23:32:48 +0900
Source: hyperestraier
Binary: hyperestraier libestraier-java libestraier8 libestraier-dev
libestraier-ruby1.8
Architecture: source i386
Version: 1.4.2-1
Distribution: unstable
Urgency: low
Maintainer: Fumitoshi UKAI <[EMAIL PROTECTED]>
Changed-By: Fumitoshi UKAI <[EMAIL PROTECTED]>
Description:
hyperestraier - a full-text search system for communities
libestraier-dev - a full-text search system Libraries [development]
libestraier-java - Hyper Estraier Node API Libraries for Java
libestraier-ruby1.8 - Hyper Estraier Node API Libraries for Ruby
libestraier8 - a full-text search system Libraries [runtime]
Closes: 386355
Changes:
hyperestraier (1.4.2-1) unstable; urgency=low
.
* New upstream release
* debian/control: libestraier-dev section libdevel
* debian/hyperestraier.init: check_pidfile
closes: Bug#386355
Files:
6f4c2d0be456512779d9e11512fe22e9 992 text optional hyperestraier_1.4.2-1.dsc
bc0baaa74f460866bf2ddb3b562d6080 920985 text optional
hyperestraier_1.4.2.orig.tar.gz
885a318d014d0d778ceba7c3d1e7d864 72145 text optional
hyperestraier_1.4.2-1.diff.gz
9651ed17219c9496023dc324dc68eaea 434358 text optional
hyperestraier_1.4.2-1_i386.deb
ac27b61ab51b4b36c9da8f8da7ec1b90 120514 text optional
libestraier8_1.4.2-1_i386.deb
cc533e865644e5776039a0279ba8bbbb 160574 libdevel optional
libestraier-dev_1.4.2-1_i386.deb
74621d19656e196777f87a0787f4c04e 81176 text optional
libestraier-ruby1.8_1.4.2-1_i386.deb
fcfeee9e6a8852759c99acf6d17ce738 95652 libs optional
libestraier-java_1.4.2-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFADGO9D5yZjzIjAkRAgjKAJ9+K81XLm6qR3T33OuIPRyNzAlomgCgrOd8
QzdDspMbEVovXuWbJjVtVFE=
=HKSi
-----END PGP SIGNATURE-----
--- End Message ---