]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/home/homectl.c
homectl: rework how we log when doing a home directory update
authorLennart Poettering <lennart@poettering.net>
Wed, 15 Apr 2020 17:35:55 +0000 (19:35 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 1 Jul 2020 09:17:28 +0000 (11:17 +0200)
commitc98811d837c5b00370e25737766325b2ae6307fc
tree13697b8a734994d2fa2a0744da7c135533f9d24c
parent8e62dfb12aff85cc894ff7eef39fb21623335566
homectl: rework how we log when doing a home directory update

When updating a home directory we might update the record first, then
resize the image and finally synchronize the passwords to the storage
layers. These are three individually authenticated operations. Since
each might require touching a FIDO2 or PKCS#11 key we should say what we
are doing. Hence do so.

Usually we are pretty quiet with what we do, and let's stick to that.
Hence show this information only if we actually do more than one thing.
If we only update (and do not resize/sync passwords) then let's be quiet
as usual, as the command line then sufficiently clarifies what we are
doing.
src/home/homectl.c