Re: who cleared /tmp?

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

 



Neal Becker wrote:

> I realize that in general, keeping files in /tmp is rather dangerous. 
> However, it seems that readhat/linux has generally left such files alone.
> 
> It seems a number of valuable files I placed in /tmp got removed.  I'm
> wondering what caused this?  I don't see anything obvious in /etc/crond.d,
> nor is /etc/sysinit (system had been rebooted a couple of times).  Any
> hint?
> 

Hm some things re nuked in /etc/rc.sysinit initscript

rm -f /var/lib/rpm/__db* &> /dev/null

(guess that answers if that is the rpm database :-) )

Doing a filesystem relabel for selinux might do it too.

If you had bad luck, did your files match these?  Because these are
nuked also in rc.sysinit

rm -f /tmp/.X*-lock /tmp/.lock.* /tmp/.gdm_socket /tmp/.s.PGSQL.*
rm -rf /tmp/.X*-unix /tmp/.ICE-unix /tmp/.font-unix /tmp/hsperfdata_* \
       /tmp/kde-* /tmp/ksocket-* /tmp/mc-* /tmp/mcop-* /tmp/orbit-*  \
       /tmp/scrollkeeper-*  /tmp/ssh-*

-Andy

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux