On 03/02/2015 01:11 AM, Aaron Digulla wrote:
Am Sonntag, 01. März 2015 06:19 CET, John Andersen <jsamyth@gmail.com> schrieb:
On 02/28/2015 03:48 PM, Peter wrote:
I realise it is SuSE policy to not clean these directories,
That policy really has to go. Seriously, how could you expect a server to operate unattended with that kind of policy in place? This default policy is just ludicrous.
I don't think openSUSE is meant to be used on servers. There is an enterprise edition for that.
If you still want to use openSUSE on a server, then I suggest you start using things like Puppet or Chef to harden the system which is geared more towards everyday use.
What is this "Meant to" of which you speak? Its a linux distribution. It has an install option for no graphic desktop. When I say Server that doesn't necessarily mean Fortune 500 company. That said, those machines used as servers don't tend to accumulate much in /tmp But even a workstation used every day will build /tmp detritus, and one day come crashing down on you, likely compromising something. Because you "think" you have allocated enough disk, is no excuse to save useless garbage forever. You will never need it again, why save it. One reason I run Opensuse is because it installs very securely by default. Every red-hat machine I've ever installed required me to run around and close a mountain of loop-holes in the default setup before I ever plugged in the cat-5 cable.
I've put most of my /tmp file duration at 2 days. I've found there is just nothing that I will use after 2 days.
I have 60GB of /tmp and I don't care how long the files lie in there. How is my argument more or less worth than your's?
Well you may start caring, especially if you burn dvds do other large things which will fill up your 60 gig in short order because not every program cleans up after itself, because, well, its called "/tmp" for a reason. The fact that /tmp grows is proof that a lot of software still abandons files there. Its full of files that have last access dates many months old which will never again be used. Its your machine, and you are free to do with it as you like, but to me spinning useless storage is a waste of resources. Opensuse deviated from the long established standard here. Extraordinary policies require extraordinary reasons. Not just "buy a bigger disk".
A small script (which you could share) should be enough to configure a standard openSUSE system to retain files for only N days. Then everyone can decide whether they want to run it or not.
Had you been following the thread, you would have noticed that I already posted that upthread. It works perfectly, and its driven by the system normal cron jobs, without any manual scheduling or error prone custom script writing. -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org