Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397701 - >=sys-fs/udev-164-r2: /etc/init.d/udev-postmount fails to trigger bluetooth adapter
Summary: >=sys-fs/udev-164-r2: /etc/init.d/udev-postmount fails to trigger bluetooth a...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 397673
  Show dependency tree
 
Reported: 2012-01-04 22:09 UTC by Pacho Ramos
Modified: 2012-01-09 23:02 UTC (History)
0 users

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


Attachments
97-bluetooth.rules (97-bluetooth.rules,259 bytes, text/plain)
2012-01-09 19:08 UTC, Pacho Ramos
Details
70-bluetooth.rules (70-bluetooth.rules,228 bytes, text/plain)
2012-01-09 19:10 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2012-01-04 22:09:32 UTC
Currently we need to manually run:
udevadm trigger --subsystem-match=bluetooth --action=add

or simply:
udevadm trigger

because udev-postmount fails to get it triggered. Seems that it's because of using "--type=failed" option :-/

Reproducible: Always
Comment 1 William Hubbs gentoo-dev 2012-01-05 16:58:57 UTC
an you test with udev-171-r5 and let me know if the issue is still
there?
Comment 2 Pacho Ramos gentoo-dev 2012-01-05 18:25:32 UTC
Is it safe enough for a "stable" system? I mean, I am running a mostly stable system, I guess I will be able to update && reboot and downgrade again without major problems, no?

(I usually have no problems on running packages from testing, but as udev as a bit more "critical"... :))  Thanks for the info
Comment 3 William Hubbs gentoo-dev 2012-01-05 19:04:49 UTC
I am actually about to open a stabilization request for that version of
udev, so go for it. Also, if you have issues you should be able to
downgrade.
Comment 4 Pacho Ramos gentoo-dev 2012-01-05 21:50:14 UTC
Just tested and it's exactly the same issue :(
Comment 5 Pacho Ramos gentoo-dev 2012-01-09 10:08:46 UTC
What would be the problem on simply running "udevadm trigger" in udev-postmount?
Comment 6 William Hubbs gentoo-dev 2012-01-09 14:31:49 UTC
Can you please attach the udev rules you are having issues with to this
message? I believe I may know what the problem is, but I need to see
your udev rules to be sure.

Thanks,

William
Comment 7 Pacho Ramos gentoo-dev 2012-01-09 19:08:42 UTC
Created attachment 298413 [details]
97-bluetooth.rules

This one is upstream rule that should work
Comment 8 Pacho Ramos gentoo-dev 2012-01-09 19:10:12 UTC
Created attachment 298415 [details]
70-bluetooth.rules

And this is our customized rule that, personally, I think should be dropped. It was used in the past to start /etc/init.d/bluetooth, but, since bluez-4, that init.d script is needed to simply run udevadm trigger as udev-postmount doesn't trigger it
Comment 9 Pacho Ramos gentoo-dev 2012-01-09 23:02:12 UTC
+*bluez-4.97-r3 (09 Jan 2012)
+*bluez-4.97-r2 (09 Jan 2012)
+
+  09 Jan 2012; Pacho Ramos <pacho@gentoo.org> +bluez-4.97-r2.ebuild,
+  +bluez-4.97-r3.ebuild, +files/bluetooth-init.d-r1, -bluez-4.97-r1.ebuild,
+  -bluez-4.97.ebuild:
+  Reintroduce a bluetooth init.d script to trigger bluetooth devices after dbus
+  is started because, as talked with WilliamH, udev-postmount will be removed in
+  the near future due upstream no longer detecting failed triggers at early
+  boot. This should also solve bug 397673 by a.m. Drop old.
+