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

Bug#249597: texmf: Leaves spurious tempfiles around



On 20.05.04 Frank Küster (frank@kuesterei.ch) wrote:
> Jeroen van Wolffelaar <jeroen@wolffelaar.nl> wrote:

Hi all,

> > 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 guess you might run into trouble if you not make sure your /tmp is
cleared regularly. And I guess not only because of these 75K left by
tetex-bin.

> > Then one (which is a good idea anyway) should choose a more
> > verbose filename, like tetex-bin.postinst.initex.RANDOMSTUFF, so
> > reportbug can reliably find them... It now took me a bit of
> > research before I found out which package kept putting random
> > files in my /tmp...
> 
> That's a point. But I am still not convinced that it is a bug. What
> do the other tetex maintainers think?
> 
I don't think that is a bug. We should downgrade to wishlist. However
it should be simple to replace

  fmtutil --all >> $TEMPFILE
by
  fmtutil --all >> $TEMPFILE && rm $TEMPFILE

and

  /usr/bin/updmap --outputdir /etc/texmf/dvips 2> ${MAPTEMP}
by
  /usr/bin/updmap --outputdir /etc/texmf/dvips 2> ${MAPTEMP} && rm ${MAPTEMP}

works for me.

H. 
-- 
sigmentation fault



Reply to: