[lug] Alternate /tmp in Systemd?

Davide Del Vento davide.del.vento at gmail.com
Fri Jun 22 13:04:27 MDT 2018


Would a symlink work?

On Fri, Jun 22, 2018 at 12:27 PM, Rob Nagler <nagler at bivio.biz> wrote:

> I would like /tmp in a systemd service to be somewhere other than /tmp,
> e.g. /bla/mytmp.  Apparently, systemd hardwires /tmp
> <https://unix.stackexchange.com/questions/435367/is-it-possible-to-change-systemd-private-tmp-directory> even
> thought it supports the concept of PrivateTmp.
>
> It also seems that there's no way to add a bind mount to a unit like
> PrivateTmp does.
>
> The problem is that I have a commercial product that doesn't respect it's
> own -tmpdir flag in certain cases. It's only been broken for about a decade
> so I don't think it is going to be fixed any time soon.
>
> Any suggestions?
>
> Rob
>
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20180622/a5998a3a/attachment.html>


More information about the LUG mailing list