From owner-freebsd-current@FreeBSD.ORG Fri Mar 30 17:31:51 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 34F5C106566B for ; Fri, 30 Mar 2012 17:31:51 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id EA8668FC19 for ; Fri, 30 Mar 2012 17:31:50 +0000 (UTC) Received: by iahk25 with SMTP id k25so1688224iah.13 for ; Fri, 30 Mar 2012 10:31:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:x-gm-message-state:content-type :content-transfer-encoding; bh=bGXUcYuwDU31dtEoqSiRzP1/F2qKkGR0LJqjJx/42tc=; b=TG02sCQXy1utrUDu2Y6J8bC7N27MaLwwWlnwzLru1nUojGeBI0AYlxGv2HuShqEPOh pjjhiENMWKSM9ZRYv9i08fDid+kA8+McKglOZleB+XBIuw5L5pNCG1fFo7k6TWUbftwM 0ycexV0IC6d/udxSTpF4Pi4iM3d0Y91lGD62BFWQkh6WWIQCCyNDNouJCI9qQMJRbWKl HjocF7kVWpSothwuFPVZHIKTXBACVNaXvUfESyGcWRrvrq+B2PYEONYs6zp4Gyeavsxt Tw6OOXMiXpuHbpDaRmEBs3Xs4arT1iqzu2eSROyI7EcqDbDv+65rvosXXU+VE7Udh/k0 ZzRw== MIME-Version: 1.0 Received: by 10.50.160.225 with SMTP id xn1mr68453igb.3.1333128710170; Fri, 30 Mar 2012 10:31:50 -0700 (PDT) Received: by 10.231.80.77 with HTTP; Fri, 30 Mar 2012 10:31:50 -0700 (PDT) X-Originating-IP: [93.221.177.1] In-Reply-To: <20120330.151848.41706133.sthaug@nethelp.no> References: <4F746F1E.6090702@mail.zedat.fu-berlin.de> <4F74BCE8.2030802@vangyzen.net> <20120330.151848.41706133.sthaug@nethelp.no> Date: Fri, 30 Mar 2012 19:31:50 +0200 Message-ID: From: "C. P. Ghost" To: sthaug@nethelp.no X-Gm-Message-State: ALoCoQnG1G3l43NtW26+p9kzD/c2uAsizczbAmkKjS5MAMiadi2mS1pVZUpyZm2jElm8WKBt4g/j Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: Using TMPFS for /tmp and /var/run? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2012 17:31:51 -0000 On Fri, Mar 30, 2012 at 3:18 PM, wrote: >> > However, if you always want to use tmpfs instead of stable storage, >> please do not. =A0Some people expect /tmp to be persistent. =A0This is w= hy >> /etc/defaults/rc.conf has clear_tmp_enable=3D"NO". =A0Changing this woul= d break >> the POLA. >> > >> This is a mistake. >> >> The default should be clear_tmp_enable=3D"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. I couldn't agree more. Not clearing /tmp on reboot has been the norm for way too long and it is too late to change now. It's not just POLA, it also involves deleting data of unaware users, and that should be avoided. Anyone willing to change policy w.r.t. /tmp can do so on their own machines. Nothing is preventing them from doing so. But by changing defaults, one should err on the side of caution and remain conservative, IMHO. -cpghost. --=20 Cordula's Web. http://www.cordula.ws/