Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce lxc.cgroup.dir.{monitor,container,container.inner} #3353

Merged
merged 4 commits into from
Apr 3, 2020

Commits on Apr 3, 2020

  1. introduce lxc.cgroup.dir.{monitor,container,container.inner}

    This is a new approach to lxc#1302 with a container-side
    configuration instead of a global boolean flag.
    
    Contrary to the previous PR using an optional additional
    parameter for the get-cgroup command, this introduces two
    new additional commands to get the limiting cgroup path and
    cgroup2 file descriptor. If the limiting option is not in
    use, these behave identical to their full-path counterparts.
    
    If these variables are used the payload will end up in the
    concatenation of lxc.cgroup.dir.container and
    lxc.cgroup.dir.container.inner (which may be empty), and the
    monitor will end up in lxc.cgruop.dir.monitor. The
    directories are fixed, no retry count logic is applied,
    failing to create these directories will simply be a hard
    error.
    
    Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
    Blub committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    a900cba View commit details
    Browse the repository at this point in the history
  2. cgroups: remove unused variable

    Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
    Christian Brauner committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    31691d1 View commit details
    Browse the repository at this point in the history
  3. doc: s/lxc.cgroup.container.namespace/lxc.cgroup.container.inner/g

    Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
    Christian Brauner committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    51b07b7 View commit details
    Browse the repository at this point in the history
  4. confile: coding style fixes for set_config_cgroup_container_inner_dir()

    Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
    Christian Brauner committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    e93197e View commit details
    Browse the repository at this point in the history