[libvirt] PATCH: Set stdout/err to /dev/null for spawned children
Daniel Veillard
veillard at redhat.com
Thu Jul 16 08:42:47 UTC 2009
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 at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list