obexpushd and obexftp not correctly restarted after S3/S4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-user-share |
Expired
|
Medium
|
|||
gnome-user-share (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: gnome-user-share
On Jaunty, package gnome-user-
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_
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.
Changed in gnome-user-share: | |
status: | Unknown → New |
Changed in gnome-user-share (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in gnome-user-share: | |
importance: | Unknown → Medium |
Changed in gnome-user-share: | |
status: | New → Expired |
Thanks Bill, I've formarwed your patch upstream, next time ping any people to have your patch reviewed.
Thanks