Gentoo Archives: gentoo-user

From: Jeffrey Rollin <jeff.rollin@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Symlinking /usr/portage/distfiles
Date: Sat, 27 Jan 2007 19:10:50
Message-Id: 200701271905.20869.jeffrey.rollin@gmail.com
In Reply to: Re: [gentoo-user] Symlinking /usr/portage/distfiles by "Jürgen Geuter"
1 On Saturday 27 January 2007 18:14, Jürgen Geuter wrote:
2 > On Sat, 2007-01-27 at 18:40 +0200, Vlad Dogaru wrote:
3 >
4 > > One question though: is there a reason why PORTAGE_TMPDIR does not
5 > > default to /tmp?
6 >
7 >
8 >Many people have an extra partition
9 > for /tmp that is mounted noexec to give people less opportunity to mess
10 > around with the system (for example build weird binaries for local root
11 > exploits).
12 >
13 > Apart from that it's often useful to have all ebuild-related stuff in
14 > one place
15
16 I would add that since /tmp is often cleaned on boot-up, /var/tmp is
17 considered a "less temporary" place than /tmp. For example, if you hose
18 your /opt/foo directory, then assuming you have an appropriate version
19 of /foo in /var/tmp/portage, when you re-emerge "foo" it will skip steps that
20 don't need to be done again (because they have already been completed and
21 left results in /var/tmp/portage).
22
23 Jeff Rollin
24
25 --
26 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Symlinking /usr/portage/distfiles Vlad Dogaru <ddvlad@×××××.com>
Re: [gentoo-user] Symlinking /usr/portage/distfiles Neil Bothwick <neil@××××××××××.uk>