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.
Prospective patch for this issue in gdm/lightdm upstart jobs:
post-stop script
*runlevel* )
initctl emit desktop-shutdown
;;
case $UPSTART_EVENTS in
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.