stopping /tmp cleanup on reboot

Alvin info at alvin.be
Tue Jun 15 11:01:26 UTC 2010


On Tuesday 15 June 2010 00:13:57 Reinhold Rumberger wrote:
> On Monday 14 June 2010, D. R. Evans wrote:
> > I just updated a system to lucid and discovered that /tmp is being
> > emptied on reboot. I recall this happening when I upgraded to
> > karmic, but it was easy to find where this was happening and
> > comment it out ins some startup script or other. But I haven't
> > been able to find the right script in lucid. Does anyone happen
> > to know where the command is located so I can comment it out?
> 
> It's done the way it's always been done... ;-)
> In /etc/default/rcS edit "TMPTIME" to "infinite"

Karmic wasn't supposed to keep files in /tmp.

I wonder why you want to keep /tmp at boot. This has led to problems for me in 
the past (not being able to start X)
For this reason, my /tmp is mounted as tmpfs. There is a blueprint to make 
this the default.

See also:
https://bugs.launchpad.net/bugs/524196
https://blueprints.launchpad.net/ubuntu/+spec/server-karmic-tmp-as-tmpfs




More information about the kubuntu-users mailing list