Comment 8 for bug 1561658

Revision history for this message
Martin Pitt (pitti) wrote : Re: ppc64el ssh sessions don't run in session cgroup but in sshd's

A-ha! So there's no logind session, and indeed if I remove pam_systemd.so from /etc/pam.d/common-session I get the same effect.

Do you have "session optional pam_systemd.so" in /etc/pam.d/common-session ? If so, it fails for some reason and we need to find out why. But there's no trace of an error, or it trying to create a session in the journal, so it's more likely just missing.

Assuming that it is missing indeed, how was this system installed? Do you do any customizations to that file? Normally this is handled automatically by pam-auth-update. If you run that (via sudo), it should have "Create cgroups for user login sessions" enabled, and create a file with pam_systemd. What happens there?