Where to save stuff (in snap-agnostic way)

Jamie Strandboge jamie at canonical.com
Mon Feb 6 17:19:14 UTC 2017


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

-------------- 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/20170206/cb61b499/attachment.sig>


More information about the Snapcraft mailing list