Re: [libvirt] [PATCH 12/13] Protection against doing bad stuff to the root group

2013-07-24 Thread Daniel P. Berrange
On Tue, Jul 23, 2013 at 03:58:30PM -0600, Eric Blake wrote: On 07/23/2013 09:21 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com Add protection such that the virCgroupRemove and virCgroupKill* do not do anything to the root cgroup. Killing all PIDs in the

[libvirt] [PATCH 12/13] Protection against doing bad stuff to the root group

2013-07-23 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com Add protection such that the virCgroupRemove and virCgroupKill* do not do anything to the root cgroup. Killing all PIDs in the root cgroup does not end well. Signed-off-by: Daniel P. Berrange berra...@redhat.com --- src/util/vircgroup.c | 12

Re: [libvirt] [PATCH 12/13] Protection against doing bad stuff to the root group

2013-07-23 Thread Eric Blake
On 07/23/2013 09:21 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com Add protection such that the virCgroupRemove and virCgroupKill* do not do anything to the root cgroup. Killing all PIDs in the root cgroup does not end well. I take it you tried this, on