[systemd-devel] Manual start of user@<uid>.service failed with permission denied
Lennart Poettering
lennart at poettering.net
Wed Dec 6 15:50:26 UTC 2023
On Mi, 06.12.23 14:46, Christopher Wong (Christopher.Wong at axis.com) wrote:
> Hi,
>
> I’m trying to do the following:
>
> root at host:~# systemctl set-environment
> XDG_RUNTIME_DIR="/run/user/503"
Why would you do that?
user at .service automatically pulls in user-runtime-dir at .service which
is responsible for creating that dir with right perms.
is 504 a system user? or a regular user?
systemd generally assumes the boundary between system and regular
users is between 999 and 1000.
But user at .service is really just for regular users, not system users,
hence my question.
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list