Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: Earlier /tmp cleanup in /etc/rc
To:
Craig Skinner <Skinner@Britvault.Co.UK>
Cc:
Andrew Hewus Fresh <andrew@afresh1.com>, tech@openbsd.org, kn@openbsd.org
Date:
Fri, 28 Aug 2026 10:02:00 -0600

Download raw body.

Thread
Craig Skinner <Skinner@Britvault.Co.UK> wrote:

> On Wed, 26 Aug 2026 21:14:25 -0600 "Theo de Raadt" wrote:
> > 3) With an inode freed up for mktemp, create a directory and move all
> > the deleteable files into that directory and remove it asyncronously.
> > 
> > [snip]
> > 
> > Of course, the failure to remove files will be noisy, so the entire
> > contraption redirects errors to /dev/null.
> 
> 
> If the asynchronous removes are done in a batch(1) job:-
> *) root would get an email of any problems
> *) the boot process would be quieter.

Did you write a diff to test your proposal?  No you didn't.