Is there any guidance/document about how to write App-provided slots
enwei.zhang at canonical.com
Mon Nov 14 10:56:12 UTC 2016
Thanks David. Did you forget to add Morphis and Zyga? :)
Simon told me here is the latest bluez snap,
Simon told me that bluez snap only declares bluez slot in its
IMHO, after the bluez snap declares "bluez" slot in snapcraft.yaml, it will
have *bluezPermanentSlotAppArmor* capability defined in
So it seems to me by defining "bluez" slot, the bluez snap have more
power/permissions to do some privileged work,
*but* it doesn't *provide* anything to other snaps. From my experiment, if
a new snap connects to the bluez slot in bluez snap, the new snap will not
get the extra permissions.
On Thu, Nov 10, 2016 at 1:34 AM, David Callé <davidc at framli.eu> wrote:
> On 09/11/2016 10:47, Enwei Zhang wrote:
> For now, all slots are provided by ubuntu-core. I saw the concept of
> App-provided slots from
> But I didn't find any guidance/document about how to do that.
> Could you please help advise?
> I don't think we have a document for this yet, except the general
> interfaces overview that only mentions it as a possibility (
> http://snapcraft.io/docs/core/interfaces ).
> As far as I know, only two snaps are providing their own slots: the core
> snap and bluez.
> If it can help in the meantime, the source code I've found for the bluez
> snap is at: http://bazaar.launchpad.net/~bluetooth/bluez/snap-core-rolli
CCing Morphis and Zyga for more information.
> Thanks so much.
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Snapcraft