I think you need dbus installed, otherwise pam_systemd won't work correctly.
Jun 26 10:48:42 mail sshd[16373]: pam_systemd(sshd:session): Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory Also the systemd-logind.service must be started. It was masked here on one system, I don't know exactly why. Jun 26 10:59:19 mail sshd[20130]: pam_systemd(sshd:session): Failed to create session: Unit systemd-logind.service is masked. When both these issues are solved I get proper session support, my shell is not listed in the ssh cgroup anymore and I can properly restart OpenSSH. root@mail:~# /etc/init.d/ssh restart [ ok ] Restarting ssh (via systemctl): ssh.service. root@mail:~# Bernhard -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

