Lennart Poettering
7b78db28e5
homed: add support for authenticating with fido2 hmac-secret tokens
2020-07-01 11:17:28 +02:00
Lennart Poettering
e4005ffe00
homed: when updating local copy of user record, sync to disk
...
Apparently xfs needs us to sync explicitly, see #15178 .
2020-05-21 23:28:49 +02:00
Lennart Poettering
cbffdcecae
homed: return a better error when a home has no authentication information defined
...
We can't log into home entries that have no password or PKCS#11 token.
Return a proper, useful error in that case.
See: #15178
2020-05-21 23:28:48 +02:00
Lennart Poettering
a60416f319
homed: fix return value mix-up
...
We generally return > 1 if any of the actions we are doing is instantly
complete and == 0 when we started doing it asynchronously (by forking
off homework), in our functions that execute operations on homes.
Fix a mix-up where the test for this was reversed in
home_dispatch_release() and home_dispatch_lock_all().
Fixes : #15684
2020-05-21 08:10:13 +02:00
Lennart Poettering
c76dd733af
homed: make default storage/file system type configurable in homed.conf
2020-05-07 23:33:09 +02:00
Lennart Poettering
c06bcd4d68
homed: allow overriding homework path via env var
...
Let's make debugging a bit easier: when invoking homed from the build
tree it's now possible to make sure homed invokes the build tree's
homework binary by setting an env var.
2020-05-07 15:48:59 +02:00
Frantisek Sumsal
86b52a3958
tree-wide: fix spelling errors
...
Based on a report from Fossies.org using Codespell.
Followup to #15436
2020-04-21 23:21:08 +02:00
Zbigniew Jędrzejewski-Szmek
162392b75a
tree-wide: spellcheck using codespell
...
Fixes #15436 .
2020-04-16 18:00:40 +02:00
Zbigniew Jędrzejewski-Szmek
c083264115
Merge pull request #15278 from vcaputo/more-trivial-cleanups
...
Expand use of _cleanup_close_ where trivial
2020-04-01 00:16:56 +02:00
Vito Caputo
4fa744a35c
*: convert amenable fdopen calls to take_fdopen
...
Mechanical change to eliminate some cruft by using the
new take_fdopen{_unlocked}() wrappers where trivial.
2020-03-31 06:48:03 -07:00
Vito Caputo
80ace4f25e
home: fix several typos
2020-03-31 15:16:36 +02:00
Lennart Poettering
70a5db5822
home: add new systemd-homed service that can manage LUKS homes
...
Fixes more or less: https://bugs.freedesktop.org/show_bug.cgi?id=67474
2020-01-28 22:36:07 +01:00