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

[PR #7099/bf728aad backport][stable-7] chroot: add disable_root_check option #7111

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Aug 14, 2023

This is a backport of PR #7099 as merged into main (bf728aa).

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
  • Feature Pull Request
COMPONENT NAME

plugins/connection/chroot.py

ADDITIONAL INFORMATION

* 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)
@ansibullbot ansibullbot added backport connection connection plugin feature This issue/PR relates to a feature request new_contributor Help guide this first time contributor plugins plugin (any type) labels Aug 14, 2023
@felixfontein felixfontein merged commit 235e55f into stable-7 Aug 14, 2023
144 checks passed
@felixfontein felixfontein deleted the patchback/backports/stable-7/bf728aadfb9f0bc3f88e57f6e8c3c3ff428c1a1e/pr-7099 branch August 14, 2023 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connection connection plugin feature This issue/PR relates to a feature request new_contributor Help guide this first time contributor plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants