-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
chroot: add disable_root_check
option
#7099
chroot: add disable_root_check
option
#7099
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! Please add a changelog fragment. Thanks.
Co-authored-by: Felix Fontein <felix@fontein.de>
Added. |
Co-authored-by: Felix Fontein <felix@fontein.de>
The remaining CI failures are unrelated. Looks good to me, if nobody objects I'll merge this on Monday. |
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #7111 🤖 @patchback |
@new-sashok724 thanks for your contribution! |
* Initial commit * Update plugins/connection/chroot.py Co-authored-by: Felix Fontein <felix@fontein.de> * Add changelog fragment * Update changelogs/fragments/7099-chroot-disable-root-check-option.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Сашка724ая <git@sashok724.net> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit bf728aa)
…k` option (#7111) chroot: add `disable_root_check` option (#7099) * Initial commit * Update plugins/connection/chroot.py Co-authored-by: Felix Fontein <felix@fontein.de> * Add changelog fragment * Update changelogs/fragments/7099-chroot-disable-root-check-option.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Сашка724ая <git@sashok724.net> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit bf728aa) Co-authored-by: Сашка724ая <github@sashok724.net>
SUMMARY
Some chroot executables, like
arch-chroot
, support unshare mode (-N), which does not require root. This PR adds an option to disable the root check in the chroot connection plugin.ISSUE TYPE
COMPONENT NAME
plugins/connection/chroot.py
ADDITIONAL INFORMATION