[packagekit] [PATCH] set packagekitd proxy environment variables

Michael Meeks michael.meeks at novell.com
Mon Sep 13 08:09:02 PDT 2010


On Mon, 2010-09-13 at 13:59 +0100, Richard Hughes wrote:
> No, this patch is *wrong* -- do not push it.

	Wow - you're right - I incorrectly assumed it was in the pk-zypper
backend urk ! :-(

> This patch sets the system proxy environment when the transaction is
> scheduled. If the next transaction is not from the user that just
> scheduled the transaction then the wrong proxy gets used.

	Sure. I wonder if making backend_setup_network a backend method (cf.
pk-backed-yum) and calling it in the core before each of the relevant
methods might work ? though I guess that method is called inside many of
the thread worker functions so perhaps not. Anyhow,

	Sorry pardon,

		Michael.

-- 
 michael.meeks at novell.com  <><, Pseudo Engineer, itinerant idiot





More information about the PackageKit mailing list