session optional pam_systemd.so missing from /etc/pam.d common-session file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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[
Then we ran the following commands with the following results,
command: dbus-send --print-reply --system --dest=
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.
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 <sudoerAccountN
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
ProcVersionSign
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 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) ame>" and then entered the pwd.
2. opened terminal and did "su <sudoerAccountN
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.