-
Notifications
You must be signed in to change notification settings - Fork 3.5k
AWX 9.0.0 bubblewrap needs setuid permission #5224
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
Comments
Thanks for reporting this. I am not sure what changed that would have broken this. Perhaps something upstream with bwrap itself. I've reproduced the error, and I am going to apply and test your patch now. |
It does appear to be a change in the way the bubblewrap package installs on CentOS 8 and RHEL 8. |
Related: ansible#5224
Related: ansible#5224
Fix will be included in AWX 9.0.1 which I'm pushing out now. |
This problem also occurs when building the development image (CONTRIBUTING.md#build-the-base-image) I will submit a PR to resolve the issue in the development Dockerfile as well. |
Related: ansible#5224 Signed-off-by: Philip Douglass <philip.douglass@amadeus.com>
I still come across this issue while using AWX 11.2.0. I'm trying to run the pod not using privileged SCC and setting the below within the deployment config of the awx pod - The pod comes up just fine, however the SCM update job fails with the below error -
When i try granting it privileged SCC and set the securityContext to true for privileged access, the SCM update job works just fine. But, I looking to avoid this due to security constraints. Any suggestions? |
ISSUE TYPE
SUMMARY
Error when running jobs. "bwrap: Creating new namespace failed, likely because the kernel does not support user namespaces. bwrap must be installed setuid on such systems."
ENVIRONMENT
STEPS TO REPRODUCE
Run SCM Update or Inventory Sync jobs. No other jobs could be tried because they depend on these two.
EXPECTED RESULTS
Jobs complete without error.
ACTUAL RESULTS
bwrap: Creating new namespace failed, likely because the kernel does not support user namespaces. bwrap must be installed setuid on such systems.
ADDITIONAL INFORMATION
Worked around error by running
chmod u+s /usr/bin/bwrap
in Dockerfile.j2 template. Here's a patch that applies the change:The text was updated successfully, but these errors were encountered: