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 |