[systemd-devel] Manual start of user@<uid>.service failed with permission denied

Lennart Poettering lennart at poettering.net
Fri Dec 8 11:08:18 UTC 2023


On Fr, 08.12.23 08:52, Christopher Wong (Christopher.Wong at axis.com) wrote:

> Hi Lennart,
>
> I know we are not using the pam_systemd. That is the reason we try
> to run the steps manually. It was possible to start the
> user@<UID>.service in systemd v253, but it fails now with v254 or
> later.

Well, that's not supported then. You need XDG_RUNTIME_DIR set up
properly, and that's what the PAM module gives you. If you turn off
the PAM module then you get to keep the pieces, you voided your
warranty.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list