"systemd[xxx]: Warning: neither $XDG_CONFIG_HOME nor $HOME are defined" appears in services using 'su nobody'
Issue
-
The following warning message is printed to the system log for services that run using
su nobody.systemd[xxx]: Warning: neither $XDG_CONFIG_HOME nor $HOME are defined
Environment
- Red Hat Enterprise Linux 8, 9 and 10
- systemd
- su
- podman
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.