Error message: pam_systemd(su:session): Cannot create session: Already running in a session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Debian) |
Fix Released
|
Unknown
|
|||
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
here is how to reproduce this error:
1. log in to the root account with ssh
2. run "su - some_user_account"
Here is what I see in the logs:
Feb 28 15:21:45 xeelee su[9843]: Successful su for bonnaudl by root
Feb 28 15:21:45 xeelee su[9843]: + /dev/pts/10 root:bonnaudl
Feb 28 15:21:45 xeelee su[9843]: pam_unix(
Feb 28 15:21:45 xeelee su[9843]: pam_systemd(
Feb 28 15:21:48 xeelee su[9843]: pam_unix(
In another usage scenario of "su -" there is no error message and the creation of a new session:
févr. 28 15:08:15 vougeot su[18962]: Successful su for bonnaudl by root
févr. 28 15:08:15 vougeot su[18962]: + /dev/pts/0 root:bonnaudl
févr. 28 15:08:15 vougeot su[18962]: pam_unix(
févr. 28 15:08:15 vougeot systemd-
févr. 28 15:08:15 vougeot systemd[1]: Started Session c9 of user bonnaudl.
févr. 28 15:08:17 vougeot su[18962]: pam_unix(
févr. 28 15:08:17 vougeot systemd-
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: libpam-systemd 231-9ubuntu3
Uname: Linux 4.10.1-
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
CurrentDesktop: KDE
Date: Tue Feb 28 15:21:09 2017
EcryptfsInUse: Yes
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in systemd (Debian): | |
status: | Unknown → New |
Changed in systemd (Debian): | |
status: | New → Confirmed |
Changed in systemd (Debian): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.