DBus Match Warning: match rule without selecting signals

Bug #1522996 reported by Tony Espy on 2015-12-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu RTM)
Undecided
Unassigned

Bug Description

If get-all-match.py ( see attached ) is run on the system bus of the latest rc-proposed touch image, the following warnings are output for unity8:

 - Match rule without selecting signals:
     - path='/com/ubuntu/location/Service',sender='com.ubuntu.location.Service'

 - Match rule without a sender criteria:
     - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/custom',arg0path='/com/ubuntu/phone/'
     - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/custom',arg0path='/com/canonical/unity/launcher/'
     - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/custom',arg0path='/com/canonical/unity8/'
     - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/custom',arg0path='/com/ubuntu/touch/system/'
     - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/custom',arg0path='/com/ubuntu/touch/system/'
     - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/custom',arg0path='/com/canonical/unity8/greeter/'
     - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/custom',arg0path='/com/canonical/UserMetrics/'
     - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/custom',arg0path='/com/canonical/qtmir/'
     - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/custom',arg0path='/org/gnome/desktop/background/'
     - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/custom',arg0path='/com/canonical/unity8/'
     - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/custom',arg0path='/com/canonical/keyboard/maliit/'

In order to run the get-all-match.py script, you first need to install DBus from wily or from my PPA ( see below ). The script needs to be run with root permission, and the argument "--system" must be specified to attach to the system bus.

$ sudo ./get-all-match.py --system

Also, if run on the session bus, the following warnings are generated for unity8 ( note, there's some duplication with the system bus warnings ):

   - Match rule without a sender criteria:
         - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/com/ubuntu/phone/'
         - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/com/canonical/unity/launcher/'
         - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/com/canonical/unity8/'
         - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/com/ubuntu/touch/system/'
         - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/com/ubuntu/touch/system/'
         - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/com/canonical/unity8/greeter/'
         - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/com/canonical/UserMetrics/'
         - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/com/canonical/qtmir/'
         - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/org/gnome/desktop/background/'
         - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/com/canonical/unity8/'
         - type='signal',interface='ca.desrt.dconf.Writer',path='/ca/desrt/dconf/Writer/user',arg0path='/com/canonical/keyboard/maliit/'
         - type='signal',interface='com.canonical.UbuntuAppLaunch',
           member='UnityStartingBroadcast',path='/'
         - type='signal',interface='com.canonical.UbuntuAppLaunch',
           member='UnityFocusRequest',path='/'
         - type='signal',interface='com.canonical.UbuntuAppLaunch',
           member='UnityResumeRequest',path='/'
         - type='signal',interface='com.canonical.UbuntuAppLaunch',
           member='ApplicationPaused',path='/'
         - type='signal',interface='com.canonical.UbuntuAppLaunch',
           member='ApplicationFailed',path='/'
         - type='signal',interface='com.ubuntu.Upstart0_6',
member='EventEmitted',path='/com/ubuntu/Upstart',arg0='started'
         - type='signal',interface='com.ubuntu.Upstart0_6',
member='EventEmitted',path='/com/ubuntu/Upstart',arg0='stopped'

I'm reporting this after running the tool on mako, rc-proposed, #307, and krillin, rc-proposed/bq-aquaris.en, #196.

The link to my PPA is:

https://launchpad.net/~awe/+archive/ubuntu/ppa/+packages

Tony Espy (awe) wrote :
tags: added: dbus-match
description: updated
Tony Espy (awe) on 2015-12-05
description: updated
Tony Espy (awe) on 2015-12-05
description: updated
Tony Espy (awe) on 2015-12-05
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers