Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reaper doesn't like sudo'd processes #145

Open
coderanger opened this issue Jun 10, 2017 · 0 comments
Open

Reaper doesn't like sudo'd processes #145

coderanger opened this issue Jun 10, 2017 · 0 comments
Labels
Type: Bug Does not work as expected.

Comments

@coderanger
Copy link
Contributor

In the case where the process doing shell-out-ing is an unpriv'd user, and the command being run either directly or indirectly ends up with elevated perms, we can end up with a situation where the kill() call in reap_errant_child fails with EPERM.

We should probably just ignore it like we do with ESRCH, maybe with a warning that reaping failed due to process permissions.

@tas50 tas50 added the Type: Bug Does not work as expected. label Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

2 participants