Mailinglist Archive: zypp-devel (38 mails)

< Previous Next >
Re: [zypp-devel] Make PackageKit zypp backend work using proxy
  • From: Michael Matz <matz@xxxxxxx>
  • Date: Wed, 7 Apr 2010 17:48:11 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.1004071742480.18785@xxxxxxxxxxxxx>
Hi,

On Wed, 7 Apr 2010, Dominique Leuenberger wrote:

I don't know what libzypp should change to prevent GConf from working.
AFAIK it does not delete or undefine any environment variable.

Most likely the issue is the 'user' libzypp is running as. It's probably
in root's context and root does not have any gconf keys set (unless 'it'
ever logged in and configured the gnome proxies).

libzypp using gconf api and also libproxy will always query the 'current
users' gnome settings. For PK this would probably result in a 'helper'
app in the user workspace that can forward the settings using a dbus
call or the like...

Helper app? WTF? sorry ;-)

I think it's reasonable to expect that either the user configures proxy
settings also for root, if he needs to use proxies for whatever reason.
Or alternatively that libproxy (or libzypp itself) setuid's to $LOGNAME
for querying the proxy info.


Ciao,
Michael.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
List Navigation