diff options
author | Luca Boccassi <bluca@debian.org> | 2024-07-04 11:23:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-07-04 16:43:51 +0200 |
commit | fc9938d6f8e7081df5420bf88bf98f683b1391c0 (patch) | |
tree | e0d466f078d77ee12d8cb145109135354bae3a0d /docs/USERDB_AND_DESKTOPS.md | |
parent | Merge pull request #33589 from poettering/file-hiearchy-no-version (diff) | |
download | systemd-fc9938d6f8e7081df5420bf88bf98f683b1391c0.tar.xz systemd-fc9938d6f8e7081df5420bf88bf98f683b1391c0.zip |
sysusers: handle NSS errors gracefully
If the io.systemd.DynamicUser or io.systemd.Machine files exist,
but nothing is listening on them, the nss-systemd module returns
ECONNREFUSED and systemd-sysusers fails to creat the user/group.
This is problematic when ran by packaging scripts, as the package
assumes that after this has run, the user/group exist and can
be used. adduser does not fail in the same situation.
Change sysusers to print a loud warning but otherwise continue
when NSS returns an error.
Diffstat (limited to 'docs/USERDB_AND_DESKTOPS.md')
0 files changed, 0 insertions, 0 deletions