bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash process substitution does not work in FreeBSD 5.2.1 with devfs(5)


From: Reinhard Speyerer
Subject: bash process substitution does not work in FreeBSD 5.2.1 with devfs(5)
Date: Tue, 05 Oct 2004 23:39:57 +0200
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031208

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: freebsd5.2.1
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='freebsd5.2.1' -DCONF_MACHTYPE='i386-unknown-freebsd5.2.1' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I/usr/local/include -g -O2 uname output: FreeBSD freebsd521 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386
Machine Type: i386-unknown-freebsd5.2.1

Bash Version: 3.0
Patch Level: 0
Release Status: release

Description:
        Bash process substition does not work in FreeBSD 5.2.1 where devfs(5)
        is mounted on /dev. Certain /dev/fd entries which are assumed to be
        present by bash are missing from /dev/fd.
        The same problem also exists for the bash-2.05b.007 package
        from FreeBSD 5.2.1.

Repeat-By:
        # Check that devfs(5) is mounted on /dev and execute a command
        # that uses process substitution.
        $ mount | grep devfs
        devfs on /dev (devfs, local)
        $ diff <(cat /etc/group)  <(cat /etc/group)
        diff: /dev/fd/63: No such file or directory
        diff: /dev/fd/62: No such file or directory
        $ ls /dev/fd
        0       1       2

Fix:
        Not known. As a temporary workaround I deleted the #define HAVE_DEV_FD 1
        from the generated config.h before compiling.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]