mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 08:12:20 +00:00
Merge pull request #2143 from brauner/2018-02-08/fix_cgroup_ns
start: check for cgroup namespace support
This commit is contained in:
commit
17eba7a26f
@ -1355,6 +1355,9 @@ int resolve_clone_flags(struct lxc_handler *handler)
|
||||
if (i == LXC_NS_NET && lxc_requests_empty_network(handler))
|
||||
continue;
|
||||
|
||||
if (i == LXC_NS_CGROUP && !cgns_supported())
|
||||
continue;
|
||||
|
||||
handler->clone_flags |= ns_info[i].clone_flag;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user