-
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
ERROR: IPC connect: service=usbguard: Permission denied since kernel 5.0.9 #287
Comments
It looks like the systemd service causes the problem. When I commented out the following line: |
I had to add two extra CAPs:
Now it works well. |
Re-opening this issue as the necessary changes may not have been committed. This was pulled in the Debian package (https://salsa.debian.org/bisco-guest/usbguard/commit/492e3a38ae0bce192fca926e1eedc0e71dbdb5a2), but I'm not sure these are necessary (and potentially dangerous). Any chance you could share the version of systemd that you were using? Thanks. |
See #289 .
I'm using Debian Sid. |
Seeing the same thing in Linux Kernel |
I think there is some more capabilities missing to be able to write on the /etc/usbguard/rules.conf |
@cyrinux yes, you must allow writing to your rules.conf file. A quick fix is to place this file at /etc/systemd/system/usbguard.service.d/override.conf:
But ideally, this should be fixed upstream. |
@alcros wrote:
The latter is already in the usbguard.service file: https://github.com/USBGuard/usbguard/blob/master/usbguard.service.in#L24 (fffd3d3) |
Regarding the necessary |
I just upgraded my kernel to the latest stable (5.0.7->5.0.9) and I notticed that
usbguard-applet-qt
has a gray icon. In it's log I can see the following messages:Also I'm using AppArmor profiles for all the usbguard execs, and I had to add to
usr.sbin.usbguard-daemon
andusr.sbin.usbguard-dbus
profiles the following rules:There was similar rule to the last one:
/dev/shm/qb-usbguard-{request,response,event}-[0-9]*-[0-9]*-[0-9]*-{header,data} rw,
and probably the change causes the problem.
The text was updated successfully, but these errors were encountered: