Merge lp:~xnox/nuntium/drop-sys-events into lp:nuntium

Proposed by Alfonso Sanchez-Beato
Status: Needs review
Proposed branch: lp:~xnox/nuntium/drop-sys-events
Merge into: lp:nuntium
Diff against target: 16 lines (+6/-2)
1 file modified
debian/nuntium.conf (+6/-2)
To merge this branch: bzr merge lp:~xnox/nuntium/drop-sys-events
Reviewer Review Type Date Requested Status
Martin Pitt Pending
Ubuntu Phablet Team Pending
PS Jenkins bot continuous-integration Pending
Review via email: mp+269884@code.launchpad.net

This proposal supersedes a proposal from 2015-09-02.

Commit message

Migrate from :sys:started events to dbus owner signals.

Description of the change

Migrate from :sys:started events to dbus owner signals.

To post a comment you must log in.
Revision history for this message
Dimitri John Ledkov (xnox) wrote : Posted in a previous version of this proposal

When system upstart goes away, :sys:started/stopped/starting/stopping events will go away.

One option is to introduce a user session event bridge which will relay similar events from systemd. I have a working prototype for that, however incomplete information is exposed by systemd at the moment.

Another option is to key onto approximately equivalent events which are already available.

This is a master bug to track all users and port them.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote : Posted in a previous version of this proposal
Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote : Posted in a previous version of this proposal

MP for lp:nuntium/packaging just landed.

Unmerged revisions

82. By Dimitri John Ledkov

Migrate from :sys:started events to dbus owner signals.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/nuntium.conf'
--- debian/nuntium.conf 2014-05-09 20:22:03 +0000
+++ debian/nuntium.conf 2015-09-02 10:44:32 +0000
@@ -1,6 +1,10 @@
1description "nuntium service binds ofono and telepathy-ofono for MMS"1description "nuntium service binds ofono and telepathy-ofono for MMS"
22
3start on (:sys:started JOB=ofono or started dbus)3# Start on session dbus is spawned or
4stop on :sys:stopping JOB=ofono4# org.ofono bus name appears on system dbus
5# Stop on org.ofono bus name disappearing on system dbus
6
7start on (started dbus or dbus SIGNAL='NameOwnerChanged' BUS='system' INTERFACE='org.freedesktop.DBus' OBJPATH='/org/freedesktop/DBus' SENDER='org.freedesktop.DBus' ARG0='org.ofono' ARG1='' ARG2='*')
8stop on dbus SIGNAL='NameOwnerChanged' BUS='system' INTERFACE='org.freedesktop.DBus' OBJPATH='/org/freedesktop/DBus' SENDER='org.freedesktop.DBus' ARG0='org.ofono' ARG1='*' ARG2=''
59
6exec nuntium10exec nuntium

Subscribers

People subscribed via source and target branches