Bug#825949: pam_systemd(su:session): Cannot create session: Already running in a session

Christian Kastner ckk at debian.org
Sat Jun 4 10:20:20 BST 2016


On Tue, 31 May 2016 18:53:43 +0200 (CEST) Santiago Vila
<sanvila at unex.es> wrote:
> Since I upgraded to stretch, logcheck sends me messages like this each
> time I do "su -" to become root:
> 
> Security Events for su
> =-=-=-=-=-=-=-=-=-=-=-
> [...] mymachine su[4887]: pam_systemd(su:session): Cannot create session: Already running in a session

logcheck was reporting the same for me, except s/su/schroot/.

> Apparently, "su" is doing something which is not necessary, or in a way
> which is not optimal for systemd, or maybe pam_systemd is too picky
> about what "su" does.
> 
> I don't know which of the two packages is to blame for this, so
> I'm filing this report against both, libpam-systemd and login,
> in the hope that you both can reach to an agreement about that.

I can successfully trace this back to systemd 223-1 (with 222-2,
everything is still fine).

> If it happens that everything is ok and working as expected, then
> it would be nice to have anyway some rule in /etc/logcheck to avoid
> the message being considered as a "security event".

Regards,
Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20160604/f87f5b34/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list