Skip to content

Conversation

@crosbymichael
Copy link
Member

This keeps the flag but makes it hidden so that existing clients do not
encounter an error if we were to have removed the flag.

Linked to #971

Signed-off-by: Michael Crosby [email protected]

This keeps the flag but makes it hidden so that existing clients do not
encounter an error if we were to have removed the flag.

Signed-off-by: Michael Crosby <[email protected]>
}
r := &runner{
enableSubreaper: !context.Bool("no-subreaper"),
enableSubreaper: false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this line as it because false is already the default value ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ya, just thought i would make it explicit. it was not omitted but set that way for a reason

@cyphar
Copy link
Member

cyphar commented Aug 19, 2016

LGTM. This still doesn't solve the whole problem though. I'm going to clean up #976 (after #975) over the weekend.

Approved with PullApprove

@dqminh
Copy link
Contributor

dqminh commented Aug 19, 2016

LGTM

Approved with PullApprove

@dqminh dqminh merged commit c520720 into opencontainers:master Aug 19, 2016
@crosbymichael
Copy link
Member Author

@cyphar ya, that is why I didn't put Fixes ;)

@crosbymichael crosbymichael deleted the disable-subreaper-exec branch August 19, 2016 17:23
@sandyskies
Copy link

@crosbymichael This doesn't fix the exec reparent problem, still child process of the exec process,PPID becomes 0 , after exec process exits.

@cyphar
Copy link
Member

cyphar commented Jan 23, 2017

@sandyskies Yup, we know. Which is why #976 exists (as we discussed above).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants