** Changed in: gnome-user-share Status: New => Expired -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-user-share in Ubuntu. https://bugs.launchpad.net/bugs/369522
Title: obexpushd and obexftp not correctly restarted after S3/S4 Status in gnome-user-share: Expired Status in “gnome-user-share” package in Ubuntu: Triaged Bug description: Binary package hint: gnome-user-share On Jaunty, package gnome-user-share_2.25.92-0ubuntu2 There appears to be a race condition on suspend/resume and hibernate/thaw which causes obexpushd and obexftp to not get correctly shutdown on suspend/hibernate and it attempts to restart them on resume, which fails. This makes any subsequent attempt to transfer files to the system via bluetooth fail. I've traced this to src/user-share.c consolekit_init() method and sessionchanged_cb(). When the condition fails, sessionchanged_cb gets an "Active" on suspend/hibernate rather than "Inactive" which causes the services to not get stopped. It gets another "Active" on resume/thaw and then all hell breaks loose. I've attached a patch which simplifies the dbus code to register a callback which is passed the active/inactive state, thus eliminating the race condition. This same method is used in netbook-launcher. To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-user-share/+bug/369522/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp