how big does /tmp need to be?

Derek Broughton news at pointerstop.ca
Sun Aug 17 15:08:38 UTC 2008


Kennneth P. Turvey wrote:

> On Fri, 15 Aug 2008 12:55:49 -0300, Derek Broughton wrote:
> 
>> Bob Smith wrote:
>> By definition.  /usr/tmp is supposed to have files that can persist, but
>> Ubuntu has, at times - I'm not sure it's still doing it - set the system
>> up in such a way that /tmp, /var/lock and /var/run (and maybe /var/tmp)
>> actually get cleaned out on every boot.  This has led to some badly
>> behaved packages not working properly because they _expected_ to find an
>> old file in /tmp.
> 
> My understanding has always been that /tmp was for temporary files.  The
> kind that don't persist between reboots.  If you have an application that
> expects files in /tmp to persist over reboots, I would suggest that the
> application has a bug either in configuration or implementation.  

I _did_ say "badly behaved".  I just recall a spate of bug reports after
Ubuntu introduced the behavior of cleaning /tmp on boot. Also a rash of
problems from students at a university where I work on a helpdesk, who
installed Oracle on various Linuxes.
-- 
derek





More information about the ubuntu-users mailing list