The emerge log for sys-fs/udev-189 wrote: "This version of udev moves the files that were installed in /lib/udev to /usr/lib/udev. We include a backward compatibility patch for gentoo to allow the rules in /lib/udev/rules.d to be read. However, bugs should be filed against packages that are installing files in /lib/udev so they can be fixed." As I just filed a bunch of these bugs, and found some more which already have been filed, I decided to organize things using this tracker bug. The idea is that maintainers can copy solutions from one another, and won't have to reinvent the wheel. The usual disclaimer for tracker bugs: If you encounter a package with the above problem, don't comment here, but instead file a bug for that package and mark it blocking this bug here.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe2c69be92364e912384cd07c0b122b0e80168f0 commit fe2c69be92364e912384cd07c0b122b0e80168f0 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-04-28 03:06:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-04-30 19:13:18 +0000 metadata/install-qa-check.d: add new QA check for udev rules Very similar to tmpfiles.eclass check (60tmpfiles-paths). Three checks: 1) Verify packages don't install udev rules to /etc/udev/rules.d, which is a forbidden (user-configuration) location; 2) Check whether packages inherit udev.eclass if they're installing files to /lib/udev/rules.d/.. (This helps to catch packages not calling udev_reload in pkg_postinst). 3) Check for missing udev_process calls in pkg_postinst. Bug: https://bugs.gentoo.org/433916 See: c7fe1066a8fcd35f965de4ea16c9cd1001830642 Signed-off-by: Sam James <sam@gentoo.org> metadata/install-qa-check.d/60udev-eclass | 63 +++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+)