Skip to content

Eliminate the dependency on sudo #2

Description

@gktrk

Instead of running kpatch with sudo per https://github.com/aliceinwire/elivepatch-client/blob/master/elivepatch_client/patch.py#L71, it should check for the required capabilities at the beginning (uid or CAP_SYS_MODULE, depending on what kpatch requires) and exit if the current capabilities are not sufficient.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions