On 03/28/2012 01:04 PM, Frederic Crozat wrote:
Le mercredi 28 mars 2012 à 12:48 +0200, Takashi Iwai a écrit :
At Wed, 28 Mar 2012 11:54:53 +0200, Frederic Crozat wrote:
Le mardi 27 mars 2012 à 20:27 -0300, Claudio Freire a écrit :
In low memory devices, with /tmp as tmpfs, think 1G, brasero, k3b and a few other programs, in their default configuration, would thrash. Those are blatantly wrong cases. But there are numerous gray cases. Python's tempfile module creates, by default, files in /tmp. I would bet tons of python apps, thus, misuse /tmp.
We should fix those "known" programs to use /var/tmp instead of /tmp anyway.
Notorious acroread and flashplayer are such "known" programs, too. IIRC, flashplayer may store a temporary FLV file in /tmp, which can be unlimitedly big.
Do they hardcode /tmp or use TMPDIR ? That would be interesting to know.
Running strings on /usr/lib64/browser-plugins/libflashplayer.so I found no match for TMPDIR but these: /tmp/putH /tmp/FlaH /tmp/FlaH /tmp/crl A readelf -s shows that the library uses mkstemp - where the developers needs to supply a path.
Honestly, someone needs to test carefully (e.g. on a machine with small RAM) before moving toward this direction as default. Only facts and proofs can shut up bike-shed talks.
Agreed.
I propose to collect the options and questions we have at one place in the wiki, Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org