-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
xgboost 2.0.1 is breaking on rootless docker. #10250
Comments
@prafullat Can you post the full stack trace for the permission error? |
Will try to reproduce once I get back to work. At the moment my guess is this line to be blamed xgboost/src/common/threading_utils.cc Line 78 in 5e64276
|
I have tried to launch an image with and without gosu, running in rootless mode of docker, but couldn't reproduce the issue. @hcho3 might have better insight here.
|
Feel free to reopen if there is further information. Will try to fix it if there's a reproducer. |
I am having the exact issue with a non-root user importing the package:
|
Could you please share how you installed docker (or any other environment)? |
Thank you for the quick reply. |
Unfortunately, I want these instructions as well. ;-( Maybe you can share the result of |
I think I am not running on a docker so |
I will open a PR to catch all potential exceptions in that function. |
On rootless docker, path cgroup is readable only by root user.
As such, if any non-root users even tries to import xgboost, it fails with permission error.
Permission denied [/sys/fs/cgroup/cpu.max]
Can you please check and avoid this error is this path is not accessible?
We are not able to use xgboost in the rootless docker container.
The text was updated successfully, but these errors were encountered: