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? ** Summary changed: - ppc64el ssh sessions don't run in session cgroup but in sshd's + ssh sessions don't run in session cgroup but in sshd's ** Summary changed: - ssh sessions don't run in session cgroup but in sshd's + ssh sessions don't run in session cgroup but in sshd's -- pam_systemd missing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1561658 Title: ssh sessions don't run in session cgroup but in sshd's -- pam_systemd missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1561658/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
