Be sure to use XDG_RUNTIME_DIR and not '/var/run' specifically, as XDG_RUNTIME_DIR is /run/user/<userid>/snap.<snapname>/ in a snap's runtime. You may also need to create that directory before using it.
Michael Hall mhall...@ubuntu.com On 02/03/2017 04:19 PM, Christian Dywan wrote: > Hey Luca, > > I'll suggest XDG_RUNTIME_DIR i.e. /var/run > > Regards, > Cris > > Am 3. Februar 2017 21:04:19 MEZ schrieb Luca Dionisi > <luca.dion...@gmail.com>: > > What is the best place to write (and read) a temporary FIFO file from > a confined snap application? > This is for simple IPC between 2 processes of the same snap. > Before attempting to snap the application I was using a fixed filename > in /tmp. Admittedly poor solution. > The solution should be usable also with another packaging system. > > --Luca > > P.S. the problem with Vala library has been solved and I was able to > make the snap work in devmode. Now I am trying to move from devmode to > strict. > > > -- > Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail > gesendet. > > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft