Mailinglist Archive: opensuse-factory (715 mails)

< Previous Next >
Re: [opensuse-factory] to tmp-on-tmpfs or not tmp-on-tmpfs
On Thu, Mar 29, 2012 at 10:21 AM, Cristian Rodríguez
<crrodriguez@xxxxxxxxxxxx> wrote:
El 28/03/12 16:10, Jos Poortvliet escribió:
 But for now -

let's keep /tmp on disk for at least one more release...



Well, I disagree :-) what you are essentially proposing is not adopting this
scheme due to the existent of corner cases and buggy software, not good
enough  for me.

This is what I believe must be done:

- For system daemons, turn on PrivateTmp in systemd .services when
applicable (list of packages -->
https://bugzilla.redhat.com/show_bug.cgi?id=782466)
This ensures that temp files are only available to the daemon process and if
it crashes or misbehaves files will be deleted on spot.

If a process crashes I'm probably going to *want* those files as they
are pertinent to the state of the software at the time of crash.

- For users, implement what Lnussel and fcrozat suggested, a separate tmp
per user in /run/<user>/ tmpfs.
Otherwise temporary file creation bugs will keep biting us forever.

I like this. I already use a tmpdir located in /home/<me>/tmp, managed
by way of TMPDIR.



--
Jon
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups