Re: Uploaded tmpreaper 1.4.8 (source i386) to master
- To: Rob Browning <rlb@cs.utexas.edu>, debian-devel@lists.debian.org
- Subject: Re: Uploaded tmpreaper 1.4.8 (source i386) to master
- From: Joey Hess <joey@kitenet.net>
- Date: Thu, 1 Oct 1998 15:36:05 -0700
- Message-id: <[🔎] 19981001153605.M7965@kitenet.net>
- Mail-followup-to: Rob Browning <rlb@cs.utexas.edu>, debian-devel@lists.debian.org
- In-reply-to: <873e9aly20.fsf@nevermore.csres.utexas.edu>; from Rob Browning on Tue, Sep 29, 1998 at 10:48:39AM +0000
- References: <E0zIefO-0001wQ-00@alf.toecompst.nl> <19980914130647.U8006@kitenet.net> <19980915191641.C2802@wau.mis.ah.nl> <19980915125932.M835@kitenet.net> <19980916113125.C26071@wau.mis.ah.nl> <87lnnju9vf.fsf@tiamat.datasync.com> <19980917095705.B4145@wau.mis.ah.nl> <87k92nlaga.fsf@nevermore.csres.utexas.edu> <19980929144411.A28267@wau.mis.ah.nl> <873e9aly20.fsf@nevermore.csres.utexas.edu>
Rob Browning wrote:
> Paul Slootman <paul@wau.mis.ah.nl> writes:
>
> > tmpreaper already uses the access time; the problem is where an
> > ssh-agent session is running for a long time without being accessed.
> > Perhaps ssh-agent should be modified so that it does a periodic access
> > on its sockets. e.g. once a day... These sockets being removed must be
> > a problem on other (unix) systems as well...
>
> That sounds like a reasonable idea. Helps everyone. I like that
> better than an exception list.
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).
--
see shy jo
Reply to: