Re: [PATCH] lxc: Prevent shutting down the host

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

 



On Thu, Mar 21, 2013 at 04:10:45PM +0100, Martin Kletzander wrote:
> When the container has the same '/dev' mount as host (no chroot),
> calling domainShutdown(WithFlags) shouldn't shutdown the host it is
> running on.
> 
> Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
> ---
> This is also valid for 1.0.[23]-maint branches, so in case this gets
> ACK'd I'll either send a follow-up for those or push it there as well
> (if the ACK says so).
> 
>  src/lxc/lxc_driver.c | 45 ++++++++++++++++++++++++++++-----------------
>  1 file changed, 28 insertions(+), 17 deletions(-)

ACK,

as a temporary measure. I think we need to make sure that /dev is
always private for all LXC containers. That can wait for a more
general refactoring of LXC filesystem setup though.


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

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