KEA-LFC(8)
β¨ KEA-LFC π (section 8 of the manual, bestie)
okay so real talk β this is the manual page for kea-lfc, and it's giving "background process that does the quiet work and never asks for credit" energy. iconic, honestly.
π NAME π
kea-lfc β the Lease File Cleanup process in Kea. she cleans. she's a whole process. periodt.
πΈ SYNOPSIS πΈ
kea-lfc [-4**|-6**] [-c config-file] [-p pid-file] [-x previous-file]
[-i copy-file] [-o output-file] [-f finish-file] [-v] [-V] [-W] [-d]
[-h]
π DESCRIPTION π
so the kea-lfc service process removes redundant information from the files used to provide persistent storage for the memfile database backend. that's the whole job. decluttering queen.
she's written to run as a stand-alone process β which, yes, means you can start her up externally, but there's usually no need to do this. lowkey you never need to. she gets run periodically by the Kea DHCP servers, like a little scheduled self-care moment for your lease files. π§
π ARGUMENTS π
the arguments are as follows, and yes we're going through every single one:
-4|-6β tells you the protocol version of the lease files; it must be either4or6. no in-between, no vibes, just pick one bestie.-cconfig-file β points at the file with the configuration for thekea-lfcprocess. heads up though: it may also contain configuration entries for other Kea services. currentlykea-lfcgets all of its arguments from the command line, so don't go expecting the config file to be doing the heavy lifting here. π-ppid-file β this is the PID file. when thekea-lfcprocess starts, it tries to figure out if another instance of the process is already running by examining the PID file. if one is already running, the new process gets terminated. if one is not running, Kea writes its PID into the PID file. it's basically a "is the bathroom occupied" situation but for processes. πͺ-xprevious-file β the previous, or ex-lease, file. whenkea-lfcstarts, this is the result of any previous run ofkea-lfc; whenkea-lfcfinishes, it is the result of the current run. β οΈ and ifkea-lfcgets interrupted before completing, this file may not exist. so likeβ¦ don't count on her being there if things went sideways.-icopy-file β the input, or copy of, lease file. before the DHCP server invokeskea-lfc, it moves the current lease file here and then callskea-lfcwith this file. she doesn't fetch the file herself, okay, it gets hand-delivered. π«Ά-ooutput-file β the output lease file, which is the temporary filekea-lfcshould use to write the leases. once this file is finished writing, it gets moved to the finish file (see the next one, keep scrolling bestie).-ffinish-file β the finish, or completion, file β another temporary filekea-lfcuses for bookkeeping. whenkea-lfcfinishes writing the output file, it moves it to this file name. then, afterkea-lfcfinishes deleting the other files (previous and input), it moves this file to the previous lease file. by moving the files in this fashion, thekea-lfcand the DHCP server processes can determine the correct file to use even if one of the processes was interrupted before completing its task. it's a whole choreographed routine and honestly? she ate. π-vβ displays the Kea version.-Vβ displays the extended Kea version. (yes, capital V hits different. it's the extended one.)-Wβ displays the configuration report.-dβ sets the logging level to debug with extra verbosity. primarily for development purposes in stand-alone mode, so don't just leave this on for funsies.-hβ causes the usage string to be printed. the classic "help me help you" flag.
π DOCUMENTATION π
Kea comes with an extensive Kea Administrator Reference Manual that covers all aspects of running the Kea software β compilation, installation, configuration, configuration examples, and much more. Kea also features a Kea Messages Manual, which lists all possible messages Kea can print with a brief description for each of them. both documents are available in various formats (.txt, .html, .pdf) with the Kea distribution. the Kea documentation is available at:
https://kea.readthedocs.io
Kea source code is documented in the Kea Developer's Guide, available at:
https://reports.kea.isc.org/dev_guide/
the Kea project website is available at:
https://kea.isc.org
reading the docs is self-care, no cap. πβ¨
π«Ά MAILING LISTS AND SUPPORT π«Ά
there are two public mailing lists available for the Kea project:
kea-users(kea-users at lists.isc.org) β intended for Kea users.kea-dev(kea-dev at lists.isc.org) β intended for Kea developers, prospective contributors, and other advanced users.
both lists are available at:
https://lists.isc.org
the community provides best-effort support on both of those lists. π
ISC provides professional support for Kea services. see:
https://www.isc.org/kea/
for details.
β HISTORY β
the kea-lfc process was first coded in January 2015 by the ISC Kea/DHCP team. a true original. a legend. she's been cleaning up since 2015 and she's still booked and busy. π
π SEE ALSO π
kea-dhcp4(8), kea-dhcp6(8), kea-dhcp-ddns(8), kea-ctrl-agent(8), kea-admin(8), keactrl(8), perfdhcp(8), kea-netconf(8), Kea Administrator Reference Manual.
π¦ AUTHOR π¦
Internet Systems Consortium
π COPYRIGHT π
2019-2025, Internet Systems Consortium
and that's the whole page, bestie!! this was Kea version 3.0.4, dated Oct 05, 2026, and I'm obsessed with her honestly. go forth and let the cleanup process do her thing. β¨π
πΈ mwah.
π¦ where this page comes from
- fedora 43: kea 3.0.4-1.fc43 Β· MPL-2.0 AND BSL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms