aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--correctly handle local_overrides misconfiguration.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/correctly handle local_overrides misconfiguration.md b/correctly handle local_overrides misconfiguration.md
new file mode 100644
index 0000000..f5034fe
--- /dev/null
+++ b/correctly handle local_overrides misconfiguration.md
@@ -0,0 +1,10 @@
+# Correctly handle LOCAL_OVERRIDES misconfiguration
+
+When the LOCAL_OVERRIDES configuration parameter points to a missing directory,
+sbotools2 exits with a cryptic error.
+
+```
+readdir() attempted on invalid dirhandle $dh at /usr/sbin/sbofind line 135, <$fh> line 106513.
+```
+
+Report the error early and as soon as possible with a human friendly message.