GLib Application Registers a DBus name under application confinement

Bug #1176127 reported by Ted Gould on 2013-05-03
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)
High
Unassigned

Bug Description

Under application confinement applications won't be allowed to register names on DBus. GApplication returns an error if it can't do that which makes programs unhappy. Instead they should just believe they are the primary app instance if they're running under isolation.

Ted Gould (ted) wrote :

The attachment "block_app_registration.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
tags: added: appstore
Jamie Strandboge (jdstrand) wrote :

I see that HUD access needs to use:
  dbus (send)
       bus=session
       path="/com/canonical/hud"
       interface="com.canonical.hud"
       member="RegisterApplication",

but other than that, I am not seeing other accesses. SDK applications should be using GApplication now, so this is more of a converged device bug, isn't it? If so, should the priority be adjusted and the bug retargeted?

On Tue, 2013-09-03 at 18:17 +0000, Jamie Strandboge wrote:

> I see that HUD access needs to use:
> dbus (send)
> bus=session
> path="/com/canonical/hud"
> interface="com.canonical.hud"
> member="RegisterApplication",
>
> but other than that, I am not seeing other accesses. SDK applications
> should be using GApplication now, so this is more of a converged device
> bug, isn't it? If so, should the priority be adjusted and the bug
> retargeted?

The SDK must not be creating the GApplication object with a well-known
name. So yes, I think that it makes sense to look at post-13.10 for
this.

Ted Gould (ted) on 2017-04-12
Changed in glib2.0 (Ubuntu):
assignee: Ted Gould (ted) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers