Alphonse Hansel Anthony
2011-Oct-06 18:06 UTC
[libvirt-users] Reg: shutdown/restart from within the container(system LXC)
Hi, Is it possible to shutdown/restart a system LXC from within the container? From what I have observed(Version - 0.8.4): * The libvirt_lxc manager process, which listens on the /dev/pts for console connection loops infinitely. Let me know If I am missing out something obvious or there exists any other way to shutdown/restart system LXC from within. Any pointers in this regard would be useful. Thanks, Alphonse -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111006/875dcd5e/attachment.htm>
Daniel P. Berrange
2011-Oct-07 09:06 UTC
[libvirt-users] Reg: shutdown/restart from within the container(system LXC)
On Thu, Oct 06, 2011 at 02:06:19PM -0400, Alphonse Hansel Anthony wrote:> Hi, > > Is it possible to shutdown/restart a system LXC from within the > container? > > From what I have observed(Version - 0.8.4): > * The libvirt_lxc manager process, which listens on the /dev/pts for > console connection loops > infinitely.This is a flaw in that version of libvirt. If you upgrade to the current libvirt it'll work much more reliably. 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 :|
Maybe Matching Threads
- Reg: Difference between chroot & pivot_root
- Reg: Libvirt API does not return, after qemu-kvm is hungup.
- How to get uuid info inside a lxc container created by libvirt_lxc
- Re: How to get uuid info inside a lxc container created by libvirt_lxc
- Strange libvirt exit status 1 (LXC containers)