** Description changed: Ubuntu Push client should ensure it only runs once per session. + + [Impact] + + * if two push clients connect with the same id, the last one to connects disconnects the previous ones + * a "live" client will attempt to reconnect + + thus if for whatever reason two clients run in the same session, they + will "fight" over it. + + [Test Case] + + You need: + + * a device on stable + * to shells running as the phablet user + + In one of the shells, do + + stop ubuntu-push-client + /usr/lib/ubuntu-push-client/ubuntu-push-client + + In the other one, do + + /usr/lib/ubuntu-push-client/ubuntu-push-client + + Watch the fight that ensues + + [Regression Potential] + + The current implementation quits the first client once the second one + claims the dbus name. This *could* be disconnecting the "wrong" one, but + as I have had trouble reproducing this in the wild it's hard to tell. In + any case it's better than the fight that would ensue without this.
** Description changed: Ubuntu Push client should ensure it only runs once per session. [Impact] - * if two push clients connect with the same id, the last one to connects disconnects the previous ones - * a "live" client will attempt to reconnect + * if two push clients connect with the same id, the last one to connects disconnects the previous ones + * a "live" client will attempt to reconnect thus if for whatever reason two clients run in the same session, they will "fight" over it. [Test Case] You need: - * a device on stable - * to shells running as the phablet user + * a device on stable + * two shells running as the phablet user In one of the shells, do stop ubuntu-push-client /usr/lib/ubuntu-push-client/ubuntu-push-client In the other one, do /usr/lib/ubuntu-push-client/ubuntu-push-client Watch the fight that ensues [Regression Potential] The current implementation quits the first client once the second one claims the dbus name. This *could* be disconnecting the "wrong" one, but as I have had trouble reproducing this in the wild it's hard to tell. In any case it's better than the fight that would ensue without this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1309432 Title: Ubuntu Push client should ensure it only runs once per session. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-push/+bug/1309432/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs