kern/120072: Interpreter fails to invoke on 6.3-RELEASE, reproducable

Brian Hourigan brianh at webair.com
Mon Jan 28 04:10:03 UTC 2008


>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 at 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 at test ~]# echo $SHELL
/bin/csh

>Fix:


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


More information about the freebsd-bugs mailing list