[erlang-questions] Pipes - systemd

Technion technion@REDACTED
Thu Jun 16 05:24:58 CEST 2016


That's correct for me - given it wasn't blindingly obvious how to change this in rebar3 (ie, under either the "getting started" or "configuration" section of documentation), it quickly becomes one of those "do I really want to change this and deal with being non-standard"? Those sorts of situations generally outweigh filesystem standards that a particular product may or may not use.

________________________________
From: erlang-questions-bounces@REDACTED <erlang-questions-bounces@REDACTED> on behalf of Tristan Sloughter <t@REDACTED>
Sent: Thursday, 16 June 2016 12:27:08 AM
To: erlang-questions@REDACTED
Subject: Re: [erlang-questions] Pipes - systemd

Yea, I assume people are using /tmp because rebar 2.x and relx (based on
the script from rebar 2.x) uses /tmp in the release start script.

I am going to update the relx script to use /var/run by default, which
will also update rebar3.

--
  Tristan Sloughter
  t@REDACTED

On Wed, Jun 15, 2016, at 09:21 AM, Garrett Smith wrote:
> Once you fix that behavior, you'll probably be up against others that
> sprout up in time. Don't use /tmp for process files, unless they're ad
> hoc or short lived. As others have said /var/run or /run is generally
> where you want those to land.
>
> https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
>
> On Mon, Jun 13, 2016 at 8:52 PM, Technion <technion@REDACTED> wrote:
> > Hi,
> >
> >
> > I've had a lot of frustrating times with this issue and wanted to mention it
> > before anyone else does.
> >
> >
> > Specifically, my erl pipes kept getting deleted, meaning you couldn't
> > attach, or cleanly shutdown services.
> >
> >
> > After far too long, I've tracked this to a new systemd service, and found
> > the fix involves editing this file:
> >
> >
> > /usr/lib/tmpfiles.d/tmp.conf
> >
> >
> > And telling it not to apply the default ten day lifetime on this folder:
> >
> >
> > x /tmp/erl_pipes
> >
> >
> > I'm expecting that will sort it out (although I know now I need ten days to
> > tell).
> >
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
> >
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160616/f959d4d7/attachment.htm>


More information about the erlang-questions mailing list