Created attachment 65246 [details] [review] Avoid race between Mission Control's two names by having one wait for the other If you do: dbus-send --dest=org.freedesktop.Telepathy.MissionControl5 \ --type=method_call --print-reply / org.freedesktop.DBus.Peer.Ping & \ dbus-send --dest=org.freedesktop.Telepathy.AccountManager \ --type=method_call --print-reply / org.freedesktop.DBus.Peer.Ping then one or both of the calls will fail because the executable claims one of its bus names, but can't get the other, and exits 1. By making one wait for the other, we get the desired behaviour. I've made activating MissionControl5 wait for AccountManager because in MC's current implementation AccountManager is taken last (Bug #24000).
(In reply to comment #0) > If you do: > > [some stuff with dbus-send] Forgot to mention the prerequisite: MC is not already running.
Interesting! Your patch looks fine.
Thanks, fixed in git for 5.12.2 and 5.13.1.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.