amd64/188699: Dev tree

John Allman freebsd at hugme.org
Wed Apr 16 17:40:02 UTC 2014


>Number:         188699
>Category:       amd64
>Synopsis:       Dev tree
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 16 17:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     John Allman
>Release:        10.0-RELEASE
>Organization:
>Environment:
FreeBSD bigbird 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
There is no problem with version 8 and 9 of FreeBSD running the same version of Bash. You cannot pipe a here document into a loop, FreeBSD complains about missing parts of the dev tree.

This is how to reproduce it:

Fresh install of 10 on AMD 64
install bash `pkg install bash`
Switch to bash `bash`
push a here document into a loop: `while true ; do echo; done< <(echo "123")`
receive an error: "-su: /dev/fd/62: No such file or directory"

I'm sorry I haven't been able to research this any further. I found how while working on some important matters. As I mentioned the above works fine in all previous versions of FreeBSD up until 10.
>How-To-Repeat:
Fresh install
pkg install bash
bash
while true; do echo foo done< <(echo "123")

-su: /dev/fd/62: No such file or directory
>Fix:


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


More information about the freebsd-amd64 mailing list