Sorry,
I just found that each snap has its own "tmp" directory created in the /tmp
directory of the system. I just created a file, and it looks like:
root@liuxg:/tmp/snap.1000_snap.hello.fifo_TovLTW/tmp# ls
anothefile
Thanks & best regards,
XiaoGuo
On Sun, Feb 5, 2017 at 8:04 AM, XiaoGuo Liu
Hi Oli,
Does it mean all of the snaps have the same /tmp or each snap has its own
/tmp? I am a little bit confused about this.
Thanks & best regards,
XiaoGuo
On Sat, Feb 4, 2017 at 6:43 PM, Oliver Grawert wrote:
> hi,
> Am Freitag, den 03.02.2017, 21:04 +0100 schrieb Luca
hi,
Am Samstag, den 04.02.2017, 12:02 +0100 schrieb Luca Dionisi:
> > > well ... in case of snaps /tmp is a private directory that only
> > > your
> > > snap can access so it is actually a good place for such stuff ...
> > It's worse than that, Jim!
> >
> > Inside the snap environment I can write
The results are the very same (apart for "namespace") on a real
machine, so the LXD container shouldn't be the cause.
On Sat, Feb 4, 2017 at 12:14 PM, Luca Dionisi wrote:
> More in context:
>
> In a classic Ubuntu (but inside a LXD container) I run:
>
On Sat, Feb 4, 2017 at 11:43 AM, Oliver Grawert wrote:
> hi,
> Am Freitag, den 03.02.2017, 21:04 +0100 schrieb Luca Dionisi:
>> 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
hi,
Am Freitag, den 03.02.2017, 21:04 +0100 schrieb Luca Dionisi:
> 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
>
Yep, that worked - now I can start the REAL work ...
Thanks ,
George
_From: George Gundry 4D
Sent: Friday, February 3, 2017 20:04
Subject: Re: Unable to ssh to RPi3 after initial configuration of Ubuntu Core
To: Snapcraft
Thanks all for the answer.
There's a catch, though. I just checked in a classic Ubuntu what the
XDG_RUNTIME_DIR env is set to for root. And, surprise, it's not set.
So, since my app has to run as root, it seems that I'll have to check
this possibility too.
--Luca
On Sat, Feb 4, 2017 at 3:47 AM,