Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2008 03:59:20 GMT
From:      Brian Hourigan <brianh@webair.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/120072: Interpreter fails to invoke on 6.3-RELEASE, reproducable
Message-ID:  <200801280359.m0S3xK8d010040@www.freebsd.org>
Resent-Message-ID: <200801280410.m0S4A3rJ075184@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         120072
>Category:       kern
>Synopsis:       Interpreter fails to invoke on 6.3-RELEASE, reproducable
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 28 04:10:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Brian Hourigan
>Release:        6.3-STABLE (fresh cvsup)
>Organization:
>Environment:
FreeBSD test.server.com 6.3-STABLE FreeBSD 6.3-STABLE #0: Sun Jan 27 22:49:50 EST 2008     root@test.server.com:/usr/src/sys/amd64/compile/vsys  amd64
>Description:
Kernel doesn't seem to be invoking script itnerpreters, but rather allowing interpretation by the current shell.

I've reproduced this on both 6.3-STABLE and 6.2-RELEASE-p8 where I originally noticed the issue. I checked /usr/src/UPDATING, but found no reference. I've also looked through previous PRs unsuccessfully identifying a similar bug report.

>How-To-Repeat:
test# cat test.sh
#!/bin/sh

echo SHELL $SHELL
test# ./test.sh
SHELL /bin/csh
test# sh
# echo $SHELL
/bin/csh
# exit
test# bash
[root@test ~]# echo $SHELL
/bin/csh

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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