As of Kea 2.7.9, lease files may only be loaded from the data directory
determined during compilation: ``"[kea-install-dir]/var/lib/kea"``. This
path may be overridden at startup by setting the environment variable
- ``KEA_DHCP_DATA_DIRECTORY`` to the desired path. If a path other than
+ ``KEA_DHCP_DATA_DIR`` to the desired path. If a path other than
this value is used in ``name``, Kea will emit an error and refuse to start
or, if already running, log an unrecoverable error. For ease of use in
specifying a custom file name simply omit the path component from ``name``.
As of Kea 2.7.9, lease files may only be loaded from the data directory
determined during compilation: ``"[kea-install-dir]/var/lib/kea"``. This
path may be overridden at startup by setting the environment variable
- ``KEA_DHCP_DATA_DIRECTORY`` to the desired path. If a path other than
+ ``KEA_DHCP_DATA_DIR`` to the desired path. If a path other than
this value is used in ``name``, Kea will emit an error and refuse to start
or, if already running, log an unrecoverable error. For ease of use in
specifying a custom file name simply omit the path component from ``name``.
files may only be loaded from the directory determined at
compilation: ``"[kea-install-dir]/var/lib/kea"``. This path may be
overridden at startup by setting the environment variable
- ``KEA_DHCP_DATA_DIRECTORY`` to the desired path. If a path other than
+ ``KEA_DHCP_DATA_DIR`` to the desired path. If a path other than
this value is used in ``data-directory``, Kea will emit an error and
refuse to start or, if already running, log an unrecoverable error.
As of Kea 2.7.9, the lease file may only be written to the data directory
determined during compilation: ``"[kea-install-dir]/var/lib/kea"``. This
path may be overridden at startup by setting the environment variable
- ``KEA_DHCP_DATA_DIRECTORY`` to the desired path. If a path other than
+ ``KEA_DHCP_DATA_DIR`` to the desired path. If a path other than
this value is used in ``filename``, Kea will emit an error and refuse to start
or, if already running, log an unrecoverable error. For ease of use in
specifying a custom file name simply omit the path portion from ``filename``.
(DHCPv4 and DHCPv6) and duid file (DHCPv6 only) may only be loaded from
the directory determined at compilation: ``"[kea-install-dir]/var/lib/kea"``.
This path may be overridden at startup by setting the environment variable
- ``KEA_DHCP_DATA_DIRECTORY`` to the desired path. If a path other than
+ ``KEA_DHCP_DATA_DIR`` to the desired path. If a path other than
this value is used in ``name`` or ``data-directory``, Kea will emit an error and
refuse to start or, if already running, log an unrecoverable error.
This restriction applies to writing lease file using ``lease4-write`` and
Path restrictions mentioned through this section can be summarized according to
the following table:
-+-------------------------------------+---------------------------------------+----------------------------------+
-| Restricted Element | Default Value | Environment Variable Override |
-+=====================================+=======================================+==================================+
-| Config Files (``config-write``) | Same Directory as Initial Config File | N/A |
-+-------------------------------------+---------------------------------------+----------------------------------+
-| Host Cache Files (``cache-write``) | ``var/lib/kea`` | ``KEA_DHCP_DATA_DIRECTORY`` |
-+-------------------------------------+---------------------------------------+----------------------------------+
-| Lease Files | ``var/lib/kea`` | ``KEA_DHCP_DATA_DIRECTORY`` |
-+-------------------------------------+---------------------------------------+----------------------------------+
-| Log Files | ``var/log/kea`` | ``KEA_LOG_FILE_DIR`` |
-+-------------------------------------+---------------------------------------+----------------------------------+
-| Forensic Log Files | ``var/log/kea`` | ``KEA_LEGAL_LOG_DIR`` |
-+-------------------------------------+---------------------------------------+----------------------------------+
-| Unix Sockets | ``var/run/kea`` | ``KEA_CONTROL_SOCKET_DIR`` |
-+-------------------------------------+---------------------------------------+----------------------------------+
++-------------------------------------+---------------------------------------+-------------------------------+
+| Restricted Element | Default Value | Environment Variable Override |
++=====================================+=======================================+===============================+
+| Config Files (``config-write``) | Same Directory as Initial Config File | N/A |
++-------------------------------------+---------------------------------------+-------------------------------+
+| Host Cache Files (``cache-write``) | ``var/lib/kea`` | ``KEA_DHCP_DATA_DIR`` |
++-------------------------------------+---------------------------------------+-------------------------------+
+| Lease Files | ``var/lib/kea`` | ``KEA_DHCP_DATA_DIR`` |
++-------------------------------------+---------------------------------------+-------------------------------+
+| Log Files | ``var/log/kea`` | ``KEA_LOG_FILE_DIR`` |
++-------------------------------------+---------------------------------------+-------------------------------+
+| Forensic Log Files | ``var/log/kea`` | ``KEA_LEGAL_LOG_DIR`` |
++-------------------------------------+---------------------------------------+-------------------------------+
+| Unix Sockets | ``var/run/kea`` | ``KEA_CONTROL_SOCKET_DIR`` |
++-------------------------------------+---------------------------------------+-------------------------------+