Unverified Commit 855452ae by Serge Hallyn Committed by GitHub

Merge pull request #2270 from brauner/2018-04-11/attach_try_dropping_supplementary_groups

attach: try to always drop supplementary groups
parents 33c7c7fe 96ec54ac
...@@ -873,7 +873,7 @@ static int attach_child_main(struct attach_clone_payload *payload) ...@@ -873,7 +873,7 @@ static int attach_child_main(struct attach_clone_payload *payload)
} }
ret = lxc_setgroups(0, NULL); ret = lxc_setgroups(0, NULL);
if (ret < 0) if (ret < 0 && errno != EPERM)
goto on_error; goto on_error;
if ((init_ctx->container && init_ctx->container->lxc_conf && if ((init_ctx->container && init_ctx->container->lxc_conf &&
......
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