View previous topic :: View next topic |
Author |
Message |
gasc n00b
Joined: 16 Mar 2024 Posts: 1
|
Posted: Mon Oct 21, 2024 8:05 am Post subject: Cannot access /dev/dri/* when in chroot |
|
|
Hello,
I am updating an ebuild, and the tests need access to the video card. When running the tests in a chroot, they all fails with the error
Code: |
libEGL warning: failed to open /dev/dri/renderD128: Permission denied
libEGL warning: failed to open /dev/dri/renderD128: Permission denied
libEGL warning: failed to open /dev/dri/card0: Permission denied
|
It is a python ebuild, and I am using virtx to run the tests.
Everything should work but it does not, I am puzzled.
Do anyone has an idea ? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22537
|
Posted: Mon Oct 21, 2024 12:16 pm Post subject: |
|
|
Welcome to the forums. On its own, chroot should not cause this. However, some kernel hardening features may interpret chroot as a broader request to lock down the contained process. What is the output of emerge --info; namei -l /dev/dri/card0 while in the chroot? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|