Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2012 15:18:48 +0200 (CEST)
From:      sthaug@nethelp.no
To:        matt.thyer@gmail.com
Cc:        ohartman@mail.zedat.fu-berlin.de, eric@vangyzen.net, freebsd-current@freebsd.org
Subject:   Re: Using TMPFS for /tmp and /var/run?
Message-ID:  <20120330.151848.41706133.sthaug@nethelp.no>
In-Reply-To: <CACM2%2B-7Ahn6J=CTASe0g48%2BSD2vvLVd_hG3DRZmvO31QszG5Xw@mail.gmail.com>
References:  <4F746F1E.6090702@mail.zedat.fu-berlin.de> <4F74BCE8.2030802@vangyzen.net> <CACM2%2B-7Ahn6J=CTASe0g48%2BSD2vvLVd_hG3DRZmvO31QszG5Xw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > However, if you always want to use tmpfs instead of stable storage,
> please do not.  Some people expect /tmp to be persistent.  This is why
> /etc/defaults/rc.conf has clear_tmp_enable="NO".  Changing this would break
> the POLA.
> >
> This is a mistake.
> 
> The default should be clear_tmp_enable="YES"
> if only to uncover those broken configurations that expect /tmp to be
> persistent.

If you want to break POLA and make a lot of people angry, sure.
Otherwise no.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120330.151848.41706133.sthaug>