Bug#971424: gsd-usb-protection fails to add rule to allow USB devices

Sam Morris sam at robots.org.uk
Mon Jan 4 10:24:10 GMT 2021


Package: gnome-settings-daemon
Version: 3.38.1-2
Followup-For: Bug #971424

I'm still seeing this.

The workaround is to stop (remove) usbguard, then disable usb protection
on any newly-attached devices:

    for x in /sys/bus/usb/devices/usb*/authorized_default; do echo 1 > $x; done

and then authorize any currently-unauthorized devices with:

    for x in /sys/bus/usb/devices/[0-9]*/authorized; do echo 1 > $x; done

-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (535, 'stable-updates'), (535, 'stable'), (520, 'testing'), (510, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.19.0-9-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the pkg-gnome-maintainers mailing list