Thank you, today my Ubuntu 16.04 booted into the maintenance mode and systemctl --failed showed only nfs-resolvd.service. I made # systemctl restart ssh then I got: "System is booting up. See pam_nologin(8)" Authentication failed.
# rm -fv /run/nologin solved the issue. I ran # apt install --reinstall systemd and /run/nologin did not appear again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1650634 Title: when installing systemd, it creates /run/nologin preventing all users from logging in. To manage notifications about this bug go to: https://bugs.launchpad.net/systemd/+bug/1650634/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs