← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1322275] Re: lightdm sessions started by dm-tool lock (or a session locker) never get closed

 

unity-greeter has code to kill upstart, but for some reason this isn't
being executed. My best guess is that unity-greeter often (if not
always) dies before it exits the GTK main loop. Does it receive a second
SIGTERM, or a SIGPIPE? (When lightdm says "Stopping display server, no
sessions require it", I would think.) This should be testable.

Amending my earlier comment #7, I do see "Got a SIGTERM" some of the
time, but I hardly ever see "Cleaning up" (when unlocking; new logins
are another story). Indeed upstart is not to blame: it shuts itself off
cleanly when signalled; the problem seems to be that unity-greeter
doesn't send out that signal as it is supposed to.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1322275

Title:
  lightdm sessions started by dm-tool lock (or a session locker) never
  get closed

Status in Light Display Manager:
  New
Status in lightdm package in Ubuntu:
  Confirmed
Status in upstart package in Ubuntu:
  Confirmed

Bug description:
  dm-tool lock starts a new lightdm greeter (for unlocking) and a new
  logind session. After unlocking the greeter disappears, but the logind
  session never closes. loginctl session status c24 reports something
  like:

  c24 - lightdm (103)
             Since: Thu 2014-05-22 18:38:27 CEST; 30min ago
            Leader: 7872
              Seat: seat0; vc8
           Display: :1
           Service: lightdm-greeter; type x11; class greeter
             State: closing
            CGroup: systemd:/user/103.user/c24.session
                    └─7907 init --user --startup-event indicator-services-start

  This results in an accumulation of stale lightdm sessions after using
  e.g. a session locker for a while.

  I get this issue on a freshly installed and fully updated Xubuntu
  14.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1322275/+subscriptions


References