On Wed, 2013-03-06 at 15:47 +0800, Ed Greshko wrote:
On 03/06/13 15:25, Cristian Sava wrote:
> Why /var/log/tmp looks like this and systemd-private dirs are never
> automatically deleted, even at reboot?
>
> [root@localhost tmp]# ls -l
> total 796
> drwx------. 2 fxxxxx fxxxxx 4096 Feb 28 13:43 kdecache-fxxxxx
> drwx------. 2 fxxxxx fxxxxx 4096 Feb 15 14:37 plugtmp-1
> -rw-------. 1 akmods akmods 1774 Feb 7 08:54 rpm-tmp.lO73AO
> drwxrwxrwt. 2 root colord 4096 Feb 5 13:20 systemd-private-0BSkXq
> drwxrwxrwt. 2 root root 4096 Feb 5 13:20 systemd-private-0r92VC
> drwxrwxrwt. 2 root root 4096 Feb 6 10:05 systemd-private-18Z8kV
> drwxrwxrwt. 2 root colord 4096 Feb 28 13:40 systemd-private-1mtzmk
> drwxrwxrwt. 2 root root 4096 Feb 18 16:04 systemd-private-1om8B3
This looks fairly normal to me....
You're talking about /var/tmp right? Those files are not cleaned out at boot time
but are cleaned out by cron job run on a daily basis.
Look at /etc/cron.daily/tmpwatch. You can modify to change the default from 30d
retention to something smaller if you like.
The problem is that they still are there (like here
https://bugzilla.redhat.com/show_bug.cgi?id=801943 )
Do you expect any user to delete or fix himself?
C. Sava