After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 309232 - Doesn't like when bluetooth service is restarted
Doesn't like when bluetooth service is restarted
Status: RESOLVED FIXED
Product: gnome-user-share
Classification: Core
Component: bluetooth
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-user-share maintainers
gnome-user-share maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-30 22:11 UTC by Bastien Nocera
Modified: 2009-06-29 09:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2005-06-30 22:11:34 UTC
1. Launch gnome-obex-server
2. Relaunch hcid
3. Watch it crap itself
conn_request:   bdaddr 00:0E:07:37:D1:B2
conn_complete:  status 0x00

(Current CVS HEAD)
Comment 1 Bastien Nocera 2006-04-17 09:38:25 UTC
One of the problems is that the sdp record gets cleared. No solutions yet:
http://article.gmane.org/gmane.linux.bluez.devel/7566
Comment 2 Bastien Nocera 2008-02-23 01:20:35 UTC
Still current, for both the ObexFTP and ObexPush backends. The servers get nicely killed for obex-data-server. We'd need to listen to SessionRemoved() and either try to reinit using CreateBluetoothServer() regularly (huhu), or actively listen to DBus to see if hcid is running.
Comment 3 Bastien Nocera 2008-02-27 15:39:45 UTC
This also happens when the last bluetooth device is removed/deactivated.
Comment 4 Bastien Nocera 2009-06-29 09:40:43 UTC
commit a7eff0730cab9758588f04ee728f503a8657bc69
Author: Bastien Nocera <hadess@hadess.net>
Date:   Mon Jun 29 10:38:36 2009 +0100

    Bug 309232 – Doesn't like when bluetooth service is restarted
    
    Use BluetoothClient to monitor bluetoothd availability
    
    This means that we can bring down the obex service when there's
    no Bluetooth adapters available, or bluetoothd has exited.