[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving /tmp to tmpfs makes it useless

On Fri, May 25, 2012 at 03:57:28AM +0300, Serge wrote:
> > Every file that exists in /tmp on the system from which I'm writing this
> > exists there not because the application is saving memory but because the
> > application needs to share that file with other applications.  That
> > includes a bunch of Kerberos ticket caches, several X server IPC
> > rendezvous points, gnupg-agent and ssh-agent data, and a bunch of UNIX
> > domain sockets for ORBit.

> I agree, not everybody read FHS, some software may have bugs.

> According to FHS these should go to /var/run (or /run, if you like).
> I mean, if you want to fix this, you should move those files to /run,
> you should not turn /tmp into /run because of them.

Absolutely not.  /run is a root-only directory, suitable only for
system-wide data/sockets.  It absolutely must not be used for non-root data.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature

Reply to: