aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--correctly handle local_overrides misconfiguration.md12
1 files changed, 12 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..a6a493d
--- /dev/null
+++ b/correctly handle local_overrides misconfiguration.md
@@ -0,0 +1,12 @@
+# 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.
+
+Thanks pghvlaans for the report!