[packagekit] Getting and setting the proxy server

Richard Hughes hughsient at gmail.com
Tue May 20 07:20:43 PDT 2008


On Tue, 2008-05-20 at 16:08 +0200, Klaus Kaempf wrote:
> CURL uses various shell environment variables (http_proxy, FTP_PROXY,
> ...), see 'man curl'.
> 
> SUSE stores proxy-related settings in /etc/sysconfig/proxy
> 
> I guess its up to the backend to handle distribution-specific
> settings.

No, I don't think so. I think it's a sane fallback, but users shouldn't
have to futz around in two places. I think packagekitd should
read /etc/sysconfig/proxy et al. and use these in envp for the new
process. This way we can change the proxy in the session and also have
packagekit do the right thing.

Could you attach a sample /etc/sysconfig/proxy for me to peruse please?
Thanks.

Richard.





More information about the PackageKit mailing list