For some time now I’ve been using machine shell to get local root access. But when I updated yesterday (from Nixpkgs commit 17317ace7fb805f192bcf5595e41d18b09f9b497 to 6d3b61b190a899042ce82a5355111976ba76d698), this stopped working. I now immediately get the message:
Connection to the local host terminated.
journald shows:
container-shell@3.service: Failed to set up PAM session: Operation not permitted
container-shell@3.service: Failed at step PAM spawning /bin/sh: Operation not permitted
container-shell@3.service: Deactivated successfully.
Any ideas?