Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2014 17:32:45 GMT
From:      John Allman <freebsd@hugme.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/188699: Dev tree
Message-ID:  <201404161732.s3GHWjf3051470@cgiserv.freebsd.org>
Resent-Message-ID: <201404161740.s3GHe13L045027@freefall.freebsd.org>

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

>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@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:



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