On 20 June 2012 18:24, Mantas Mikulėnas <graw...@gmail.com> wrote:
> On Wed, Jun 20, 2012 at 7:05 PM, Lukáš Jirkovský <l.jirkov...@gmail.com> 
> wrote:
>> I dug through the git of initscripts and it seems to be caused by the
>> replacement of the original code by the systemd-tmpfiles tool. I've
>> just tried to run systemd-tmpfiles manually and it seems that it is
>> not able to do even a simple task such as rm -rf /tmp/*.
>
> The default configuration in `/usr/lib/tmpfiles.d/tmp.conf` tells the
> tool to only remove files older than 10 days.
>
> To override this, create an `/etc/tmpfiles.d/tmp.conf` that cleans
> /tmp regardless of access time:
>
> d /tmp 1777 root root -
> d /var/tmp 1777 root root -
>
>
> --
> Mantas Mikulėnas

This does the exact opposite of what I want – it never deletes any files.

Reply via email to