[Bug 1668641] Re: Error message: pam_systemd(su:session): Cannot create session: Already running in a session
Bug Watch Updater
1668641 at bugs.launchpad.net
Sun Nov 18 02:03:10 UTC 2018
** Changed in: systemd (Debian)
Status: New => Confirmed
--
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/1668641
Title:
Error message: pam_systemd(su:session): Cannot create session: Already
running in a session
Status in systemd package in Ubuntu:
Confirmed
Status in systemd package in Debian:
Confirmed
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(su:session): session opened for user bonnaudl by root(uid=0)
Feb 28 15:21:45 xeelee su[9843]: pam_systemd(su:session): Cannot create session: Already running in a session
Feb 28 15:21:48 xeelee su[9843]: pam_unix(su:session): session closed for user bonnaudl
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(su:session): session opened for user bonnaudl by bonnaudl(uid=0)
févr. 28 15:08:15 vougeot systemd-logind[1162]: New session c9 of user bonnaudl.
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(su:session): session closed for user bonnaudl
févr. 28 15:08:17 vougeot systemd-logind[1162]: Removed session c9.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: libpam-systemd 231-9ubuntu3
Uname: Linux 4.10.1-041001-generic x86_64
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1668641/+subscriptions
More information about the foundations-bugs
mailing list