In my case, I just use this service inside the app. No other apps use it but making the apparmor error gone away. My snapcraft.yaml is at:
https://github.com/liu-xiao-guo/xmradio/blob/master/snap/snapcraft.yaml Thanks for your explanation. On Thu, Mar 23, 2017 at 11:16 PM, Jamie Strandboge <ja...@ubuntu.com> wrote: > Yes! :) I think it is helpful to think about what the application is > doing. It is binding to a well-known name so that other processes can > access it through the well-known name. In other words, it can be thought > of as a service. In snappy terms, it is a slot implementation of a > service for the DBus apis the service provides under the well-known DBus > name. > > Due note that if the snap is being distributed via the Ubuntu public > store, then the initial upload will require a human to grant use of this > well-known name, but once that is done, subsequent uploads aren't > blocked. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1590679 > > Title: > Apps can't own session bus names (unity7 interface) > > Status in Snappy: > Fix Released > Status in snapd package in Ubuntu: > Fix Released > > Bug description: > Many applications require to own a name on the session D-Bus. This is > often used for app uniqueness and D-Bus launching (e.g. many GNOME > apps). > > For example (lp:~ubuntu-desktop/+junk/gnome-mahjongg-snap) attempting > to run gives: > > $ /snap/bin/gnome-mahjongg > Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: > Connection ":1.141" is not allowed to own the service > "org.gnome.gnome-mahjongg" due to AppArmor policy > > I would expect the unity7 interface to allow bus name ownership so > these apps can work. > > To manage notifications about this bug go to: > https://bugs.launchpad.net/snappy/+bug/1590679/+subscriptions > -- XiaoGuo, Liu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1590679 Title: Apps can't own session bus names (unity7 interface) To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1590679/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs