[Bug 1043077] Re: upstart restarts DM to quickly
Steve Langasek
steve.langasek at canonical.com
Fri Nov 16 21:48:56 UTC 2012
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 Ubuntu
Foundations Bugs, which is subscribed to upstart 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
More information about the foundations-bugs
mailing list