summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-08-19 15:38:56 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-08-24 10:02:46 +0200
commit5f465fda4ec9f1e70a1bb993944ea92b2469b0db (patch)
treef89c98c7c4034e1cd0e570f3b3c57d2366ca6369 /man
parent0336c23e98caf9a8e374ef3823858a9926077ec8 (diff)
downloadsystemd-5f465fda4ec9f1e70a1bb993944ea92b2469b0db.tar.gz
sysusers: do not warn about values that equivalent
We'd warn that "-" and "/sbin/nologin" are different, even even though "/sbin/nologin" is the default we'd use. So let's stop warning in all cases where the config would lead to the same file, also under different paths, or when both shells are nologin shells. The general idea is to avoid warnings when sysusers config is moved between packages (and not exactly the same), or when it is generated from some template and the details change in an unimportant way. We try to chase symlinks. This means that on unmerged-usr systems we'll find that e.g. /usr/bin/bash and /bin/bash are equivalent if the basic fs structure is already in place (bash doesn't actually have to be installed, enough that the /bin symlink exists). I think this is a good result: after all, /bin/bash and /usr/bin/bash *may* be different things on an unmerged-usr system. Fixes #24215.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions