Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118786 - bluetooth init.d should use dbus service when available
Summary: bluetooth init.d should use dbus service when available
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
: 130235 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-12 08:44 UTC by Jan Spitalnik
Modified: 2006-05-18 07:28 UTC (History)
5 users (show)

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


Attachments
bluetooth init.d patch (bluetooth.patch,217 bytes, patch)
2006-01-12 08:45 UTC, Jan Spitalnik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Spitalnik 2006-01-12 08:44:31 UTC
Hi,

bluez-utils' bluetooth init.d should 'use dbus', as it can be compiled to support dbus. In such scenario, bluetooth is started before dbus and hcid fails to start.
Comment 1 Jan Spitalnik 2006-01-12 08:45:14 UTC
Created attachment 76912 [details, diff]
bluetooth init.d patch
Comment 2 Niv Vaizer 2006-01-13 05:22:00 UTC
I second the motion to fix this ASAP and shipout.
Comment 3 Antti Mäkelä 2006-01-30 00:57:44 UTC
Noticed this problem as well. As a workaround I set dbus to start up at "boot" softlevel.

However, if using bluez-2.24 with the udev rule, the bluetooth may start immediately after coldplug regardless. So I thing dbus should also be set to start before coldplug..
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2006-02-06 11:15:56 UTC
cc'ing dbus maintainer. can we have the above discussed before coldplug added to dbus' init.d script?

i'll go about adding the required things into bluez-utils' init.d too
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2006-02-07 05:01:32 UTC
added "after dbus" to bluez-utils 2.25's init.d script. now just missing dbus's init script to run before coldplug
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2006-02-07 13:16:49 UTC
reassigning for further action with the dbus init script.
Comment 7 Niv Vaizer 2006-03-26 04:11:06 UTC
hi, took me some time to figure this out :-\
net-wireless/bluez-utils-2.25 has the dbus issue
when can we expect a fix?
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-04-17 03:23:40 UTC
(In reply to comment #5)
> added "after dbus" to bluez-utils 2.25's init.d script. now just missing dbus's
> init script to run before coldplug

"after coldplug" is bogus w/ >=udev-089, it should be just removed from the dbus init script when that version goes stable. Same for bluetooth init script.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-04-17 03:24:39 UTC
*** Bug 130235 has been marked as a duplicate of this bug. ***
Comment 10 Roy Marples (RETIRED) gentoo-dev 2006-05-18 07:28:33 UTC
net-wireless/bluez-utils-2.25-r1 changes the init script to need dbus when emerged with dbus support which fixes the initial bug report.

after coldplug should be removed from the init script when the coldplug package is removed from portage.