From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 21 19:37:34 2014 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6EEDA482 for ; Mon, 21 Apr 2014 19:37:34 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 486411D8E for ; Mon, 21 Apr 2014 19:37:34 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id CF223B917; Mon, 21 Apr 2014 15:37:32 -0400 (EDT) From: John Baldwin To: freebsd-amd64@freebsd.org, Konstantin Belousov Subject: Re: amd64/188699: Dev tree Date: Mon, 21 Apr 2014 14:31:12 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20140415; KDE/4.5.5; amd64; ; ) References: <201404171850.s3HIo1am064874@freefall.freebsd.org> In-Reply-To: <201404171850.s3HIo1am064874@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201404211431.12922.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 21 Apr 2014 15:37:32 -0400 (EDT) X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2014 19:37:34 -0000 On Thursday, April 17, 2014 2:50:01 pm Konstantin Belousov wrote: > The following reply was made to PR amd64/188699; it has been noted by GNATS. > > From: Konstantin Belousov > To: John Allman > Cc: freebsd-gnats-submit@FreeBSD.org > Subject: Re: amd64/188699: Dev tree > Date: Thu, 17 Apr 2014 21:44:52 +0300 > > On Wed, Apr 16, 2014 at 05:32:45PM +0000, John Allman wrote: > > 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 > > So do you have fdescfs mounted on /dev/fd on the machine where the > test fails ? It works for me on head, and if unmounted, I get the > same failure message as yours. I very much doubt that it has anything > to do with a system version. Question I have is why is bash deciding to use /dev/fd/ and require fdescfs? On older releases bash uses named pipes for this instead. -- John Baldwin