Daniel J Walsh wrote: ...
I have been running with a tmpfs /tmp for years, without a problem. I have found the having /tmp be anything else that a tmpfs has caused me pain over the years with mislabeled files or files with the wrong UID.
Change to use a confined user or change the UID of a user suddenly X will not allow you to login, reboot does not fix the problem.
With tmpfs I get a nice clean /tmp on every boot.
I too have been pointing TMPDIR at a tmpfs directory (per-shell-distinct, even). The per-shell-distinct bit has exposed a few problems, where tools have expected $TMPDIR in one shell to be the same as $TMPDIR in another one, but nothing insurmountable.