-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Description
Tested platform
Ubuntu 22.04
Steps to reproduce
- usbguard service is running and 2 USB ports are available
- Open a terminal and run this command: sudo dmesg -w
- Plug a device on a USB port:
- dmesg indicates "Device is not authorized for usage"
- note idVendor and idProduct displayed by dmesg
- Run usbguard allow-device --permanent "$idVendor:$idProduct" => Now the device works correctly
- Plug the device on another USB port
Result
The device is NOT authorized for usage
Expected result
The device is authorized for usage
Remarks
- The device is authorized for usage after restarting the PC.
- Same behavior if I use usbguard generate-policy --no-ports-sn and then restart usbguard service
- /etc/usbguard/rules.conf is ok: there is no "via-port" attribute
Is it expected ?
If yes a message like "PC restart is required to apply completely the rules" could be nice ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels