gdm startup is not moved from 21 to 30 on upgrade

Bug #264256 reported by Stephan Trebels
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Since some time between Alpha3 and Alpha4 X is unable to load evdev_drv at gdm startup time. The relevant error message is:

(EE) config/hal: couldn't initialise context: (null) ((null))

If gdm is later restarted, everything works fine, so this appears to be a race between hal / dbus startup and gdm / X startup.

Description: Ubuntu intrepid (development branch)
Release: 8.10

hal:
  Installed: 0.5.11-3~ubuntu7
  Candidate: 0.5.11-3~ubuntu7
  Version table:
 *** 0.5.11-3~ubuntu7 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

xserver-xorg-input-evdev:
  Installed: 1:2.0.3-2
  Candidate: 1:2.0.3-2
  Version table:
 *** 1:2.0.3-2 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

I am tempted to put a delay into the gdm startup to test whether this resolves the issue.

Revision history for this message
Stephan Trebels (ncubede) wrote :
Revision history for this message
Stephan Trebels (ncubede) wrote :
Revision history for this message
Stephan Trebels (ncubede) wrote :

One effect of this (timing) issue is, that any attempt to enter user/pass at the non-functional gdm login screen followed by a GDM restart will display user and password in the clear on vt7 while X moves to vt8. Without evdev present the input goes to the vt7 and when X no longer displays on this vt...

Revision history for this message
Stephan Trebels (ncubede) wrote :
Revision history for this message
Stephan Trebels (ncubede) wrote :

This actually appears to be a gdm upgrade issue where the update-rc.d is not run correctly to move gdm from 21 to 30. If I manually move gdm to 30 it works fine, otherwise hal starts AFTER gdm.

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report. what version did you have before the upgrade? the dpkg.log should have this information

Changed in gdm:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Stephan Trebels (ncubede) wrote :

I am afraid, I pretty closely follow the intrepid uploads, so there are quite a few upgrades.

2007-10-19 09:25:06 upgrade gdm 2.18.1-0ubuntu1 2.20.0-0ubuntu6
2007-10-19 14:56:30 status installed gdm 2.20.0-0ubuntu6
2007-11-19 22:44:23 upgrade gdm 2.20.0-0ubuntu6 2.20.1-0ubuntu1
2007-11-19 22:49:32 status installed gdm 2.20.1-0ubuntu1
2008-03-26 11:45:16 upgrade gdm 2.20.1-0ubuntu1 2.20.4-0ubuntu2
2008-03-26 13:17:20 status installed gdm 2.20.4-0ubuntu2
2008-04-07 08:50:43 upgrade gdm 2.20.4-0ubuntu2 2.20.4-0ubuntu3
2008-04-07 08:54:38 status installed gdm 2.20.4-0ubuntu3
2008-04-09 13:18:21 upgrade gdm 2.20.4-0ubuntu3 2.20.5-0ubuntu2
2008-04-09 13:28:29 status installed gdm 2.20.5-0ubuntu2
2008-04-22 08:45:29 upgrade gdm 2.20.5-0ubuntu2 2.20.5-0ubuntu3
2008-04-22 08:48:52 status installed gdm 2.20.5-0ubuntu3
2008-05-19 08:14:24 upgrade gdm 2.20.5-0ubuntu3 2.20.6-0ubuntu1
2008-05-19 08:15:23 status installed gdm 2.20.6-0ubuntu1
2008-05-27 07:39:59 upgrade gdm 2.20.6-0ubuntu1 2.20.6-0ubuntu2
2008-05-27 07:43:24 status installed gdm 2.20.6-0ubuntu2
2008-07-17 18:17:52 upgrade gdm 2.20.6-0ubuntu2 2.20.7-0ubuntu2
2008-07-17 18:55:06 status installed gdm 2.20.7-0ubuntu2
2008-07-29 21:05:07 upgrade gdm 2.20.7-0ubuntu2 2.20.7-0ubuntu3
2008-07-29 21:08:32 status installed gdm 2.20.7-0ubuntu3
2008-08-09 12:23:20 upgrade gdm 2.20.7-0ubuntu3 2.20.7-0ubuntu4
2008-08-09 12:24:34 status installed gdm 2.20.7-0ubuntu4
2008-09-03 12:26:13 upgrade gdm 2.20.7-0ubuntu4 2.20.7-0ubuntu5
2008-09-03 12:28:13 status installed gdm 2.20.7-0ubuntu5
2008-09-04 16:27:31 upgrade gdm 2.20.7-0ubuntu5 2.20.8-0ubuntu1
2008-09-04 17:22:58 status installed gdm 2.20.8-0ubuntu1
2008-10-09 07:01:21 upgrade gdm 2.20.8-0ubuntu1 2.20.8-0ubuntu2
2008-10-09 07:02:49 status installed gdm 2.20.8-0ubuntu2

Revision history for this message
Amael (amael) wrote :

Same problem for me with upgrade from Hardy to Intrepid RC1, I had this problem for several days now and you just gave me the solution, thanx !
Manually moving /etc/rc*.d/S20gdm to /etc/rc*.d/S30gdm solved the problem.

Revision history for this message
Sebastien Bacher (seb128) wrote :

There has been no recent activity on this bug or duplicate let's assume it's fixed in recent versions, the bug can be reopened if that's not the case though

Changed in gdm (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.