Bug 1852568
Summary: | temporarily blocking a device by whole rule breaks internal device indexing | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Dalibor Pospíšil <dapospis> |
Component: | usbguard | Assignee: | Radovan Sroka <rsroka> |
Status: | CLOSED ERRATA | QA Contact: | Dalibor Pospíšil <dapospis> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | --- | CC: | alakatos, dapospis, zfridric |
Target Milestone: | rc | Keywords: | EasyFix, Patch, Triaged |
Target Release: | 8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-18 16:12:41 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dalibor Pospíšil
2020-06-30 17:46:07 UTC
I can confirm that the problem is exactly as Attila mentioned. (100% reproducible) Steps to reproduce: # usbguard list-devices 1: allow DeviceX 2: allow ChildDeviceOfDeviceX # usbguard block-device allow id *:* IPC ERROR: request id=xy: Device lookup: device id: id doesn't exist Probably the best way how to fix this is by suppressing the risen exception. Fix has been proposed on upstream https://github.com/USBGuard/usbguard/pull/404 `usbguard allow-device -p block id *:*` does not work neither, the block rule is not written to the rules.conf This particular issue has been merged into upstream. The link is attached. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (usbguard bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2021:1931 |