1. 09 Jan, 2011 1 commit
    • fix the ns_cgroup vs clone_children · 5193cc3d
      Daniel Lezcano authored
      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: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
  2. 28 Dec, 2010 7 commits
  3. 17 Dec, 2010 7 commits
  4. 30 Oct, 2010 1 commit
  5. 26 Oct, 2010 4 commits
  6. 12 Oct, 2010 6 commits
  7. 05 Oct, 2010 1 commit
  8. 03 Oct, 2010 8 commits
  9. 01 Oct, 2010 3 commits
  10. 13 Sep, 2010 1 commit
    • configure container architecture · cccc74b5
      Daniel Lezcano authored
      When a container is installed with 32bits binaries while we are
      running on a 64bits host, inside the container we are seen as
      64bits arch. That leads to some problems for the package updates
      because the scripts will download 64bits packages instead of 32bits.
      
      This patch defines a configuration variable to set the architecture
      of the container.
      
      lxc.arch = i686 | x86 | x86_64 | amd64
      Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
  11. 26 Jul, 2010 1 commit