List:Packagers« Previous MessageNext Message »
From:Lenz Grimmer Date:December 13 2002 8:59am
Subject:MySQL 3.23.54 safe_mysqld fix
View as plain text  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

just in case you are working on packaging 3.23.54 - please apply the
following patch attached! Unfortunately this was not caught during the
builds... :(

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

- ---------- Forwarded message ----------
Date: Thu, 12 Dec 2002 12:46:10 -0600
From: Nick <ngaugler@stripped>
To: internals@stripped, mysql@stripped
Subject: MySQL 3.23.54 safe_mysqld fix

The following code is incorrect in safe_mysqld on 3.23.54 at least (that
is all I have checked)

Line 162:
    if $NOHUP_NICENESS -gt 0
    then
      $NOHUP_NICENESS="nice --$NOHUP_NICENESS nohup"


This needs to be:

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



Thanks!

Nickg

- -- 
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+aGKSVDhKrJykfIRAhw5AJ4zAO23NbJbIV6tuqeKGuskpVgZ6wCfdIlT
sIhXo1Uz2igbn0siiJcC7Yg=
=9vp9
-----END PGP SIGNATURE-----

===== scripts/safe_mysqld.sh 1.47 vs edited =====
--- 1.47/scripts/safe_mysqld.sh	Sun Nov 24 15:20:40 2002
+++ edited/scripts/safe_mysqld.sh	Fri Dec 13 09:39:03 2002
@@ -159,7 +159,7 @@
   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"
     else
Thread
MySQL 3.23.54 safe_mysqld fixLenz Grimmer13 Dec