From aea40b0226eb36745cef53835c539c101be8f119 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Sat, 4 Oct 2014 23:20:48 -0700 Subject: [PATCH] fix an issue about hardware discovery process: the sub process can not receive findme request immediately --- xCAT-server/sbin/xcatd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 3ad667574..bb10bdf60 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -936,6 +936,8 @@ unless ($pid_UDP) { my $discoctl; my $udpbroker; socketpair($discoctl,$udpbroker,AF_UNIX,SOCK_STREAM,PF_UNSPEC); + $udpbroker->autoflush(1); + $discoctl->autoflush(1); $pid_disco = xCAT::Utils->xfork; if (!defined $pid_disco) { xCAT::MsgUtils->message("S", "Unable to fork for UDP/TCP");