This is not a bug in the behavior of upstart. If gdm and lightdm need to be doing more cleanup before exiting upon receiving a signal from upstart, that's a bug in those respective packages.
** Package changed: upstart (Ubuntu) => lightdm (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/1043077 Title: upstart restarts DM to quickly Status in “lightdm” package in Ubuntu: Confirmed Bug description: I am filing this against upstart since it seems to affect both lightdm and gdm. Basically, if I run: sudo service lightdm restart then it will fail with an "X Server already on display 0" message (in gdm logs) It appears that upstart is respawning the DM before the current X session has shutdown completely. If I instead do sudo service lightdm stop <wait a few seconds> sudo service lightdm start it works perfectly. This is 100% reproducible on my 12.10 VM and happens around 1:5 times on my 12.10 installation on real machine. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1043077/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

