F18 - systemd question

Cristian Sava csava at central.ucv.ro
Wed Mar 6 08:11:57 UTC 2013


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 at 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.
> 
> -- 
> >From now on, at least during winter time, Im going to blame all spelling an grammar erros on the cat sitting on my chest every time I sit down at the computer....
Sorry, you're right. February has 28 days.
C.Sava




More information about the users mailing list