On Tue, Jul 07, 2009 at 05:36:35PM +0100, Daniel P. Berrange wrote:
If passing a 'NULL' to virExec() for the stdout/err file
descriptor it
is intended that the child process get connected to /dev/null. This
behaviour was previously broken when built with DEBUG enabled, and with
Amy's recent logging change, it is now permanently broken. The problem
this causes, is that the child process ends up still connected to the
parent app's stderr/out. This causes things like Perl's test harness
to hang waiting for end of file that will never come while libvirtd is
running. THis patch puts virExec back to its original documented behaviour
Oh, I see, nasty, ACK !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine
http://rpmfind.net/
http://veillard.com/ | virtualization library
http://libvirt.org/