I've recently updated the spec above to include details of session shutdown [1]. If anyone has comments, please weigh in:
https://wiki.ubuntu.com/FoundationsTeam/Specs/RaringUpstartUserSessions#Desktop_Session_Shutdown Note that on Ubuntu, when the gnome-session job ends, gnome-session will potentially first signal ConsoleKit to shutdown the system. This will ultimately result in the display manager (lightdm on Ubuntu) sending SIGTERM to each Session Init [2] which should preclude the need for a final "shutdown" job that reacts to the session-exiting event, although it may be necessary to modify the 'kill timeout' for the lightdm job. Kind regards, James. [1] - Note that this *only* applies to Upstart running as a Session Init (as a non-privileged user) although ideally the design will be flexible enough to support a 'Pure Upstart' system shutdown sequence in the future (for Ubuntu). [2] - Which will need to be changed to not re-exec on receipt of that signal. -- James Hunt ____________________________________ http://upstart.ubuntu.com/cookbook http://upstart.ubuntu.com/cookbook/upstart_cookbook.pdf -- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
