So `sudo -u postgres -i` opens a login shell as postgres and starts systemd.
But `sudo su -`; `su - postgres` opens a login shell as postgres and does not start systemd. sudo shouldn't behave differently here; I guess there is some difference somewhere in the pam configuration. Christoph