(SOLVED [maybe]) Re: What is removing files from /tmp?

Patrick O'Callaghan pocallaghan at gmail.com
Fri May 4 12:18:57 UTC 2012


On Fri, 2012-05-04 at 12:13 +0100, John Horne wrote:
> On Thu, 2012-05-03 at 12:01 -0700, Dean S. Messing wrote:
> 
> > I just remotely logged onto my F15 system at work and found
> > 
> >  /usr/lib/tmpfiles.d/systemd.conf
> > 
> > which contains this line:
> > 
> >   d /tmp 1777 root root 10d
> > 
> Thanks for this. I admit I wasn't aware of this mechanism so have
> learned something :-)
> 
> Interestingly though, the man page says that files and directories will
> be removed. That doesn't seem to happen. I have directories in /tmp (on
> F15) which are well over 10 days old. They have no files in them, some
> have subdirectories, but no files at all. So it seems to more purge /tmp
> of files, but leave the directory structures in place.

Are you actually running systemd (specifically systemd-tmpfiles)? IIRC
it only became the default in F16.

poc



More information about the users mailing list