On Thursday, November 24, 2011 08:47:49 AM Sebastian Freundt wrote:
Graham Anderson
writes: On Monday 21 Nov 2011 23:41:02 Carlos E. R. wrote:
On Monday, 2011-11-21 at 14:14 -0500, Brian K. White wrote:
You do know that tmp stands for "temporary" right? That's pretty much the end of the conversation right there, regardless if that dir ever used to be cleaned automatically or not.
The system is not the exclusive owner of temporary space. People can use it for temporary purposes of their own. The system is free to erase the temporary files it creates, but not the temporary files created by others - unless the admin explicitly says otherwise.
The problem is that the system is unable to keep track of its own temporary files, so it erases all. That must be the decision of the admin, not of the system, ie, the packagers.
No. *People* can, and should, put their own temporary data elsewhere.
People *can* put their data elsewhere but they should *not*, or so, is what my admin tells me :) And neither posix nor FHS suggest otherwise.
As you correctly observe the system cannot keep track of all system, service & daemon generated temporary files, so it *must* periodically remove _all_ of the data within to ensure the system stays usable. For this reason alone system temporary directories are an entirely unsuitable location for either users or admins to manually place *anything*.
While `the system' (I assume file system here) doesn't keep track of *why* I put my files there, it certainly keeps track of who did it as per file states, stat(1).
Why would any daemon not running in my name produce files in $TMPDIR and friends that belong to me? And any daemon that does run in my name and offloads stuff in $TMPDIR is not the business of some system magic.
If dcop fails to clean up after itself (or take any program for that matter) fix that, and don't try to fix the user/admin.
Losing data from a system tmp dir is 100% the fault of the user/admin that placed it there.
Nope.
Sebstian
This thread has been going on too long. When I was eight or so, I remember my stepdad teaching me some coumputer things. He used DOS, and had access to some sort of *nix via a terminal emulator. One of the first things he told me was "never never put things in a temp area unless you are ready for them to get lost. Temp stands for temporary." -- Roger Luedecke openSUSE Ambassador Ind. Repairs and Consulting **Looking for a C++ etc. mentor*** -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org