2008-02-18 10:56:21

by Romano Giannetti

[permalink] [raw]
Subject: 2.6.25-rc1/2 regression: first-time login into gnome fails


Hi,

I have a very strange, but fully reproducible, regression with
2.6.25-rc1 -rc2. I have an ubuntu 7.10 fully updated.

The first time after boot, when I login to gnome (through gdm)
the login half-fails with a Setting Daemon error: failed to connect to
socket /tmp/dbus-<some random stuff>: connection refused. Nothing in the
logs, and there is no such socket in /tmp.

If I log out and then log in again, all works ok.

With 2.6.24.2 there is no such a problem.

.config, dmesg (2M buffer size) and syslog here:

http://www.dea.icai.upcomillas.es/romano/linux/info/


Romano


(Back to 2.6.24.2, because ndiswrapper broke again, and ath5k doesn't
like (yet) my atheros adapter...)


--
Sorry for the disclaimer --- ?I cannot stop it!



--
La presente comunicaci?n tiene car?cter confidencial y es para el exclusivo uso del destinatario indicado en la misma. Si Ud. no es el destinatario indicado, le informamos que cualquier forma de distribuci?n, reproducci?n o uso de esta comunicaci?n y/o de la informaci?n contenida en la misma est?n estrictamente prohibidos por la ley. Si Ud. ha recibido esta comunicaci?n por error, por favor, notif?quelo inmediatamente al remitente contestando a este mensaje y proceda a continuaci?n a destruirlo. Gracias por su colaboraci?n.

This communication contains confidential information. It is for the exclusive use of the intended addressee. If you are not the intended addressee, please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited by law. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy this message. Thank you for your cooperation.


2008-02-18 16:15:19

by Ray Lee

[permalink] [raw]
Subject: Re: 2.6.25-rc1/2 regression: first-time login into gnome fails

On Feb 18, 2008 2:56 AM, Romano Giannetti <[email protected]> wrote:
>
> Hi,
>
> I have a very strange, but fully reproducible, regression with
> 2.6.25-rc1 -rc2. I have an ubuntu 7.10 fully updated.
>
> The first time after boot, when I login to gnome (through gdm)
> the login half-fails with a Setting Daemon error: failed to connect to
> socket /tmp/dbus-<some random stuff>: connection refused. Nothing in the
> logs, and there is no such socket in /tmp.
>
> If I log out and then log in again, all works ok.
>
> With 2.6.24.2 there is no such a problem.
>
> .config, dmesg (2M buffer size) and syslog here:
>
> http://www.dea.icai.upcomillas.es/romano/linux/info/
>
>
> Romano
>
>
> (Back to 2.6.24.2, because ndiswrapper broke again, and ath5k doesn't
> like (yet) my atheros adapter...)

It may be a race. Please try booting up, then waiting for a minute or
two once you see the gdm login screen, then try logging in.

If that succeeds then something (dbus perhaps) is hanging on something
that eventually times out.

Ray

2008-03-17 12:07:01

by Christoph Hellwig

[permalink] [raw]
Subject: Re: 2.6.25-rc1/2 regression: first-time login into gnome fails

On Mon, Feb 18, 2008 at 08:15:01AM -0800, Ray Lee wrote:
> It may be a race. Please try booting up, then waiting for a minute or
> two once you see the gdm login screen, then try logging in.
>
> If that succeeds then something (dbus perhaps) is hanging on something
> that eventually times out.

Just upgraded my laptop to 2.6.25-rc6 and I see the same. A little
instrumentation shows that there is no socket to connect to aka the
server side process (whatever that is) didn't start.

2008-03-17 15:47:43

by Ray Lee

[permalink] [raw]
Subject: Re: 2.6.25-rc1/2 regression: first-time login into gnome fails

On Mon, Mar 17, 2008 at 5:06 AM, Christoph Hellwig <[email protected]> wrote:
> On Mon, Feb 18, 2008 at 08:15:01AM -0800, Ray Lee wrote:
> > It may be a race. Please try booting up, then waiting for a minute or
> > two once you see the gdm login screen, then try logging in.
> >
> > If that succeeds then something (dbus perhaps) is hanging on something
> > that eventually times out.
>
> Just upgraded my laptop to 2.6.25-rc6 and I see the same. A little
> instrumentation shows that there is no socket to connect to aka the
> server side process (whatever that is) didn't start.

Hmm. Okay, mind if I ask some stupid questions?

I'm assuming you upgraded from 2.6.24, correct? (not .25-rcX).

Are you running either debian or ubuntu? If so, do you have the
dbus-x11 package installed? Alternately, does /usr/bin/dbus-launch
exist? If no, try installing dbus-x11 and try again. I think a
side-effect of installing is to start dbus earlier, and may perhaps
avoid the race (if it is a race that's causing all this, which I still
think it is).

References if you're bored:
http://bugzilla.gnome.org/show_bug.cgi?id=395488
http://www.mail-archive.com/[email protected]/msg139625.html

If the above doesn't help, is there anything interesting in ~/.xsession-errors?

2008-03-20 08:10:44

by Christoph Hellwig

[permalink] [raw]
Subject: Re: 2.6.25-rc1/2 regression: first-time login into gnome fails

On Mon, Mar 17, 2008 at 08:47:30AM -0700, Ray Lee wrote:
> I'm assuming you upgraded from 2.6.24, correct? (not .25-rcX).

Yes.

> Are you running either debian or ubuntu?

Yes.

> If so, do you have the
> dbus-x11 package installed? Alternately, does /usr/bin/dbus-launch
> exist? If no, try installing dbus-x11 and try again. I think a
> side-effect of installing is to start dbus earlier, and may perhaps
> avoid the race (if it is a race that's causing all this, which I still
> think it is).

Yes, installing dbus-x11 makes everything work properly, aka paper
over the underlying issue.