List:Packagers« Previous MessageNext Message »
From:Lenz Grimmer Date:December 13 2002 3:18pm
Subject:Addendum to the MySQL 3.23.54 release
View as plain text  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

unfortunately the MySQL 3.23.54 release includes a buglet in the
"mysqld_safe" startup script that can lead to a "syntax error" message on
startup.

This does only apply to the Unix binaries, the Windows packages are not
affected by this - they do not use this script at all.

We will provide updated binary packages labelled as "3.23.54a" which will
fix this error ASAP. In the meanwhile, you can also correct this typo
manually by following the instructions below.

Please change into the directory where MySQL has been installed into (e.g.
/usr/local/mysql) and open the file "bin/safe_mysqld" with a text editor.

Now look for the following text at line 162:

[SNIP]
    if $NOHUP_NICENESS -gt 0
    then
      $NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup"
[SNIP]

This needs to be changed to:

[SNIP]
    if test $NOHUP_NICENESS -gt 0
    then
      NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup"
[SNIP]

In other words, please add the word "test" to the line beginning with "if"
and remove the dollar sign in front of "NOHUP_NICENESS" in the last line
here.

Alternatively, simply apply the following patch to safe_mysqld:

[SNIP]
- --- safe_mysqld.org	Mon Nov 25 11:49:31 2002
+++ safe_mysqld		Fri Dec 13 13:09:16 2002
@@ -159,9 +159,9 @@
   NOHUP_NICENESS=`nohup nice 2>&1`
   if test $? -eq 0 && test x"$NOHUP_NICENESS" != x0 && nice --1 echo foo
> /dev/null 2>&1
   then
- -    if $NOHUP_NICENESS -gt 0
+    if test $NOHUP_NICENESS -gt 0
     then
- -      $NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup"
+      NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup"
     else
       NOHUP_NICENESS="nice -$NOHUP_NICENESS nohup"
     fi
[SNIP]

We apologize for this mistake and for any inconveniences this may have
caused you.

Bye,
	LenZ
- -- 
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /      Mr. Lenz Grimmer <lenz@stripped>
 / /|_/ / // /\ \/ /_/ / /__     MySQL AB, Production Engineer
/_/  /_/\_, /___/\___\_\___/     Hamburg, Germany
       <___/   www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9+fpLSVDhKrJykfIRAqXtAJ97stZCr2MwCEHgB6OVJ9Dcyq8ASQCfbZt4
XSqqje6wHmkCocGcV9O2EbQ=
=3CXW
-----END PGP SIGNATURE-----

Thread
Addendum to the MySQL 3.23.54 releaseLenz Grimmer13 Dec