Re: What is the robust/recommended way to retrieve the PID of a VM's init process ?

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

 



On 01/21/2014 05:20 AM, Thierry Parmentelat wrote:
> Hi again

[once again, please don't top-post on technical lists]

> 
> So I did give this interesting lxc-enter-namespace feature a try 

Thank you.

> 
> So my comments are, 
> - first that defining some even minimal PATH would help;

PATH relative to the container?  Yes, that might be a nice addition;
would you like to propose the means of passing that information through
to the child?

> - and second that in this first form, it would be great if virsh could write some error on stderr instead of being almost totally silent, it took me some time to figure that it kind of worked
> Does this mean we would lose any message sent on stderr ? 

No, stderr is preserved.  But I have patches awaiting review that make
the process nicer, including informing you of any non-zero exit status
of the executed command:
https://www.redhat.com/archives/libvir-list/2013-December/msg01247.html

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]