Re: Uploaded tmpreaper 1.4.8 (source i386) to master
- To: email@example.com
- Subject: Re: Uploaded tmpreaper 1.4.8 (source i386) to master
- From: Rob Browning <firstname.lastname@example.org>
- Date: 02 Oct 1998 00:26:54 -500
- Message-id: <email@example.com>
- In-reply-to: Joey Hess's message of "Thu, 1 Oct 1998 15:36:05 -0700"
- References: <E0zIefO-0001wQfirstname.lastname@example.org> <19980914130647.U8006@kitenet.net> <19980915191641.C2802@wau.mis.ah.nl> <19980915125932.M835@kitenet.net> <19980916113125.C26071@wau.mis.ah.nl> <email@example.com> <19980917095705.B4145@wau.mis.ah.nl> <firstname.lastname@example.org> <19980929144411.A28267@wau.mis.ah.nl> <email@example.com> <19981001153605.M7965@kitenet.net>
Joey Hess <firstname.lastname@example.org> writes:
> I can't say I agree. It feels like a hack. What if the ssh-agent is running,
> but suspended, for several days?
> I just had a wacky idea - why not use something similar to lsof to
> figure out what processes have files in /tmp open. If any process
> have a file open, don't delete it. Would that be a more general
> solution? (It might slow tmpreaper down too much, though).
Now that sounds like a better idea if it would work, but just like the
"touching idea", you'd have to make sure that all the relevant
programs actually keep the file open, and don't just open it when they
Rob Browning <email@example.com> PGP=E80E0D04F521A094 532B97F5D64E3930