From owner-freebsd-ports Tue Aug 6 16:34:37 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2416E37B400; Tue, 6 Aug 2002 16:34:33 -0700 (PDT) Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4BDD43E4A; Tue, 6 Aug 2002 16:34:28 -0700 (PDT) (envelope-from anarcat@anarcat.ath.cx) Received: from shall.anarcat.ath.cx (3cj0psfv7vw2hsb6@dsl-59-246.aei.ca [216.221.59.246]) by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id g76NYRR12695; Tue, 6 Aug 2002 19:34:27 -0400 (EDT) Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 19A965; Tue, 6 Aug 2002 19:34:38 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Tue, 6 Aug 2002 19:31:12 -0400 Date: Tue, 6 Aug 2002 19:31:12 -0400 From: The Anarcat 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> References: <20020806232507.GG1019@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="l0l+eSofNeLXHSnY" Content-Disposition: inline In-Reply-To: <20020806232507.GG1019@lenny.anarcat.ath.cx> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --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