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

Eliminate the dependency on sudo #2

Open
gktrk opened this issue Sep 5, 2017 · 0 comments
Open

Eliminate the dependency on sudo #2

gktrk opened this issue Sep 5, 2017 · 0 comments

Comments

@gktrk
Copy link
Contributor

gktrk commented Sep 5, 2017

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.

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

No branches or pull requests

2 participants