udev looks for rules in 2 locations /etc/udev/rules.d/ and /lib/udev/rules.d/. system defined rules are supposed to be installed in /lib/udev/rules.d/ and not in etc, however libgphoto2 installs the rules into /etc/udev/rules.d/. Reproducible: Always checked with version 2.4.9
Created attachment 254483 [details] fixed ebuild
I don't see any point in this unless udev upstream actually states so. As far as I know all distributions are doing the same. You should also really open a tracker bug if you want all gentoo package to follow.
the man page udev(7) states: The udev rules are read from the files located in the default rules directory /lib/udev/rules.d/, the custom rules directory /etc/udev/rules.d/ and the temporary rules directory /dev/.udev/rules.d/. my understanding is that default rules are gentoo provided rules and custom rules are user made rules. the newer udev (as well as many others) kages moved all its rules to /lib/udev/rules.d/ (old udev packages, though not sure exactly which, used /etc/udev/rules.d/) imply a preference to the lib directory. Debian testing (and probably Ubuntu) use exclusively /lib/udev/rules.d/ for system defined rules (as far as I can tell). the latest fedora pacakge of libgphoto2 install its rules into /lib/udev/rules.d/
+*libgphoto2-2.4.10 (21 Nov 2010) + + 21 Nov 2010; Gilles Dartiguelongue <eva@gentoo.org> + +libgphoto2-2.4.10.ebuild: + Version bump. Enable jl2005c driver since it is now considered stable. Move + udev rules to /$(get_libdir)/udev/rules.d, bug #345731. + After re-checking how debian handles this, it seems everything indeed moved to this location. I only had left-overs in the other directory. Thanks for reporting.