]> git.proxmox.com Git - pve-container.git/commit
fix read_cgroup_value for unprivileged containers
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 17 Oct 2017 07:57:10 +0000 (09:57 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 17 Oct 2017 08:56:24 +0000 (10:56 +0200)
commit3b5070d437c1b637daa99aaac6cf507999fa8241
tree99a18d4972a706790e1dd7ebbe5d525e3ff38820
parente407207213f3e23c7f274b101c6e49233b4ff0d2
fix read_cgroup_value for unprivileged containers

We changed this to read values from the container's inner
cgroup, but didn't take into account that unprivileged
containers don't have one.
Add a parameter to specify whether it is an unprivileged
container.

Fixes: 41ef9833bf00 ("include ns/ dir in read_cgroup_value")
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PVE/LXC.pm