Re: tmp files no longer removed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 20 June 2012 18:24, Mantas Mikulėnas <grawity@xxxxxxxxx> wrote:
> On Wed, Jun 20, 2012 at 7:05 PM, Lukáš Jirkovský <l.jirkovsky@xxxxxxxxx> 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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux