"Failed to intialize HAL" error message after gdm login. possibly because of wrong gdm priority in /etc/rc*/
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Hardy |
Fix Released
|
High
|
Martin Pitt | ||
Intrepid |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Binary package hint: gdm
After upgrades from Feisty to Gutsy and from Gutsy to Hardy I get an error message after logging in with gdm (2.20.5-0ubuntu3) saying "Failed to initialize HAL" but debugging HAL showed that it just comes up fine (see attachment). These are the symlinks to gdm and hal in /etc/rc*:
$ ls -l /etc/rc*/*hal
/etc/rc1.d/K16hal -> ../init.d/hal
/etc/rc2.d/S24hal -> ../init.d/hal
/etc/rc3.d/S24hal -> ../init.d/hal
/etc/rc4.d/S24hal -> ../init.d/hal
/etc/rc5.d/S24hal -> ../init.d/hal
$ ls -l /etc/rc*/*gdm*
/etc/rc0.d/K01gdm -> ../init.d/gdm
/etc/rc1.d/K01gdm -> ../init.d/gdm
/etc/rc2.d/S13gdm -> ../init.d/gdm
/etc/rc3.d/S13gdm -> ../init.d/gdm
/etc/rc4.d/S13gdm -> ../init.d/gdm
/etc/rc5.d/S13gdm -> ../init.d/gdm
/etc/rc6.d/K01gdm -> ../init.d/gdm
HAL is started after gdm and if I login to quickly HAL is not running yet. I was hinted to this by Martin Pitt (who thinks that this an Feisty upgrade issue) in another bug report:
https:/
TEST CASE:
Move /etc/rc2.d/S30gdm to S13gdm to simulate a broken upgrade. Then upgrade to the hardy-proposed version. The symlinks should be fixed to be at level 30 (after hal starts).
Related branches
Changed in gdm: | |
status: | New → Confirmed |
Changed in gdm: | |
assignee: | nobody → pitti |
importance: | Undecided → High |
status: | Confirmed → In Progress |
assignee: | nobody → pitti |
importance: | Undecided → High |
milestone: | none → ubuntu-8.04.1 |
status: | New → In Progress |
Changed in gdm: | |
milestone: | none → ubuntu-8.04.1 |
I can confirm this issue. This should be fixed in the postinst script in the same way Martin Pitt fixed a similar issue in the hal package (cf. https:/ /bugs.launchpad .net/ubuntu/ +source/ dbus/+bug/ 25931/)
Thanks,
Dan