diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-12-07 08:45:15 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-12-07 19:46:02 +0100 |
commit | 7e0079f95f9b7306b40f2300301af80d915e15e4 (patch) | |
tree | c2add234e90f7bd29b01d16685a7a001c6ecd749 /src/machine/machined.c | |
parent | e0f90ad98802a43addd40f7f8ef69118d04f4cd2 (diff) | |
download | systemd-7e0079f95f9b7306b40f2300301af80d915e15e4.tar.gz |
Make support for nscd flushing optional
Fedora will deprecate support for nscd in the upcoming release [1] and plans to
drop it in the next one [2]. At that point we might as well build systemd
without that support too, since there'll be nothing to talk too.
[1] https://fedoraproject.org/wiki/Changes/DeprecateNSCD
[2] https://fedoraproject.org/wiki/Changes/RemoveNSCD
Diffstat (limited to 'src/machine/machined.c')
-rw-r--r-- | src/machine/machined.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/machine/machined.c b/src/machine/machined.c index c3c08d181d..4d8891c4fc 100644 --- a/src/machine/machined.c +++ b/src/machine/machined.c @@ -83,7 +83,9 @@ static Manager* manager_unref(Manager *m) { hashmap_free(m->image_cache); sd_event_source_unref(m->image_cache_defer_event); +#if ENABLE_NSCD sd_event_source_unref(m->nscd_cache_flush_event); +#endif bus_verify_polkit_async_registry_free(m->polkit_registry); |