From owner-freebsd-ports Fri Aug 9 21:10:10 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4054337B400 for ; Fri, 9 Aug 2002 21:10:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 853D443E65 for ; Fri, 9 Aug 2002 21:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7A4A2JU044640 for ; Fri, 9 Aug 2002 21:10:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7A4A2rm044639; Fri, 9 Aug 2002 21:10:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7E9837B400 for ; Fri, 9 Aug 2002 21:00:42 -0700 (PDT) Received: from stego.csie.ntu.edu.tw (stego.csie.ntu.edu.tw [140.112.30.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC21543E3B for ; Fri, 9 Aug 2002 21:00:41 -0700 (PDT) (envelope-from b7506054@stego.csie.ntu.edu.tw) Received: from stego.csie.ntu.edu.tw (b7506054@localhost [127.0.0.1]) by stego.csie.ntu.edu.tw (8.12.3/8.12.3) with ESMTP id g7A40AOH070278 for ; Sat, 10 Aug 2002 12:00:10 +0800 (CST) (envelope-from b7506054@stego.csie.ntu.edu.tw) Received: (from b7506054@localhost) by stego.csie.ntu.edu.tw (8.12.3/8.12.3/Submit) id g7A405cG070277; Sat, 10 Aug 2002 12:00:05 +0800 (CST) (envelope-from b7506054) Message-Id: <200208100400.g7A405cG070277@stego.csie.ntu.edu.tw> Date: Sat, 10 Aug 2002 12:00:05 +0800 (CST) From: Leland Wang Reply-To: Leland Wang To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41509: keychain does not work after parser.c of /bin/sh is updated to 1.42 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 >Number: 41509 >Category: ports >Synopsis: keychain does not work after parser.c of /bin/sh is updated to 1.42 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 09 21:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Leland Wang >Release: FreeBSD 4.6.1-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD stego.csie.ntu.edu.tw 4.6.1-RELEASE-p6 FreeBSD 4.6.1-RELEASE-p6 #4: Sat Aug 3 00:55:29 CST 2002 root@stego.csie.ntu.edu.tw:/usr/obj/usr/src/sys/BSD i386 >Description: security/keychain no longer runs properly after /bin/sh disallow "||" or "&&" as the first token of a command. /bin/sh tells me that /usr/local/bin/keychain: 244: Syntax error: "||" unexpected where line 244 is > "$pidf" || { echo "$0: Cannot create ${pidf}; exiting." 1>&2; rm -f " Line 243 of keychain says that this should work with any sh-compatible shell; either keychain or /bin/sh is wrong. >How-To-Repeat: run sh /usr/local/bin/keychain with the new /bin/sh >Fix: Change #!/bin/sh to #!/usr/local/bin/bash (and add the proper dependency) can be a work around, but someone should locate where the problem truely is. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message