[unix-pc.general] Cleanup of /tmp

michael@stb.info.com (Michael Gersten) (01/30/91)

I discovered that something is cleaning up /tmp without my knowledge.

It is not /etc/rc. I've been up 15 days.
It is not crontab, nor any cleanup deamons run from crontab.

Whatever it is wipes out the entire /tmp/*, without regard for
how recent the file is. This is rather unfriendly, and may cause
some programs to crash that assume that they can re-open a file
(such as a program that runs in two or three phases. Say a C compiler).

Does anyone know which program is doing this and how to stop it?
I suspect it is smgr, but a strings does not show '/tmp' in it.

		Michael
-- 
		Michael
michael@stb.info.com denwa!stb!michael anes.ucla.edu!stb!michael 
"Space is an illusion; disk space doubly so"

afc@shibaya.lonestar.org (Augustine Cano) (01/30/91)

In article <1991Jan29.171729.11768@stb.info.com> michael@stb.info.com (Michael Gersten) writes:
>
>I discovered that something is cleaning up /tmp without my knowledge.
>
>It is not /etc/rc. I've been up 15 days.
>It is not crontab, nor any cleanup deamons run from crontab.
>
>Whatever it is wipes out the entire /tmp/*, without regard for
>how recent the file is. This is rather unfriendly, and may cause
>some programs to crash that assume that they can re-open a file
>(such as a program that runs in two or three phases. Say a C compiler).
>
>Does anyone know which program is doing this and how to stop it?
>I suspect it is smgr, but a strings does not show '/tmp' in it.

It's /etc/.cleanup.  The offending line is rm -rf /tmp/*.  I have commented
it and my files no longer disappear.

>		Michael
>-- 
>		Michael
>michael@stb.info.com denwa!stb!michael anes.ucla.edu!stb!michael 
>"Space is an illusion; disk space doubly so"


-- 
Augustine Cano		INTERNET: afc@shibaya.lonestar.org
			UUCP:     ...!{ernest,egsner}!shibaya!afc