If it helps anyone else, I was getting this because my VPS provider was (unbeknownst to me) overriding the default kernel and using the same kernel as when the server was first created (a 2.6 one). Once I bumped this up to a less ancient version, there was no longer a problem.
To check if you've got the same problem, this was the step in the postinst script which failed for me: sudo invoke-rc.d systemd-logind start and looking in the log: sudo tail /var/log/upstart/systemd-logind.log gave this line which indicated an old kernel without cgroups support: mount: mount point /sys/fs/cgroup does not exist -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1320563 Title: invoke-rc.d: initscript systemd-logind, action "start" failed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1320563/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
