Skip to content

Disable the subreaper on exec#993

Merged
dqminh merged 1 commit into
opencontainers:masterfrom
crosbymichael:disable-subreaper-exec
Aug 19, 2016
Merged

Disable the subreaper on exec#993
dqminh merged 1 commit into
opencontainers:masterfrom
crosbymichael:disable-subreaper-exec

Conversation

@crosbymichael
Copy link
Copy Markdown
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 crosbymichael@gmail.com

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 <crosbymichael@gmail.com>
Comment thread exec.go
}
r := &runner{
enableSubreaper: !context.Bool("no-subreaper"),
enableSubreaper: false,
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

dqminh commented Aug 19, 2016

LGTM

Approved with PullApprove

@dqminh dqminh merged commit c520720 into opencontainers:master Aug 19, 2016
@crosbymichael
Copy link
Copy Markdown
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
Copy Markdown

@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
Copy Markdown
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