Prospective patch for this issue in gdm/lightdm upstart jobs:

post-stop script
        case $UPSTART_EVENTS in
                *runlevel*)
                        initctl emit desktop-shutdown
                        ;;
        esac
end script

And after more thought, I see we only need a one-way breaks: from
plymouth to the old versions of the DM packages, when plymouth drops the
check for the 'stopped $dm' events.  So anyone who wants to implement
this post-stop script in their own package can go ahead and do so, and
we can fix up plymouth afterwards.

** Changed in: gdm (Ubuntu Oneiric)
    Milestone: None => ubuntu-11.10

** Changed in: lightdm (Ubuntu Oneiric)
    Milestone: None => ubuntu-11.10

** Changed in: plymouth (Ubuntu Oneiric)
    Milestone: None => ubuntu-11.10

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xdm 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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to