Shawn Walker wrote:
On Jun 18, 2009, at 1:30 PM, johan...@sun.com wrote:
On Thu, Jun 18, 2009 at 01:26:19PM -0500, Shawn Walker wrote:
On Jun 18, 2009, at 1:24 PM, johan...@sun.com wrote:
Packagemanager will need to work correctly in the face of all of these
configuration choices. I don't think the GNOME configuration should
overrride the environment or the pkg(5) proxy choices. If neither are
configured, I don't have a problem with consulting the GNOME config,
but
that should be dynamic, i.e. it changes with changes to the settings.
From what I recall, they are unfortunately constrained by the fact that
since the packagemanager is running as "root", due to GNOME behaviour,
they don't have on-demand access to the user's proxy settings.
Hence why
they have to get them before executing the pakagemanager through a
script.
Would you clarify what you mean here? I understand that the user's
environment may not available if we're logged in as root, but I assumed
that the client was able to subscribe to updates from gconf? Is this
not the case?
That is my understanding, but perhaps they'll be able to share the
details.
Shawn you are correct. We cannot get the user's gconf proxy settings
when running a program as root via gksu. The only thing to do is grab
the user settings in a script and then launch the app with the
appropriate environment setup. This is the case when running the apps
from the menu. If you run the apps from the Gnome Terminal it sets up
the shell environment correctly for the app.
JR
_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss