Packages should be installing their rules to "/lib/udev/rules.d" instead of "/etc/udev/rules.d". The "/etc/udev/rules.d" is for users own rules, and for overriding the rules in the "/lib/udev/rules.d". Please add a QA warning which prints something like "QA: Invalid udev rule install path /etc/udev/rules.d detected. Should be /lib/udev/rules.d."
This was committed a while back: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=4faf6bc8c15124ea2f8bfb7b7c6212762b511b77 Could we have the same for this bug, please? sys-fs/udev owns directory /etc/udev/rules.d/ but nothing should be putting files there, even the *persistent*.rules currently there are not part of the filelist of an package but created outside of it
This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=1ac859dfea03701f02dcd25ba3b91fb17cf520cf
This is fixed in 2.1.10.50 and 2.2.0_alpha94.
(I as a normal user getting more into portage) I think this is a very strange thing in a portage shell function: > eqawarn "QA Notice: udev rules should be installed in /lib/udev/rules.d:" Already outdated as we get the upstream(fedora) /usr directive? Isn't this a baselayout thingy? Better point to a list residing in $PORTDIR/profiles/$BASELAYOUT/QA-list having a condition and message ??
(In reply to comment #4) > Already outdated as we get the upstream(fedora) /usr directive? > Isn't this a baselayout thingy? The point is that /lib/udev/rules.d is currently the best place to install then on Gentoo. That may change in the future, but it doesn't change the fact that /etc/udev/rules.d has been deprecated for some time. > Better point to a list residing in > $PORTDIR/profiles/$BASELAYOUT/QA-list > having a condition and message Yes, a plugin system like that would be really nice.