antlists <antli...@youngman.org.uk> wrote:
> On 06/12/2020 07:55, Martin Vaeth wrote:
>> Dale<rdalek1...@gmail.com>  wrote:
>>> It sounds like a rather rare problem. Maybe even only during boot up.
>
>> It is a non-existent problem on openrc if you clean /tmp and /var/tmp
>> on boot (which you should do if you use opentmp):
>
> Which breaks a lot of STANDARDS-COMPLIANT software.

Actually, /var/tmp needs not be cleaned at boot to be on the safe side:

grep /var/tmp /usr/lib/tmpfiles.d/*
/usr/lib/tmpfiles.d/portage-ccache.conf:x /var/tmp/ccache
/usr/lib/tmpfiles.d/systemd-tmp.conf:x /var/tmp/systemd-private-%b-*
/usr/lib/tmpfiles.d/systemd-tmp.conf:X /var/tmp/systemd-private-%b-*/tmp
/usr/lib/tmpfiles.d/systemd-tmp.conf:R! /var/tmp/systemd-private-*
/usr/lib/tmpfiles.d/tmp.conf:q /var/tmp 1777 root root 30d

The q entry is irrelevant for the intended usage of opentmpfiles,
and the others cannot be exploited.


Reply via email to