Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Aug 2002 20:48:33 -0400
From:      Brad Laue <brad@brad-x.com>
To:        Jim King <jim@jimking.net>
Cc:        Jim Weeks <jim@jwweeks.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: broken rc.d/* start
Message-ID:  <3D4F1CE1.8090405@brad-x.com>
References:  <20020805192223.S26460-100000@veager.jwweeks.com> <3D4F0AAE.1070103@jimking.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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