Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 433910 - net-wireless/gnome-bluetooth-3.2.2 installs udev rules into /lib/udev/rules.d
Summary: net-wireless/gnome-bluetooth-3.2.2 installs udev rules into /lib/udev/rules.d
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: udevdir
  Show dependency tree
 
Reported: 2012-09-04 11:30 UTC by Martin von Gagern
Modified: 2012-09-13 10:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2012-09-04 11:30:18 UTC
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."

net-wireless/gnome-bluetooth-3.2.2 installs files into that old location, so it should be fixed. Remerging the package is not enough to fix this issue.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-09-13 07:10:47 UTC
Note to self, this rule should indeed be moved to pkgconfig'ed udevdir but it could as well be removed on policykit/consolekit|systemd enabled systems.

It needs a modification to consolekit acl rules that is present in fedora since f12 so that rfkill gets acl entries for physicaly logged in user.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-09-13 10:37:30 UTC
(In reply to comment #1)
I am not sure that it's a good idea to give every physically logged in user control over every rfkill switch that could be exposed by various wireless-related kernel modules...

For now, fixed the existing udev rule in gnome-bluetooth-3.4.2-r1 to install in the correct location.

+*gnome-bluetooth-3.4.2-r1 (13 Sep 2012)
+
+  13 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+  -gnome-bluetooth-3.4.0.ebuild, +gnome-bluetooth-3.4.2-r1.ebuild:
+  Use pkgconfig to read udevdir from udev.pc (bug #433910, thanks to Martin von
+  Gagern). Drop old.