[packagekit] PackageKit + GNOME Network Proxy feature request

Dave Carlson thecubic at thecubic.net
Mon Jun 21 12:29:49 PDT 2010


After plugging in a printer and it not working, I filed this bug through 
Fedora:

https://bugzilla.redhat.com/show_bug.cgi?id=604317

Long story short I had to wrestle packagekitd as I'm behind a corporate 
proxy.  I wrote a PAC file a long time ago to fine-tune my proxy 
configuration (I'm a software engineer) and set GNOME Network Proxy to 
use that.

I tried forcing environment variables (http_proxy, 
LD_PRELOAD=libtsocks.so) on it but as packagekitd calls clearenv() that 
was a useless avenue also.  I got it to work from a high level by 
ditching the PAC and setting GNOME to manual proxy configuration.

Thinking I had no proxy, a SetProxy(null,null) was sent to packagekitd 
and wiped out any hope of proxy actually working.  Could packagekitd be 
adapted to (1) force a proxy from the conf file, and/or (2) not set 
proxy unless GNOME has a manual setting, and/or (3) be adapted someday 
to include socks/PAC support? (thinking a gjs+pacparser for PACs, the 
socks support can be wrapper-based)

Thanks,

-Dave

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20100621/aa42e10e/attachment-0003.htm>


More information about the PackageKit mailing list