[Bug 854329] Re: race condition on shutdown with more than one DM installed
Steve Langasek
steve.langasek at canonical.com
Tue Sep 20 03:54:08 UTC 2011
Yeah, don't use that script. $UPSTART_EVENTS is the variable containing
the list of events that triggered the *start* of the job; so anything
that's 'start on [...] runlevel [...]' will always match and then we
have the same race condition all over again.
Here's an alternative that DTRT.
post-stop script
if [ "$UPSTART_STOP_EVENTS" = runlevel ]; then
initctl emit desktop-shutdown
fi
end script
Tested out here with gdm and lightdm installed; the dots-over-text error
goes away with this change.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/854329
Title:
race condition on shutdown with more than one DM installed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/854329/+subscriptions
More information about the kubuntu-bugs
mailing list