Bug 144812 - net-wireless/bluez-utils - duplicated hciattach calls
Bug#: 144812 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: pda@gentoo.org Reported By: rhdt@star.ucl.ac.uk
Component: Ebuilds
URL: 
Summary: net-wireless/bluez-utils - duplicated hciattach calls
Keywords:  
Status Whiteboard: 
Opened: 2006-08-22 20:09 0000
Description:   Opened: 2006-08-22 20:09 0000
There are duplicate calls to hciattach in /etc/pcmcia/bluetooth and
/etc/init.d/bluetooth (both from net-wireless/bluez-utils). When a serial-based
Bluetooth PCMCIA card is inserted, triggering the start of the bluetooth
service,  hciattach will be called by both scripts. This is undesirable
behaviour.

------- Comment #1 From Dick Marinus 2007-05-13 10:53:22 0000 -------
I don't own a Bluetooth PCMCIA card so I can't test this.

Will removing start_uarts and stop_uarts from /etc/init.d/bluetooth fix this
issue? Or will this create a failure when booting with the PCMCIA card already
inserted?

Could you please tell us what version of bluez you are using?

------- Comment #2 From Petteri Räty 2007-05-16 12:39:45 0000 -------
hciattach is now handled in /lib/udev/bluetooth_serial and the init script does
not call hciattach any more. bluez-utils does not install /etc/pcmcia/bluetooth
file any more in 3.10.1. You should delete this file.