Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2002 19:25:07 -0400
From:      The Anarcat <anarcat@anarcat.ath.cx>
To:        dirk@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   latest /bin/sh MFC broke mysqld startup script
Message-ID:  <20020806232507.GG1019@lenny.anarcat.ath.cx>

next in thread | raw e-mail | index | archive | help

--6cMF9JLEeZkfJjkP
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi.

src/bin/sh/parser.c rev. 1.29.2.7 changed the way sh(1) parses and
therefore broke the mysqld startup script.

Here is a fix:

--- mysql-server.sh.old	Tue Aug  6 19:24:34 2002
+++ mysql-server.sh	Tue Aug  6 19:24:44 2002
@@ -3,7 +3,7 @@
 case "$1" in
 	start)
 		if [ -x /usr/local/bin/safe_mysqld ]; then
-			/usr/local/bin/safe_mysqld --skip-networking --user=3Dmysql > /dev/null=
 & && echo -n ' mysqld'
+			/usr/local/bin/safe_mysqld --skip-networking --user=3Dmysql > /dev/null=
 && echo -n ' mysqld'
 		fi
 		;;
 	stop)


A.

--=20
Un =E9ducateur dans l'=E2me ne prend rien au s=E9rieux que par rapport
=E0 ses disciples -- soi-m=EAme non except=E9.
                        - Nietzsche, "Par del=E0 le bien et le mal"

--6cMF9JLEeZkfJjkP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9UFrSttcWHAnWiGcRAtDnAJ45zhkmOvvZDewl/LqqoBywGqHMQwCbBURa
b86iw3ZBOeXJUmIflgKtGgA=
=LkIV
-----END PGP SIGNATURE-----

--6cMF9JLEeZkfJjkP--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020806232507.GG1019>