fails to restart (not running) gdm on maverick->natty upgrade

Bug #745532 reported by Michael Vogt on 2011-03-30
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pam (Ubuntu)
Low
Stéphane Graber
Natty
Low
Stéphane Graber
Oneiric
Undecided
Unassigned

Bug Description

During a maverick->natty upgrade I got a debconf prompt about having to manually restart gdm. During the upgrade gdm was not running. This is a pretty unusual situation so not a big deal and mostly cosmetic (and the upgrade did not fail or anything).

Attached a screenshot from the VM.

Related branches

Michael Vogt (mvo) wrote :
tags: added: iso-testing
Steve Langasek (vorlon) wrote :

yes, gdm is handled specially in the service restarting; we call 'reload' instead of 'restart', since this is how we signal gdm to reload libraries without crashing currently open sessions. So if the service isn't running, 'reload' fails; we should fix the script to check for a running service first.

Changed in pam (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in pam (Ubuntu Natty):
assignee: nobody → Stéphane Graber (stgraber)
Stéphane Graber (stgraber) wrote :

When GDM is running:

root@stgraber-vm:~# status gdm
gdm start/running, process 5417
root@stgraber-vm:~# dpkg -i /home/stephane/libpam0g_1.1.2-2ubuntu8_amd64.deb
(Reading database ... 133609 files and directories currently installed.)
Preparing to replace libpam0g 1.0.2-2ubuntu8 (using .../libpam0g_1.1.2-2ubuntu8_amd64.deb) ...
Unpacking replacement libpam0g ...
Setting up libpam0g (1.1.2-2ubuntu8) ...
Checking for services that may need to be restarted...Checking init scripts...

Restarting services possibly affected by the upgrade:
  gdm: reloading...done.
  cups: stopping...starting...done.
  cron: stopping...starting...done.
  atd: stopping...starting...done.

Services restarted successfully.

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

When GDM isn't running:

root@stgraber-vm:~# status gdm
gdm stop/waiting
root@stgraber-vm:~# dpkg -i /home/stephane/libpam0g_1.1.2-2ubuntu8_amd64.deb
(Reading database ... 133609 files and directories currently installed.)
Preparing to replace libpam0g 1.0.2-2ubuntu8 (using .../libpam0g_1.1.2-2ubuntu8_amd64.deb) ...
Unpacking replacement libpam0g ...
Setting up libpam0g (1.1.2-2ubuntu8) ...
Checking for services that may need to be restarted...Checking init scripts...

Restarting services possibly affected by the upgrade:
  gdm: not running, skipping.
  cups: stopping...starting...done.
  cron: stopping...starting...done.
  atd: stopping...starting...done.

Services restarted successfully.

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Changed in pam (Ubuntu Natty):
status: Triaged → Fix Committed
Changed in pam (Ubuntu Oneiric):
status: New → Invalid
tags: added: patch
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pam - 1.1.2-2ubuntu8

---------------
pam (1.1.2-2ubuntu8) natty; urgency=low

  * Check if gdm is actually running before trying to reload it. (LP: #745532)
 -- Stephane Graber <email address hidden> Mon, 11 Apr 2011 21:57:36 -0400

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

Other bug subscribers