Date: Sat, 10 Aug 2002 12:00:05 +0800 (CST) From: Leland Wang <llwang@infor.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/41509: keychain does not work after parser.c of /bin/sh is updated to 1.42 Message-ID: <200208100400.g7A405cG070277@stego.csie.ntu.edu.tw>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208100400.g7A405cG070277>