summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2022-08-17 09:01:23 -0400
committerFrank Ch. Eigler <fche@redhat.com>2022-08-17 09:01:23 -0400
commit61066138c0fe670b57ac6393b8f24de2fb6c5953 (patch)
tree75d1b1f8d14a449413cad1a4c529746ce756a781
parente5f78d8083aec7f27c6733b4c63528786a85ab8a (diff)
downloadelfutils-61066138c0fe670b57ac6393b8f24de2fb6c5953.tar.gz
config/debuginfod.sysconfig: Clarify & classify the variables
Some of them are for debuginfod command line; others are environment variables for the embedded client library. Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
-rw-r--r--config/ChangeLog4
-rw-r--r--config/debuginfod.sysconfig18
2 files changed, 18 insertions, 4 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index cfb37b42..a444457e 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2022-08-17 Frank Ch. Eigler <fche@redhat.com>
+
+ * debuginfod.sysconfig: Clarify cmdline vs client-env variables.
+
2022-05-03 Mark Wielaard <mark@klomp.org>
* profile.csh.in: Move the 2>/dev/null inside the sh -c '' quotes.
diff --git a/config/debuginfod.sysconfig b/config/debuginfod.sysconfig
index ae49a5af..4ffb7e02 100644
--- a/config/debuginfod.sysconfig
+++ b/config/debuginfod.sysconfig
@@ -1,16 +1,26 @@
-#
+#################
+# debuginfod command line options
+# see [man debuginfod]
+
+# required
DEBUGINFOD_PORT="8002"
+
+# add more -v for more verbosity
DEBUGINFOD_EXTRA_ARGS="-t43200 -F -R"
-#DEBUGINFOD_VERBOSE="-v"
# some common places to find trustworthy ELF/DWARF files and RPMs
DEBUGINFOD_PATHS="/usr/lib/debug /usr/bin /usr/libexec /usr/sbin /usr/lib /usr/lib64 /var/cache/yum /var/cache/dnf /var/lib/pulp"
-# prefer reliability/durability over performance
+# prefer sqlite database durability over performance
#DEBUGINFOD_PRAGMAS="-D 'pragma synchronous=full;'"
-# upstream debuginfods
+#################
+# these environment variables affect federated queries to upstream servers
+# see [man debuginfod-client-config]
+
#DEBUGINFOD_URLS="http://secondhost:8002 http://thirdhost:8002"
#DEBUGINFOD_TIMEOUT="5"
#DEBUGINFOD_RETRY_LIMIT="2"
#DEBUGINFOD_CACHE_DIR=""
+#DEBUGINFOD_VERBOSE="1"
+#DEBUGINFOD_PROGRESS="1"