Date: Mon, 5 Aug 2002 13:15:16 -0700 (PDT) From: Brad Laue <brad@brad-x.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/41349: /bin/sh MFC from PR/40386 breaks pwcheck, mysql-server rc.d scripts Message-ID: <200208052015.g75KFGXk013336@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 41349 >Category: ports >Synopsis: /bin/sh MFC from PR/40386 breaks pwcheck, mysql-server rc.d scripts >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 05 13:20:14 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Brad Laue >Release: 4.6-STABLE >Organization: brad-x.com >Environment: >Description: The recent MFC precluding sh from allowing && to precede a command prevents the shell from processing a command such as: pwcheck & && echo -n ' pwcheck' This causes any ports rc.d script using this method (which is hideous and incorrect) to fail on bootup. >How-To-Repeat: Problem noticed with latest MFC of /bin/sh and mysql323-server from ports. CVS this version of /bin/sh and install mysql323-server; reboot and observe error. >Fix: Remove all instances of command & && anothercommand from ports shell scripts. >Release-Note: >Audit-Trail: >Unformatted: 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?200208052015.g75KFGXk013336>