Re: [libvirt] PATCH: Set stdout/err to /dev/null for spawned children

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

 



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@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]