[lxc-devel] [GIT] lxc branch, master, updated. 429a84f4ab9eb0e5b85b9fe94336c56746279b28

Daniel Lezcano git at users.sourceforge.net
Mon Jan 10 21:33:31 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lxc".

The branch, master has been updated
       via  429a84f4ab9eb0e5b85b9fe94336c56746279b28 (commit)
       via  5193cc3d9366791bc0de70274ca8ca3f111430b8 (commit)
      from  57f61aa7504fc965b0c3dca2e1553ad535eacfd8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 429a84f4ab9eb0e5b85b9fe94336c56746279b28
Author: Daniel Lezcano <daniel.lezcano at free.fr>
Date:   Mon Jan 10 17:58:32 2011 +0100

    fix cgroup directory removal
    
    Fix the name of the directory to remove.
    
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

commit 5193cc3d9366791bc0de70274ca8ca3f111430b8
Author: Daniel Lezcano <daniel.lezcano at free.fr>
Date:   Sun Jan 9 23:53:19 2011 +0100

    fix the ns_cgroup vs clone_children
    
    The following patch fixes the bug where the clone_children compatibility
    flag is available with the ns_cgroup subsystem. The 2.6.37 kernel version
    should be the only one which is concerned by this modification, please
    refer to Documentation/feature-removal-schedule.txt and look for ns_cgroup.
    
    The problem is coming from we check for clone_children and we set it
    automatically and then we try to create a new cgroup. As the
    ns_cgroup is present the cgroup already exists and we are not allowed
    to attach our pid to a new cgroup. The next error will be when we try
    to create a new container because we enabled the clone_children flag
    and the ns_cgroup is present, it is not allowed by the kernel.
    
    The patch fix this by checking the mount options.
    
    Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

-----------------------------------------------------------------------

Summary of changes:
 src/lxc/cgroup.c |   84 +++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 77 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
lxc




More information about the lxc-devel mailing list