Gentoo Archives: gentoo-user

From: Kai Krakow <hurikhan77@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: /var/tmp on tmpfs
Date: Sat, 10 Feb 2018 19:07:30
Message-Id: 7fs3le-2ni.ln1@hurikhan77.spdns.de
In Reply to: Re: [gentoo-user] /var/tmp on tmpfs by Neil Bothwick
1 Am Fri, 09 Feb 2018 10:58:35 +0000 schrieb Neil Bothwick:
2
3 > On Fri, 09 Feb 2018 10:12:01 +0000, Peter Humphrey wrote:
4 >
5 >> > Why mess around with another tmpfs? Just set PORTAGE_TMPDIR="/tmp" in
6 >> > make.conf. Job done!
7 >>
8 >> Acting on the advice of various Gentoo guides, I have this:
9 >>
10 >> # grep tmp /etc/fstab tmpfs /var/tmp/portage tmpfs
11 >> noatime,uid=portage,gid=portage,mode=0775 0 0 tmpfs /tmp
12 >> tmpfs noatime,nosuid,nodev,noexec,mode=1777 0 0
13 >>
14 >> Are you saying I don't gain anything from it?
15 >
16 > I can't see any benefit from the added complexity. If you want portage
17 > to use a tmpfs for its temporary directory, why not use one that is
18 > already there?
19
20 The point here is having /tmp as noexec. That's not exactly what I'd call
21 added complexity.
22
23
24 --
25 Regards,
26 Kai
27
28 Replies to list-only preferred.