From 62a90b48d0bc7a4e5f28bede70572c48196835cc Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 7 May 2021 12:17:57 +0200 Subject: [PATCH] man: document new userdbd features --- man/systemd-userdbd.service.xml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/man/systemd-userdbd.service.xml b/man/systemd-userdbd.service.xml index a65d1909be..fbbc740040 100644 --- a/man/systemd-userdbd.service.xml +++ b/man/systemd-userdbd.service.xml @@ -32,7 +32,9 @@ systemd-userdbd is a system service that multiplexes user/group lookups to all local services that provide JSON user/group record definitions to the system. In addition it synthesizes JSON user/group records from classic UNIX/glibc NSS user/group records in order to provide full backwards - compatibility. + compatibility. It may also pick up statically defined JSON user/group records from drop-in files in + /etc/userdb/, /run/userdb/, + /run/host/userdb/ and /use/lib/userdb/. Most of systemd-userdbd's functionality is accessible through the userdbctl1 @@ -45,16 +47,18 @@ multiplexes access other services implementing this API, too. It is thus both server and client of this API. - This service provides two distinct Varlink services: + This service provides three distinct Varlink services: io.systemd.Multiplexer provides a single, unified API for querying JSON user and group records. Internally it talks to all other user/group record services running on the system in parallel and forwards any information discovered. This simplifies clients substantially since they need to talk to a single service only instead of all of them in - parallel. io.systemd.NameServiceSwitch provides compatibility with classic UNIX/glibc - NSS user records, i.e. converts struct passwd and struct group records as - acquired with APIs such as getpwnam1 to JSON - user/group records, thus hiding the differences between the services as much as possible. + parallel. io.systemd.NameServiceSwitch provides compatibility with classic + UNIX/glibc NSS user records, i.e. converts struct passwd and struct group + records as acquired with APIs such as getpwnam1 to + JSON user/group records, thus hiding the differences between the services as much as + possible. io.systemd.Dropin makes JSON user/group records from the aforementioned + drop-in directories available.