man: systemd-sysusers does not create home dir

Document that systemd-sysusers doesn’t create the specified home
directory, and point to systemd-tmpfiles as the service that can create
the home directory instead. (systemd-tmpfiles-setup.service is ordered
After=systemd-sysusers.service, so by the time systemd-tmpfiles would
create the home directory, sysusers would have created the owning user
already, and it should all work out.)
This commit is contained in:
Lucas Werkmeister 2021-01-03 14:44:21 +01:00 committed by Lennart Poettering
parent 612a6869ee
commit a1de7d01ff
1 changed files with 5 additions and 0 deletions

View File

@ -216,6 +216,11 @@ r - 500-900
<para>Only applies to lines of type <varname>u</varname> and should otherwise
be left unset (or <literal>-</literal>). It is recommended to omit this, unless
software strictly requires a home directory to be set.</para>
<para><command>systemd-sysusers</command> only sets the home directory record in the
user database. To actually create the directory, consider adding a corresponding