Mailinglist Archive: opensuse-factory (422 mails)
| < Previous | Next > |
Re: [opensuse-factory] global proxy configuration
- From: Dave Plater <dave.plater@xxxxxxxxxxx>
- Date: Wed, 21 Jan 2009 17:40:31 +0200
- Message-id: <497741EF.2090603@xxxxxxxxxxx>
Rob OpenSuSE wrote:
Regards
Dave P
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
2009/1/21 z <zoomer.gm@xxxxxxxxx>:If I do that in bash.bashrc.local then maybe it might work?
OK, i don't aknowledged with curl\libcurl (which libzypp uses?)
Is there a way to force all curl calls from libzypp to use only
~/.curlrc settings? (which yast can control)
That's what I think will happen if http_proxy etc are always
nullified, when yast uses libzyp & libcurl.
forked children meant future ones forked after the change.
2009/1/21 Rob OpenSuSE <rob.opensuse.linux@xxxxxxxxxxxxxx>:
Regards
Dave P
2009/1/21 Dave Plater <dave.plater@xxxxxxxxxxx>:
Does this mean it is possible to disable proxy use by libzypp withoutenviron(7) explains editing the environment of current process, which
relogin?
affects forked children. But that does not affect parent processes,
it's a local not global change. So in general no.
For curl usage by YaST, always nullify http_proxy and only use
~root/.curlrc, or manage it's own setting somewhere to overwrite the
_proxy variables, might be a solution.
From curl(1)
-x/--proxy <proxyhost[:port]>
Use specified HTTP proxy. If the port number is not specified, it is
assumed at port 1080.
This option overrides existing environment variables that sets proxy
to use. If there's an environment variable setting a proxy, you can
set proxy to "" to override it.
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |