-
Notifications
You must be signed in to change notification settings - Fork 139
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
usbguard-0.7.2-7.fc30.x86_64 or one of its dependencies now requires CAP_DAC_OVERRIDE #289
Comments
Fedora has addressed this in usbguard-0.7.6-4.fc31, see rhbz#1776357, using the following patch: |
Hi @diabonas, |
I see, |
This has been fixed upstream, so waiting for the next libqb release or backporting the fix in ClusterLabs/libqb#382 will resolve the issue. |
Thank you for your effort, these are great news! I will create fedora bugzilla for that so they will have to put it into some future update. |
The patch has been included in libqb 1.0.6 as well as the new major release 2.0.0, upgrading to either of these will fix the issue. |
Since today on Fedora Rawhide i noticed that usbguard needs CAP_DAC_OVERRIDE
It might be one of its dependencies that actually triggers this since i havent actually seen a usbguard update in fedora for some time.
Anyhow. I noticed that usbguard started to maintain its IPC /dev/shm objects in a directory:
However if you look at the permissions and ownership of this directory then you notice that
root
does not have access to this location.This triggers a CAP_DAC_OVERRIDE:
If you fix the ownership and permissions of the "/dev/shm/qb-1208-1703-24-pUgZpU" directory, then usbguard-daemon does not need access to CAP_DAC_OVERRIDE. Needless to say that this would be a big security improvement.
The text was updated successfully, but these errors were encountered: