Where to save stuff (in snap-agnostic way)

Luca Dionisi luca.dionisi at gmail.com
Mon Feb 6 18:01:12 UTC 2017


On Mon, Feb 6, 2017 at 6:19 PM, Jamie Strandboge <jamie at canonical.com> wrote:
> On Sat, 2017-02-04 at 15:53 +0100, Luca Dionisi wrote:
>> Although I wouldn't spend too much on this IPC issue (the IPC task is
>> needed only for a testing tool that I won't deploy anywhere) in order
>> to go ahead I am going to explore other possibilities. I want to  try
>> with DBus. Do you know of anything DBus-related that will encounter
>> issues in a snap environment?
>
> Today, you'll have the same issue with dbus. You could use the 'dbus interface'
> in your snap, but you'd need to have this bug fixed for applications within your
> snap to use it:
> https://bugs.launchpad.net/snappy/+bug/1659724
>
> The fix for this should be in snapd 2.23[1].
>
> I would actually recommend using UNIX domain sockets for this though. The
> easiest is to put a named socket in SNAP_DATA.
>
> [1]https://github.com/snapcore/snapd/pull/2768
>
> --
> Jamie Strandboge             | http://www.canonical.com

Thank you Jamie, very useful.

--Luca




More information about the Snapcraft mailing list