← Back to team overview

desktop-packages team mailing list archive

[Bug 1410584] Re: please stop greeter gracefully when stopping a display server

 

LightDM does send SIGTERM to a greeter and waits for it to exit.

>From your log:
[+43.64s] DEBUG: Session pid=4468: Sending SIGTERM
[+43.66s] DEBUG: Session pid=4468: Exited with return value 0

So if cleanup is not being done it seems likely that unity-greeter is
not doing it.

** Package changed: lightdm (Ubuntu) => unity-greeter (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity-greeter in Ubuntu.
https://bugs.launchpad.net/bugs/1410584

Title:
  please stop greeter gracefully when stopping a display server

Status in unity-greeter package in Ubuntu:
  New

Bug description:
  Dear maintainer,

  When lightdm is stopped or restarted, unity-greeter does not get a
  chance to run its cleanup code, but simply aborts due to the X server
  going away. Most of the greeter session components die the same way,
  but the session upstart does not. It keeps running and attempting to
  respawn services, which results in these few processes and the logind
  session staying around.

  I'm not sure whether this bug belongs properly to lightdm or unity-
  greeter. It's possible the greeter should react more gracefully when
  the X server vanishes. I'm filing this against lightdm right now
  because I feel like all the necessary code for this already exists, it
  just needs to be called in the right order at the right time. Maybe it
  just needs to wait for the sessions attached to a particular display
  server to finish before stopping that server.

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1410584/+subscriptions


References