GLib Application Registers a DBus name under application confinement

Bug #1176127 reported by Ted Gould
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)
Confirmed
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.

Tags: patch appstore
Revision history for this message
Ted Gould (ted) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) 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
Revision history for this message
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?

Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 1176127] Re: GLib Application Registers a DBus name under application confinement

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)
Changed in glib2.0 (Ubuntu):
assignee: Ted Gould (ted) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.