On Sun, 2 May 2010, Guido Berhoerster wrote:
* Andreas Jaeger
[2010-05-02 19:16]: Looking at the failures, I wrote up the following and will post it as blog post later - anything wrong or missing on this?
Feature #303793 (https://features.opensuse.org/303793) proposes to mount /var/run as tmpfs.
The description says:
"This would avoid the cleaning of stale files or
This also applies to /tmp, why not make it tmpfs, too? That would (partially) address https://features.opensuse.org/307510. The only prerequisite would be to ensure a big enough swap in the installer and mounting with -o size accordingly so that hibernating is still possible.
I can only urge you to keep away from tmpfs for /tmp, at least at the moment (X11, other not easy to fix programs). What i can recoment is using /dev/shm for most uses. Esp if login/profile scripts are modified to create a 'private' temp dir, like /dev/shm/$USER and propagate via export TMP=/dev/shm/$USER TEMP=$TMP TMPDIR=$TMP TEMPDIR=$TMP; mkdir -m 700 -p /dev/shm/$USER This works NOW without big changes, and could easily implemeted for 11.3 For 11.4 / 12.0 the work would be to reduce the amount of programs/scripts that are hard coded for /tmp. Do NOT make work where it's not needed. most of /tmp use is hardcoded upstream, and thus not likely to change in less than 3 month. Even better would be getting the other (bigger) distros onboard for this change, this would be a great speedup for this (- that is reducing hardcoded /tmp use) Sorry if this seems harsh, but please see the reality, - most upsteam maintainace is done privatly in peoples free time. A wide public recommendation to use TMP/TEMP/TMPDIR/TEMPDIR instead of blindly using /tmp should be given ahead of the change, maybe asking Linus Torwalds for referral on this? Thanks for listening, Michael PS: I'll say it again: this is NO attack on Guido Berhoerster, just a urging on precauction, with background on the why. You try to get a patch into Xorg as a nobody and you'll know why. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org