Bug 133060 - x11-apps/xinit: KDE not handling hal-events if user logs in too fast
Bug#: 133060 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P4
Resolution: FIXED Assigned To: x11@gentoo.org Reported By: dev-zero@gentoo.org
Component: Applications
URL: 
Summary: x11-apps/xinit: KDE not handling hal-events if user logs in too fast
Keywords:  
Status Whiteboard: 
Opened: 2006-05-11 14:23 0000
Description:   Opened: 2006-05-11 14:23 0000
In recent xinit (x11-apps/xinit-1.0.2-r3), the dependencies have changed to
make xdm start up sooner. 
The problem is now that if the user logs in (using KDE) before hal is started,
KDE will not handle device-events at all.

------- Comment #1 From Donnie Berkholz 2006-05-11 16:58:57 0000 -------
Fixed by adding hald to the 'use' line in the init script. Thanks!

------- Comment #2 From David Li 2006-05-13 09:07:16 0000 -------
This still doesn't work. Hald needs dbus. Dbus needs nscd/dns. These have to
wait until the network is initialized.

Currently when hald tries to start, it fails. I think having hald failing to
start and not comming up at all is worse than having it load late.

------- Comment #3 From Donnie Berkholz 2006-05-13 13:05:56 0000 -------
(In reply to comment #2)
> This still doesn't work. Hald needs dbus. Dbus needs nscd/dns. These have to
> wait until the network is initialized.
> 
> Currently when hald tries to start, it fails. I think having hald failing to
> start and not comming up at all is worse than having it load late.

If the hald/dbus init script's dependencies aren't correct or aren't being
started correctly, that ought to be either a problem of hal/dbus or baselayout,
not xinit. After a quick glance I see that hald has a 'need dbus', correctly,
but dbus has no deps on anything. Perhaps you should file a new bug for that.