Gentoo Archives: gentoo-portage-dev

From: Simon Stelling <blubb@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] --config-root command-line option
Date: Thu, 16 Nov 2006 15:35:12
Message-Id: 455C84F6.5040101@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] --config-root command-line option by Daniel Barkalow
1 Daniel Barkalow wrote:
2 > Allow PORTAGE_CONFIGROOT to be set as a command-line option. It can be
3 > annoying to get environment variables to emerge, particularly when you
4 > need sudo and you only want the environment variable some of the time.
5
6 I think it would be better to solve the problem with sudo at its root:
7
8 /etc/sudoers has the following:
9
10 # Reset environment by default
11 Defaults env_reset
12
13 Commenting that out reverts this annoying behaviour and "fixes" all
14 kinds of "bugs".
15
16 --
17 Kind Regards,
18
19 Simon Stelling
20 Gentoo/AMD64 Developer
21 --
22 gentoo-portage-dev@g.o mailing list

Replies