[udev] missing vendor/product names of devices (missing hwdb.bin)

Bug #1190947 reported by Martin Pitt on 2013-06-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Medium
Martin Pitt

Bug Description

The hwdb bits of udev do not work at the moment. They expect the compiled hwdb database in /etc/udev/hwdb.bin:

$ udevadm test-builtin hwdb /devices/pci0000:00/0000:00:00.0
calling: test-builtin
error reading /etc/udev/hwdb.bin: No such file or directory
load module index
unload module index

$ udevadm hwdb --test=pci:v00008086d00003B4Asv000017AAsd00002164bc06sc04i00

This leads to devices not having proper vendor/product strings (also see bug 1186777).

TODO:
- Move binary database out of /etc [upstream]
- Call "udevadm hwdb --update" in udev postinst
- Clean up hwdb.bin on purge

Martin Pitt (pitti) on 2013-06-14
Changed in systemd (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
milestone: none → ubuntu-13.06
assignee: nobody → Martin Pitt (pitti)
Martin Pitt (pitti) wrote :

We could also skip shipping /lib/udev/hwdb.d/ and /etc/udev/hwdb.d/ and just ship the binary database. That'll be more efficient, at least until we have other packages which want to install stuff there.

Martin Pitt (pitti) wrote :
Changed in systemd (Ubuntu):
status: Triaged → In Progress
Martin Pitt (pitti) on 2013-06-14
Changed in systemd (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 204-0ubuntu4

---------------
systemd (204-0ubuntu4) saucy; urgency=low

  * Properly integrate hwdb, to get back vendor/product names in the udev db:
    - Add 0024-hwdb-in-lib.patch: udev hwdb: Store binary database in libdir,
      not in /etc.
    - debian/rules: Build and ship pre-generated hwdb; do not ship the source
      files, they are quite big and for now we do not have other packages
      which want to add files there.
    - LP: #1190947
 -- Martin Pitt <email address hidden> Fri, 14 Jun 2013 12:59:10 +0200

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers