Your message dated Mon, 21 Aug 2006 05:02:14 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#312243: fixed in roxen4 4.0.425-2
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: roxen4
Version: 4.0.325-1
Severity: critical
Tags: patch
Justification: breaks unrelated software


The roxen startup script /usr/share/roxen4/start incorrectly uses the
file /var/run/mysqld/mysqld.pid instead of /var/run/roxen4/mysqld.pid to
determine the pid of its mysql instance. Thus when roxen is stopped, the
normal mysql server is stopped, too! 

The problem is exacerbated by the cron job /etc/cron.weekly/roxen4,
which restarts roxen, thus shutting down mysql once per week. 

This patch fixes the problem:

--- start.2005-06-06T17:47:48   2005-03-21 12:35:30.000000000 +0100
+++ start       2005-06-06 17:48:08.000000000 +0200
@@ -678,13 +678,13 @@
     # FIXME: Consider exiting here.
   fi
   if [ "x$keep_mysql" = "x" ] ; then
-    if [ -f /var/run/mysqld/mysqld.pid ] ; then
-      mysql_pid="`cat /var/run/mysqld/mysqld.pid 2>/dev/null`"
+    if [ -f /var/run/roxen4/mysqld.pid ] ; then
+      mysql_pid="`cat /var/run/roxen4/mysqld.pid 2>/dev/null`"
       dp_no_nl "Shutting down MySQL."
       kill "$mysql_pid" 2>/dev/null
       # Give mysql 5 minutes to shut down.
       timer=""
-      while [ -f "/var/run/mysqld/mysqld.pid" -a \
+      while [ -f "/var/run/roxen4/mysqld.pid" -a \
              "$timer" != "mmmmm" ] && \
            kill -0 "$mysql_pid" 2>/dev/null; do
        sleep 2
@@ -702,9 +702,9 @@
         dp "Shutting down MySQL the hard way."
         kill -9 "$mysql_pid" 2>/dev/null
       fi
-      if [ -f "/var/run/mysqld/mysqld.pid" ] && \
-        [ "$mysql_pid" = "`cat /var/run/mysqld/mysqld.pid`" ]; then
-        rm -f "/var/run/mysqld/mysqld.pid" 2>/dev/null
+      if [ -f "/var/run/roxen4/mysqld.pid" ] && \
+        [ "$mysql_pid" = "`cat /var/run/roxen4/mysqld.pid`" ]; then
+        rm -f "/var/run/roxen4/mysqld.pid" 2>/dev/null
       fi
     fi
   fi

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages roxen4 depends on:
ii  debconf                       1.4.30.13  Debian configuration management sy
ii  hostname                      2.13       A utility to set/show the host nam
ii  mysql-server                  4.0.24-5   mysql database server binaries
ii  pike7.4-image                 7.4.117-1  Image module for Pike
ii  pike7.4-mysql                 7.4.117-1  Mysql module for Pike
ii  procps                        1:3.2.1-2  The /proc file system utilities

-- debconf information excluded


--- End Message ---
--- Begin Message ---
Source: roxen4
Source-Version: 4.0.425-2

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

roxen4-doc_4.0.425-2_all.deb
  to pool/main/r/roxen4/roxen4-doc_4.0.425-2_all.deb
roxen4_4.0.425-2.diff.gz
  to pool/main/r/roxen4/roxen4_4.0.425-2.diff.gz
roxen4_4.0.425-2.dsc
  to pool/main/r/roxen4/roxen4_4.0.425-2.dsc
roxen4_4.0.425-2_i386.deb
  to pool/main/r/roxen4/roxen4_4.0.425-2_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.
Turbo Fredriksson <[EMAIL PROTECTED]> (supplier of updated roxen4 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: Mon, 21 Aug 2006 13:37:20 +0200
Source: roxen4
Binary: roxen4-doc roxen4
Architecture: source i386 all
Version: 4.0.425-2
Distribution: unstable
Urgency: low
Maintainer: Turbo Fredriksson <[EMAIL PROTECTED]>
Changed-By: Turbo Fredriksson <[EMAIL PROTECTED]>
Description: 
 roxen4     - The Roxen Challenger Webserver
 roxen4-doc - Roxen 4.0 documentation
Closes: 312243 370735
Changes: 
 roxen4 (4.0.425-2) unstable; urgency=low
 .
   * Update Czech debconf translations.
     Closes: #370735
   * Fix 002_default_paths patch to shutdown mysql server pid in
     /var/run/roxen4/mysqld.pid (misstakenly used /var/run/mysql/mysqld.pid
     which is the system MySQL).
     Closes: #312243
   * Remove the 'simple-restart' from the init script. It did
     a 'killall -9 pike7.4' which might be so ... nice.
Files: 
 c343a34cd3e0086826f84f985cae00ef 582 web optional roxen4_4.0.425-2.dsc
 45fc1672e0a28851d5ad2498681aecf6 211927 web optional roxen4_4.0.425-2.diff.gz
 158d8bd59013ed1d7f48649caab616f4 8289344 doc optional 
roxen4-doc_4.0.425-2_all.deb
 4a271f0e6a26f893f64fd03ad6d55a32 7720864 web optional roxen4_4.0.425-2_i386.deb

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

iD8DBQFE6ZynmlWzPKccHgARAikGAJ0bJmQqcLnkHrJ70UH4FHBxlgDkEACaAx1M
jrn6szdB+VGSIe1XmV/GeMk=
=FrDb
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to