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:
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:
This is fixed in 184.108.40.206 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
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
> having a condition and message
Yes, a plugin system like that would be really nice.