summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Vašek <david.vasek@nic.cz>2024-02-26 16:02:27 +0100
committerDavid Vašek <david.vasek@nic.cz>2024-03-04 13:39:25 +0100
commit09a76ee1adb2d9233ad903a63efa4f516fdb1e72 (patch)
treecc02e29c76505a2d8f5215c9b7038200a9d0abf6 /doc
parentdoc/troubleshooting: describe the usual cause of a Bus Error (SIGBUS) (diff)
downloadknot-09a76ee1adb2d9233ad903a63efa4f516fdb1e72.tar.xz
knot-09a76ee1adb2d9233ad903a63efa4f516fdb1e72.zip
doc/operation: be more verbose about a crash (SIGBUS) caused by improper file manipulations
Diffstat (limited to 'doc')
-rw-r--r--doc/operation.rst21
1 files changed, 14 insertions, 7 deletions
diff --git a/doc/operation.rst b/doc/operation.rst
index a3c5a0d4c..805859849 100644
--- a/doc/operation.rst
+++ b/doc/operation.rst
@@ -35,6 +35,13 @@ or to the corresponding manual page.
Also, the server needs to create :ref:`server_rundir` and :ref:`zone_storage`
directories in order to run properly.
+.. NOTE::
+
+ Avoid editing of or other manipulation with configuration file during start
+ or reload of :doc:`knotd<man_knotd>` or start of :doc:`knotc<man_knotc>`
+ and other :doc:`utilities<utilities>` which use it. There is a risk of
+ malfunction or a :ref:`crash<Bus error>` otherwise.
+
.. _Configuration database:
Configuration database
@@ -199,10 +206,10 @@ Knot DNS allows you to read or change zone contents online using the server
control interface.
.. WARNING::
- Avoid concurrent zone access when a zone event (zone file load, refresh,
- DNSSEC signing, dynamic update) is in progress or pending. In such a case
- zone events must be frozen before. For more information on how to freeze the
- zone read :ref:`Editing zone file`.
+ Avoid concurrent zone access from a third party software when a zone event
+ (zone file load, refresh, DNSSEC signing, dynamic update) is in progress or
+ pending. In such a case, zone events must be frozen before. For more
+ information on how to freeze the zone read :ref:`Editing zone file`.
To get contents of all configured zones, or a specific zone contents, or zone
records with a specific owner, or even with a specific record type::
@@ -270,9 +277,9 @@ Reading and editing the zone file safely
========================================
It's always possible to read and edit zone contents via zone file manipulation.
-It may lead to confusion, however, if the zone contents are continuously being
-changed by DDNS, DNSSEC signing and the like. In such a case, the safe way to
-modify the zone file is to freeze zone events first::
+It may lead to confusion or even a :ref:`program crash<Bus error>`, however, if
+the zone contents are continuously being changed by DDNS, DNSSEC signing and the like.
+In such a case, the safe way to modify the zone file is to freeze zone events first::
$ knotc -b zone-freeze example.com.
$ knotc -b zone-flush example.com.