GNOME Bugzilla – Bug 525859
gnome-settings-daemon needs to export a stop API
Last modified: 2008-05-27 19:58:41 UTC
+++ This bug was initially created as a clone of Bug #522017 +++ gnome-session needs to stop gnome-settings-daemon cleanly, at the moment it doesn't, esd is still using the sound device after logout and that breaks sound for the next logins ==== In order to achieve the goal for the original bug gnome-settings-daemon needs a DBUS method exported so it can know when to tidy up. I'm going to attach a patch.
Created attachment 108511 [details] [review] Patch adding 'Stop' dbus method Proposed patch. Also some plugins, in particular the sound one, need to have their deactivate function worked on.
(In reply to comment #1) > Also some plugins, in particular the sound one, need to have their deactivate > function worked on. Make that all plugins. That's an issue that really needs to be fixed before we can even think about using module shutdown.
*** Bug 512914 has been marked as a duplicate of this bug. ***
From what I have gathered by now, the new g-s explicitly does *not* want to introduce special casing for g-s-d. Has this changed in some way? Otherwise I don't see how this is going to help. Assuming g-s terminates apps with SIGTERM on shutdown, how about having g-s-d handle that by shutting down cleanly?
We'd obviously also need to make sure that gnome-session doesn't just send SIGTERM and go away, otherwise the display will be taken from under us, and most apps will exit straight away (such as PulseAudio with the x11 module loaded).
Obsoleted by bug 522017.