
On Tue, Jul 26, 2016 at 04:58:40PM +0800, John Y. wrote:
How can I run command in containers on the host? Just like the lxc command lxc-attach. I run : virsh -c lxc:/// lxc-enter-namespace fedora2 --noseclabel /bin/ls
but get error: libvirt: error : Expected at least one file descriptor error: internal error: Child process (14930) unexpected exit status 125
[snip]
Is there any mistake?
No, your example is correct. Can you try with LIBVIRT_DEBUG=1 virsh -c lxc:/// lxc-enter-namespace fedora2 --noseclabel /bin/ls so we can see if we get more useful debug info Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|