Hi dear developers,
 
I found PackageKit zypp backend can't work with proxy. In fact, libzypp can’t read GConf system proxy settings, so I have wrote a patch to read GConf proxy setting using GConf API, but I found GConf API can’t got the correct proxy setting in libzypp, with some investigation, I found the DBUS_SESSION_BUS_ADDRESS is not set while entering libzypp from PackageKit or zypper, so GConf API(gconf_client_get_default, gconf_client_get,etc.) can’t works.
 
I don’t know why GConf API can’t works when libzypp is called by PackageKit or zypper, and why DBUS_SESSION_BUS_ADDRESS is not set.
 
 
I also have tried to use libproxy API to got proxy info in libzypp, but still failed, because libproxy also use GConf API and GConf API can’t works in libzypp.
 
Attached is my patch for reading GConf proxy info.
 
What should I do here to let GConf API works in libzypp?
 
 
-Thanks in advanced
-Qiang