Rob OpenSuSE wrote:
2009/1/21 z <zoomer.gm@gmail.com>:
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@googlemail.com>:
If I do that in bash.bashrc.local then maybe it might work? Regards Dave P
2009/1/21 Dave Plater <dave.plater@yahoo.co.uk>:
Does this mean it is possible to disable proxy use by libzypp without relogin?
environ(7) explains editing the environment of current process, which 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@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org