From 77a3cec0c715b6b08f9c9aafbd16b52bc7bb3a80 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 5 May 2020 23:23:00 +0200 Subject: [PATCH] man: document the new tmpfiles --root= behaviour regarding users --- man/systemd-tmpfiles.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml index 7720ef53fa..998fd0911b 100644 --- a/man/systemd-tmpfiles.xml +++ b/man/systemd-tmpfiles.xml @@ -161,10 +161,10 @@ Takes a directory path as an argument. All paths will be prefixed with the given alternate root path, including config search paths. - Note that this option does not alter how the users and groups specified in the configuration files are - resolved. With or without this option, users and groups are always resolved according to the host's user and - group databases, any such databases stored under the specified root directories are not - consulted. + When this option is used, the libc Name Service Switch (NSS) is bypassed for resolving users + and groups. Instead the files /etc/passwd and /etc/group + inside the alternate root are read directly. This means that users/groups not listed in these files + will not be resolved, i.e. LDAP NIS and other complex databases are not considered.