Bind to D-Bus from a snap
Jamie Strandboge
jamie at canonical.com
Tue Jul 26 20:42:52 UTC 2016
On Tue, 2016-07-26 at 20:03 +0000, Tin Tvrtković wrote:
> Alrighty, thanks. Guess this will have to wait a little :)
>
Do keep in mind you can use --devmode in the meantime. :)
> On 20:27, Tue, Jul 26, 2016 Jamie Strandboge <jamie at canonical.com> wrote:
>
> >
> > On Sat, 2016-07-23 at 00:41 +0000, Tin Tvrtković wrote:
> > >
> > > Hello,
> > >
> > > for a few days now I've been trying to build a snap for Terminix. I'm
> > > pretty much done, except when I actually run it, I get:
> > >
> > > Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied:
> > > Connection ":1.194" is not allowed to own the service
> > > "com.gexperts.Terminix" due to AppArmor policy
> > >
> > > Is there something in my snapcraft.yml I should be doing differently?
> > No. Binding to an arbitrary dbus well-known name is not currently
> > supported in
> > snapd. However there is a POC PR[1] to start the discussion on how to deal
> > with
> > this sort of thing that you might be interested in following.
> >
> > [1]https://github.com/snapcore/snapd/pull/1446
> >
> > --
> > Jamie Strandboge | http://www.canonical.com
> >
> >
--
Jamie Strandboge | http://www.canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160726/90db17fa/attachment.sig>
More information about the Snapcraft
mailing list