← Back to team overview

touch-packages team mailing list archive

[Bug 1291454] Re: spontaneously logged out of lightdm session, authentication failed until logind restarted

 

I haven't seen this myself, and the lightdm snippet in the description
doesn't give a clue what happened. If you have a way to reproduce this,
could you please modify /usr/share/dbus-1/system-
services/org.freedesktop.systemd1.service like that:

  Exec=/bin/sh -c 'G_DBUS_DEBUG=all /usr/lib/x86_64-linux-gnu/systemd-
shim >> /tmp/shim.log 2>&1'

and run this in a VT:

  sudo sh -c 'pkill systemd-logind; /lib/systemd/systemd-logind 2>&1 |
tee /tmp/logind.log'

then reproduce the situation (or wait until this happens). Please attach
/tmp/shim.log and /tmp/logind.log. Thanks!

** Changed in: systemd (Ubuntu)
       Status: Confirmed => Incomplete

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

Title:
  spontaneously logged out of lightdm session, authentication failed
  until logind restarted

Status in “systemd” package in Ubuntu:
  Incomplete

Bug description:
  Out of nowhere, I was suddenly logged out of my X session today and
  dropped to a lightdm greeter screen.  attempts to log back in were
  kicked immediately back to the greeter.  A look at the lightdm log
  showed:

  [+7.44s] DEBUG: Seat: Display server ready, starting session authentication
  [+7.44s] DEBUG: Session pid=22931: Started with service 'lightdm-greeter', username 'lightdm'
  [+7.55s] DEBUG: Session pid=22931: Authentication complete with return value 0: Success
  [+7.55s] DEBUG: Seat: Session authenticated, running command
  [+7.55s] DEBUG: Session pid=22931: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
  [+7.55s] DEBUG: Session pid=22931: Logging to /var/log/lightdm/x-0-greeter.log
  [+7.60s] DEBUG: Activating VT 7
  [+7.77s] DEBUG: Session pid=22931: Greeter connected version=1.9.8
  [+7.96s] DEBUG: Session pid=22931: Greeter start authentication for vorlon
  [+7.96s] DEBUG: Session pid=23002: Started with service 'lightdm', username 'vorlon'
  [+7.96s] DEBUG: Session pid=22931: Greeter start authentication for vorlon
  [+7.96s] DEBUG: Session pid=23002: Sending SIGTERM
  [+7.97s] DEBUG: Session pid=23004: Started with service 'lightdm', username 'vorlon'
  [+7.97s] DEBUG: Session pid=23002: Terminated with signal 15
  [+7.97s] DEBUG: Session: Failed during authentication
  [+7.97s] DEBUG: Seat: Session stopped

  (you'll note from the timestamps that I had also tried restarting
  lightdm, which didn't fix the problem.)

  Only after I manually killed logind and restarted lightdm again was I
  able to log in.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: systemd-services 204-5ubuntu13
  ProcVersionSignature: Ubuntu 3.13.0-12.32-generic 3.13.4
  Uname: Linux 3.13.0-12-generic x86_64
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Mar 12 08:39:20 2014
  InstallationDate: Installed on 2010-09-24 (1265 days ago)
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
  SourcePackage: systemd
  UpgradeStatus: Upgraded to trusty on 2013-10-23 (140 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1291454/+subscriptions