Date: Tue, 6 Aug 2002 19:31:12 -0400 From: The Anarcat <anarcat@anarcat.ath.cx> To: dirk@FreeBSD.org Cc: ports@FreeBSD.org Subject: Re: latest /bin/sh MFC broke mysqld startup script Message-ID: <20020806233112.GH1019@lenny.anarcat.ath.cx> In-Reply-To: <20020806232507.GG1019@lenny.anarcat.ath.cx> References: <20020806232507.GG1019@lenny.anarcat.ath.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
--l0l+eSofNeLXHSnY Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Actually, a proper fix would more likely be: --- mysql-server.sh.old Tue Aug 6 19:24:34 2002 +++ mysql-server.sh Tue Aug 6 19:31:01 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. On Tue Aug 06, 2002 at 07:25:07PM -0400, The Anarcat wrote: > Hi. >=20 > src/bin/sh/parser.c rev. 1.29.2.7 changed the way sh(1) parses and > therefore broke the mysqld startup script. >=20 > Here is a fix: >=20 > --- 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/nu= ll & && echo -n ' mysqld' > + /usr/local/bin/safe_mysqld --skip-networking --user=3Dmysql > /dev/nu= ll && echo -n ' mysqld' > fi > ;; > stop) >=20 >=20 > A. >=20 > --=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" --=20 Computer science is no more about computers than astronomy is about telescopes - E. Dijkstra --l0l+eSofNeLXHSnY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9UFw/ttcWHAnWiGcRAm0FAJ9wflR1vYzj32B/kVGWwHhpUEjUtQCdF9Z3 jfwGoJPPgEAesFjCoeNgR5E= =DaZv -----END PGP SIGNATURE----- --l0l+eSofNeLXHSnY-- 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?20020806233112.GH1019>