-
Notifications
You must be signed in to change notification settings - Fork 132
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
Failed to permanently add device to rules.conf: Rule set upsert: rule: Cannot upsert; multiple matching rules #588
Comments
Additional notes regarding kernel versions:
|
I had the same bug before and until today on debian 12, kernel 6.1.0-11-amd64, and usbguard 1.1.2+ds-3+b1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On a specific device of mine, when I try to permanently add a specific device to the allowlist, I get an error:
Steps I followed:
usbguard list-devices
)usbguard allow-device --permanent 16
What happens:
What should happen:
Work fine without errors.
Additional info:
--permanent
flag works fine (just for the session)usbguard list-devices
,lsusb
shows the device only once (output oflsusb
). Also,lsusb
shows the same output before and after allowing device 16, i.e., the kernel seems to see it as only one device. As a non-expert, this looks to me as if 15 and 16 are physically the same USB device, just with two different parents.dnf history list usbguard
), USBGuard has not been updated since 2022-09, but I've only started seeing this issue since a few weeks now. The hardware is very old and thus probably hasn't seen a firmware update (also, I couldn't find any in my syslog), so the issue is probably related to a recent software update, most probably the kernel.Software versions:
The text was updated successfully, but these errors were encountered: