From owner-freebsd-stable Mon Aug 5 17:49:20 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 458E237B43A for ; Mon, 5 Aug 2002 17:49:06 -0700 (PDT) Received: from TMA-1.brad-x.com (static-b2-191.highspeed.eol.ca [64.56.236.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id A985044001 for ; Mon, 5 Aug 2002 17:48:31 -0700 (PDT) (envelope-from brad@brad-x.com) Received: from brad-x.com (Discovery.brad-x.com [201.64.15.21]) by TMA-1.brad-x.com (Postfix) with ESMTP id 72AB722104E; Mon, 5 Aug 2002 20:49:43 -0400 (EDT) Message-ID: <3D4F1CE1.8090405@brad-x.com> Date: Mon, 05 Aug 2002 20:48:33 -0400 From: Brad Laue User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020805 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jim King Cc: Jim Weeks , freebsd-stable@FreeBSD.ORG Subject: Re: broken rc.d/* start References: <20020805192223.S26460-100000@veager.jwweeks.com> <3D4F0AAE.1070103@jimking.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jim King wrote: > > > Jim Weeks wrote: > >> After today's cvsup and rebuild, start up scripts are failing. >> >> # /usr/local/etc/rc.d/mysql-server.sh start >> /usr/local/etc/rc.d/mysql-server.sh: 6: Syntax error: "&&" unexpected >> >> I didn't see anything in UPDATING about this. Changing the mysql script >> is not a problem, but now I am wondering how many other scripts will >> fail? >> > pwcheck.sh from Cyrus-SASL also fails for the same reason. The commonality of both of these rc scripts is that they use a command of the form: command1 & && command2 Which IMHO is incorrect anyway; look at cvs-all and you'll see where the change was made. I PR'd this at ports/41349 a few hours ago, and might PR new rc scripts as well. Hopefully someone does an audit of all of them (not sure how many more of these there are). Brad -- // -- http://www.BRAD-X.com/ -- // To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message