[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Issue 2489: Removing direct dependency to DBUS

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: Fri, 19 Sep 2008 12:07:24 +0200

2008-09-18 13:11:26 Alexander Thomas napisał(a):
>
> On Wed, 2008-09-17 at 20:34 +0200, Arfrever Frehtes Taifersar Arahesis wrote:
> > 2008-09-17 09:29:10 Senthil Kumaran S napisał(a):
> > > Alexander Thomas wrote:
> > > > [[[
> > > > Remove direct dependency to D-Bus library in GNOME Keyring.
> > > >
> ...
> > > > ]]]
> > >
> > > Committed in r33118.
> >
> > This patch is wrong.
> > See r31269.
> >
> > The following warning is now shown when Subversion is run outside X session:
> > ** (process:NUMBER): WARNING **: couldn't connect to dbus session bus: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.
> >
>
> Its seems like r31269 was introduced to suppress this warning.?

Yes.

> Another important fact is that for just one function we introducing
> a new dependency.

It doesn't matter, because D-Bus is an unconditional dependency of GNOME
Keyring.

> AFAIK This warning can be suppressed by setting the
> DBUS_SESSION_BUS_ADDRESS env variable or by setting the
> GNOME_KEYRING_SOCKET evn variable.

We cannot expect that users will know these variables (especially what values
should be set).

This warning is shown even for users which don't have access to X session.
(I tested by using Subversion in tty1, while X session was owned by another
user.)

> By the way, when Subversion is ran outside X session and if the keyring
> is locked, what is really happening ?

After the aforementioned warning, Subversion asks if to store password in
plaintext form.

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2008-09-19 12:14:24 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.