start: check for cgroup namespace support

parent e3fe3512
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment