From owner-freebsd-stable Wed Oct 23 2:59:11 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 C3B2E37B401 for ; Wed, 23 Oct 2002 02:59:10 -0700 (PDT) Received: from enigma.whacky.net (enigma.whacky.net [217.148.161.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1311D43E6A for ; Wed, 23 Oct 2002 02:59:10 -0700 (PDT) (envelope-from stephanb@whacky.net) Received: from localhost (localhost.whacky.net [127.0.0.1]) by enigma.whacky.net (Postfix) with ESMTP id 61F8221172 for ; Wed, 23 Oct 2002 11:58:58 +0200 (CEST) Received: by enigma.whacky.net (Postfix, from userid 1000) id EF16121171; Wed, 23 Oct 2002 11:58:56 +0200 (CEST) Date: Wed, 23 Oct 2002 11:58:56 +0200 From: Stephan van Beerschoten To: stable@freebsd.org Subject: /bin/sh change many errors Message-ID: <20021023095856.GC22455@enigma.whacky.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.5.1i 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 I upgraded several production machines to 4.7 yesterday. After reading the release notes I was affraid that the userland change to /bin/sh might give me some trouble. $ echo bla & && echo again Syntax error "&&" unexpected The relnotes tell me this is now the new behaviour for sh, but unfortunately it breaks a lot of rc.d startscripts that all have this construction in place. MySQL and Freevrrpd are 2 examples that use this. What is the easiest way to get around this ? I assume I'm not the first to report this, so a link to another resource wil lbe just fine. With regards, Stephan -- Stephan van Beerschoten [SVB21-RIPE] stephanb@whacky.net PGP fingerprint: 4557 9761 B212 FB4C 778D 3529 C42A 2D27 "To err is human, to forgive is Not Company Policy" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message