On Ubuntu, /etc/systemd/hwdb/hwdb.bin does not exist.
The only file actually present and used by lsusb is /etc/udev/hwdb.bin.

This is also confirmed by strace, which shows:

attempted open of /etc/systemd/hwdb/hwdb.bin -> ENOENT
successful open of /etc/udev/hwdb.bin

So only /etc/udev/hwdb.bin needs to be allowed by the AppArmor profile.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2148047

Title:
  lsusb AppArmor profile blocks access to /etc/udev/hwdb.bin, causing
  incomplete device identification

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2148047/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to