Skip to content

ActiveChecks: Fix chroot for create-user check - #2717

Open
andriishestakov wants to merge 1 commit into
nebius:mainfrom
andriishestakov:fix-check-chroot
Open

ActiveChecks: Fix chroot for create-user check#2717
andriishestakov wants to merge 1 commit into
nebius:mainfrom
andriishestakov:fix-check-chroot

Conversation

@andriishestakov

Copy link
Copy Markdown
Contributor

SYS_CHROOT is required in ActiveChecks to allow chroot to jail and create user

@Uburro

Uburro commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Can you show us a case where it doesn't work?

@andriishestakov

andriishestakov commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

create-user-soperatorchecks job fails with this:

Creating soperatorchecks user...
+ echo 'Creating soperatorchecks user...'
+ chroot /mnt/jail /bin/bash -s
chroot: cannot change root directory to '/mnt/jail': Operation not permitted

SYS_CHROOT is not default in crio

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants