1. 28 Aug, 2018 15 commits
  2. 27 Aug, 2018 2 commits
    • cgroups: don't escape if lxc.cgroup.keep is true · 5a087e05
      Christian Brauner authored
      Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
      Cc: Felix Abecassis <fabecassis@nvidia.com>
      Cc: Jonathan Calmels <jcalmels@nvidia.com>
    • confile: add lxc.cgroup.keep · 76f0e2e7
      Christian Brauner authored
      This adds the new lxc.cgroup.keep config key. The key can be used to instruct
      LXC to not escape to never escape to the root cgroup. This makes it easy for
      users to adhere to restrictions enforced by cgroup2 and systemd. Specifically,
      this makes it possible to run LXC containers as systemd services.
      
      Note that cgroup v1 is considered legacy and will not see additional
      controllers being added to it. This means that it is safe to use
      lxc.cgroup.keep as config key since there is no "keep" controller. The only way
      a conflict can be introduced is if the user is creating a named controller. I
      think this case can be safely ignored since it is super rare and also the users
      problem.
      Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
      Cc: Felix Abecassis <fabecassis@nvidia.com>
      Cc: Jonathan Calmels <jcalmels@nvidia.com>
  3. 26 Aug, 2018 1 commit
  4. 23 Aug, 2018 7 commits
  5. 22 Aug, 2018 14 commits
  6. 21 Aug, 2018 1 commit