[Bug 1244463] Re: session optional pam_systemd.so missing from /etc/pam.d common-session file

Martin Pitt martin.pitt at ubuntu.com
Mon Oct 28 11:45:39 UTC 2013


*** This bug is a duplicate of bug 1176910 ***
    https://bugs.launchpad.net/bugs/1176910

** This bug has been marked a duplicate of bug 1176910
   pam-auth-update can fail during raring -> saucy upgrade leading you to a broken session

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1244463

Title:
  session optional pam_systemd.so missing from /etc/pam.d common-session
  file

Status in “systemd” package in Ubuntu:
  Confirmed

Bug description:
  session optional pam_systemd.so missing from /etc/pam.d common-session
  file

  I updated from 12.04 to 13.10 version three days back. After this I
  noticed,

  1. the shutdown and restart options from the top right corner button did not work.
  2. My user name was not being diplayed next to the top right corner button.

  From #ubuntu-bug irc chat a user helped me identify the issue.

  We started from the /var/log/syslog showing "Oct 24 22:54:58
  c490100005 gnome-session[1984]: WARNING: Unable to inhibit system:
  GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Operation not
  permitted" when I tried doing a shutdown/restart.

  Then we ran the following commands with the following results,

  command: dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.CanPowerOff
  result: method return sender=:1.3 -> dest=:1.95 reply_serial=2
     string "challenge"

  command: loginctl list-sessions
  result: 0 sessions listed.

  command: cat /etc/pam.d/common-session | grep systemd
  result: returned nothing

  So we added the line "session optional        pam_systemd.so" to the
  common-session file and the above two issues are now gone.

  (UPDATE:)
  To add further information, this is how i upgraded my system from 12.04 to 13.10,

  1. logged into the system with my normal user account, (which is not in the sudoers list)
  2. opened terminal and did "su <sudoerAccountName>" and then entered the pwd.
  3. once inside the sudoer account in the terminal, I issued the command "sudo update-manager -d"

  I did the above three steps from 12.04 to 12.10, 12.10 to 13.04 and
  finally from 13.04 to 13.10.

  I was not able to update directly to 13.10, hence the step by step
  approach.

  -------------------------------------------------------------------------------------
  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: libpam-systemd 204-0ubuntu19
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  Date: Fri Oct 25 00:27:11 2013
  InstallationDate: Installed on 2012-08-25 (425 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
  MarkForUpload: True
  SourcePackage: systemd
  UpgradeStatus: Upgraded to saucy on 2013-10-20 (3 days ago)

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



More information about the foundations-bugs mailing list