Source: usbguard
Version: 0.5.14+ds1-2
Severity: normal
Hello,
Today I booted my system and I could not login because my USB hub
seems to not be allowed, and I need to plugin a device there to
authenticate to my user. I previously had allowed that hub, so I
thought maybe I had failed to set the rule permanently.
I logged into the system remotely from another computer:
# usbguard list-devices |grep block
18: block id 2109:2812 serial "" name "USB2.0 Hub " hash
"Lyv26p5g5APZhEtm00DGF+3W+B/0NuOJPOuCi0PsZX0=" parent-hash
"oDeAgf8YCh7ghJgU06wHyiGmgOH05j8bjxSFQzTw6As=" via-port "3-1" with-interface
09:00:00
22: block id 2109:0812 serial "" name "USB3.0 Hub " hash
"YgKezyy1Q6QIdiQrPGN/1vGpICMi03kuoeHhakCHZac=" parent-hash
"tw2maK4VmI+RXlbQ//DEH5dRbCofKZ2oZbnDhfKy66o=" via-port "4-1" with-interface
09:00:00
#
# usbguard allow-device -p 18
ERROR: BUG: Unknown error code. Please file a bug report at:
https://github.com/dkopecek/usbguard/issues.
# usbguard allow-device -p 22
ERROR: BUG: Unknown error code. Please file a bug report at:
https://github.com/dkopecek/usbguard/issues.
I see in the journal the following:
Dec 07 09:20:54 muck usbguard-daemon[967]: [2016-12-07 09:20:54.409963] error:
Exception: Upsert failed: multiple matching rules
Dec 07 09:20:54 muck usbguard-daemon[967]: [2016-12-07 09:20:54.410031]
warning: IPCException: InternalError: Upsert failed: multiple matching rules
Dec 07 09:21:14 muck usbguard-daemon[967]: [2016-12-07 09:21:14.179438] error:
Exception: Upsert failed: multiple matching rules
Dec 07 09:21:14 muck usbguard-daemon[967]: [2016-12-07 09:21:14.179496]
warning: IPCException: InternalError: Upsert failed: multiple matching rules
so I can't seem to allow those devices.
I had to disable usbguard in order to login again, if you have any
ideas of how I can fix this, I'd love to know because I want to
continue using usbguard, but obviously I cannot if I can't allow my
devices!
thanks for maintaining this package,
micah
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)