Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@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 17:41:20
Message-Id: 455CA0D1.50301@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] --config-root command-line option by Simon Stelling
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Simon Stelling wrote:
5 > Daniel Barkalow wrote:
6 >> Allow PORTAGE_CONFIGROOT to be set as a command-line option. It can be
7 >> annoying to get environment variables to emerge, particularly when you
8 >> need sudo and you only want the environment variable some of the time.
9 >
10 > I think it would be better to solve the problem with sudo at its root:
11 >
12 > /etc/sudoers has the following:
13 >
14 > # Reset environment by default
15 > Defaults env_reset
16 >
17 > Commenting that out reverts this annoying behaviour and "fixes" all
18 > kinds of "bugs".
19 >
20
21 Sure, that's one way to solve that particular problem. However, I feel
22 that command line options are more aesthetically appealing than environment
23 variables (maybe it's just me).
24
25 Zac
26 -----BEGIN PGP SIGNATURE-----
27 Version: GnuPG v1.4.5 (GNU/Linux)
28
29 iD8DBQFFXKDQ/ejvha5XGaMRApmwAKCLKtAUJNWOrfrtws++KGiw0ip16ACg3n8x
30 u0eJkhZkbldVPjYGiQlqaKY=
31 =ELM+
32 -----END PGP SIGNATURE-----
33 --
34 gentoo-portage-dev@g.o mailing list

Replies