Skip to content

Eliminate the dependency on sudo #2

@gktrk

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions