From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D861F1382C5 for ; Sat, 10 Feb 2018 19:07:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF47FE0AA0; Sat, 10 Feb 2018 19:07:24 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65F4BE0A83 for ; Sat, 10 Feb 2018 19:07:24 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ekaSN-0002Y3-V5 for gentoo-user@lists.gentoo.org; Sat, 10 Feb 2018 20:05:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Kai Krakow Subject: [gentoo-user] Re: /var/tmp on tmpfs Date: Sat, 10 Feb 2018 20:06:47 +0100 Message-ID: <7fs3le-2ni.ln1@hurikhan77.spdns.de> References: <63b383d1-e75d-097a-593a-6b955b482676@youngman.org.uk> <20180209081129.685e8b1a@digimed.co.uk> <253051741.PjgAUXto2j@peak> <20180209105835.6a52f544@digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Pan/0.142 (He slipped to Sam a double gin; 01b5bf4 git.gnome.org/pan2) X-Archives-Salt: 9f9fc616-ffa3-4e0f-a788-4df273f182fe X-Archives-Hash: 219629093169700c6d60ac9480a9aaf5 Am Fri, 09 Feb 2018 10:58:35 +0000 schrieb Neil Bothwick: > On Fri, 09 Feb 2018 10:12:01 +0000, Peter Humphrey wrote: > >> > Why mess around with another tmpfs? Just set PORTAGE_TMPDIR="/tmp" in >> > make.conf. Job done! >> >> Acting on the advice of various Gentoo guides, I have this: >> >> # grep tmp /etc/fstab tmpfs /var/tmp/portage tmpfs >> noatime,uid=portage,gid=portage,mode=0775 0 0 tmpfs /tmp >> tmpfs noatime,nosuid,nodev,noexec,mode=1777 0 0 >> >> Are you saying I don't gain anything from it? > > I can't see any benefit from the added complexity. If you want portage > to use a tmpfs for its temporary directory, why not use one that is > already there? The point here is having /tmp as noexec. That's not exactly what I'd call added complexity. -- Regards, Kai Replies to list-only preferred.