udisks-1.0.4-r3 udev rule 80-udisks.rules fails, because 'pci-db' got replaced by 'hwdb' Reproducible: Always Steps to Reproduce: 1. install >=udev-196 and udisks-1.0.4-r3 2. boot system 3. see errors in syslog/systemd journal Actual Results: Dec 14 23:22:52 gentoo-desktop systemd-udevd[1931]: failed to execute '/lib/udev/pci-db' 'pci-db /devices/pci0000:00/0000:00:1c.4/0000:03:00.0': No such file or directory Dec 14 23:22:52 gentoo-desktop systemd-udevd[1932]: failed to execute '/lib/udev/pci-db' 'pci-db /devices/pci0000:00/0000:00:1f.2': No such file or directory Expected Results: no errors patch /usr/lib/udev/rules.d/80-udisks.rules: replace 'pci-db' with 'hwdb' (see http://forums-web2.gentoo.org/viewtopic-p-7057112.html?sid=de7de2f7c8449656bdd7083465fd9278)
The needed change is actually: IMPORT{program}="pci-db %p" to IMPORT{builtin}="hwdb" but obviously this is udev version dependent.
> CC freedesktop-bugs@gentoo.org Please do not use the CC feature as an under-the-radar maintainer assignment.
(In reply to comment #2) > > CC freedesktop-bugs@gentoo.org > > Please do not use the CC feature as an under-the-radar maintainer assignment. Actually, I've just put the cursor in the wrong cell and didn't notice it at submission.
I see ArchLinux is completely dropping the line, https://projects.archlinux.org/svntogit/packages.git/plain/trunk/drop-pci-db.patch?h=packages/udisks So that should work for all versions of udev, but do we actually lose something by doing it like this? I'm between doing this and Comment #1
went with ArchLinux patch and raised virtual/udev dependency, now requiring 196 +*udisks-1.0.4-r4 (15 Dec 2012) + + 15 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> +udisks-1.0.4-r4.ebuild, + +files/udisks-1.0.4-drop-pci-db.patch: + Remove usage of old pci-db and rely upon >=virtual/udev-196 dependency to + bring us internal hwdb support wrt #447304 by "Konstantin"