[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#249597: texmf: Leaves spurious tempfiles around



On Thu, May 20, 2004 at 11:33:37AM +0200, Frank K?ster wrote:
> Jeroen van Wolffelaar <jeroen@wolffelaar.nl> wrote:
> 
> >> > Note that the
> >> > FHS says that /tmp is for "temporary files", and the files here don't
> >> > fall in the category in my opinion (but it is a subtle).
> >> >
> >> > The purpose of this file is debugging, so in fact it is some kind of
> >> > logfile. IMHO, /var/log is thus the right place for these files, where
> >> > it could and should be arranged that those files are rotated away after
> >> > a suitable time. 
> >> 
> >> If nothing goes wrong, there is no point in keeping or rotating those
> >> files. This would clutter /var/log IMO, and make people think that
> >> there's anything important to it. And it would make the tetex packages
> >> even more complex, without any need as I see it.
> >
> > Then why not if it succeeds, remove them from /tmp, only leaving them
> > there if something failed? That seems sensible to me.
> 
> Are we really the only "stuff" that leaves something in /tmp? And if it
> is considered necessary to clean it up on every boot, shouldn't there
> also be a cron job for machines that rarely reboot?

I don't run a tempcleaner, but clean up /tmp myself... and you're really
the only package so far I noticed leaving around tempfiles after
postinst or something.

Tempfiles leftover after failures I don't count, I think that's
legitimate.

(I don't auto-tempclean since I use to be logged in graphically for
months... and it tends to remove X locks and such that shouldn't be
removed)
 
--Jeroen

-- 
Jeroen van Wolffelaar
Jeroen@wolffelaar.nl (also for Jabber & MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl



Reply to: