New comment by kennylevinsen on void-packages repository https://github.com/void-linux/void-packages/issues/27132#issuecomment-744399088 Comment: Still no reproduction on "plain" logind. When you use the exec approach, the following will happen in parallel: 1. The parent `login` process will shut down the PAM session, having pam_elogind.so/pam_systemd.so notify (e)logind. 2. The bus is going to detach, notifying (e)logind. It may very well be that elogind (and possibly logind if it's just a race) ends up messing things up when these happen simultaneously, as they both trigger various state changes. Newer versions would be good to test. I don't have an elogind system near me right now, otherwise I'd have tried to see if I could reproduce there.