bash on Centos 5 can not source FIFOs ...

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



Hello

I run into this problem on CentOS 5.7 (Final), that if I try to source a 
FIFO in bash, my command will be silently ignored and nothing from the 
FIFO is interpreted. Here is a simple example:

[root@appserver2 ~]# mkfifo /tmp/myfifo
[root@appserver2 ~]# echo ls -l >/tmp/myfifo &
[2] 23771
[root@appserver2 ~]# source /tmp/myfifo        # no `ls´ output here...
[root@appserver2 ~]# rm /tmp/myfifo
rm: remove fifo `/tmp/myfifo'? y
[2]+  Exit 1                  echo ls -l > /tmp/myfifo
[root@appserver2 ~]#


CentOS 5.7 comes with 'GNU bash, version 3.2.25(1)-release 
(x86_64-redhat-linux-gnu)'. I can see from posting in the bash group 
that the same bash 3.2 (and older) on a different distribution can 
source the FIFO as expected:
    nntp://news.gmane.org/gmane.comp.shells.bash.bugs/17652
    http://thread.gmane.org/gmane.comp.shells.bash.bugs/17649/focus=17652

Can this be a CentOS/packaging issue ?

Thank you,
Timothy Madden

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux