The /etc/init.d/bluetooth script should have "hostname" after "need" in the depend() function: depend() { after coldplug need dbus localmount hostname } The host name may be needed to set the Bluetooth adapter name. See the Name setting in /etc/bluetooth/main.conf: "%h - substituted for hostname". Reproducible: Always Steps to Reproduce: 1. Start system with Bluetooth 2. Discover the adapter name using, for instance, a mobile phone 3. Actual Results: The Bluetooth adapters show up as (none)-0, (none)-1, etc. Expected Results: The Bluetooth adapters should have names like mygentoobox-0, mygentoobox-1, etc.
Please add your emerge --info as a comment to this bug report. What package provides the bluetooth rc script?
net-wireless/bluez provides /etc/init.d/bluetooth.
+*bluez-4.90 (20 Mar 2011) + + 20 Mar 2011; Pacho Ramos <pacho@gentoo.org> +files/bluetooth-conf.d, + +files/conf.d-hidd, -files/4.31-as_needed.patch, -bluez-4.39-r2.ebuild, + -files/4.34-conditional_libsbc.patch, + -files/bluez-4.62-makefile_ipctest.patch, +bluez-4.90.ebuild, + -files/bluez-alsa_location.patch, files/bluetooth-init.d: + Version bump, remove old, bump to eapi4, don't install .c and .o files (bug + #356529 by Alec M.), init script needs hostname (bug #356739 by Johan + Myreen), libnl dep is no longer needed (bug #359105 by Yaroslav Isakov). +