Skip to content

Reaper doesn't like sudo'd processes #145

@coderanger

Description

@coderanger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugDoes not work as expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions