summaryrefslogtreecommitdiffstats
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
parentAdd new debuginfod.sysconfig value DEBUGINFOD_EXTRA_ARGS (diff)
downloadelfutils-61066138c0fe670b57ac6393b8f24de2fb6c5953.tar.gz
elfutils-61066138c0fe670b57ac6393b8f24de2fb6c5953.tar.bz2
elfutils-61066138c0fe670b57ac6393b8f24de2fb6c5953.tar.xz
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 @@
12022-08-17 Frank Ch. Eigler <fche@redhat.com>
2
3 * debuginfod.sysconfig: Clarify cmdline vs client-env variables.
4
12022-05-03 Mark Wielaard <mark@klomp.org> 52022-05-03 Mark Wielaard <mark@klomp.org>
2 6
3 * profile.csh.in: Move the 2>/dev/null inside the sh -c '' quotes. 7 * 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 @@
1# 1#################
2# debuginfod command line options
3# see [man debuginfod]
4
5# required
2DEBUGINFOD_PORT="8002" 6DEBUGINFOD_PORT="8002"
7
8# add more -v for more verbosity
3DEBUGINFOD_EXTRA_ARGS="-t43200 -F -R" 9DEBUGINFOD_EXTRA_ARGS="-t43200 -F -R"
4#DEBUGINFOD_VERBOSE="-v"
5 10
6# some common places to find trustworthy ELF/DWARF files and RPMs 11# some common places to find trustworthy ELF/DWARF files and RPMs
7DEBUGINFOD_PATHS="/usr/lib/debug /usr/bin /usr/libexec /usr/sbin /usr/lib /usr/lib64 /var/cache/yum /var/cache/dnf /var/lib/pulp" 12DEBUGINFOD_PATHS="/usr/lib/debug /usr/bin /usr/libexec /usr/sbin /usr/lib /usr/lib64 /var/cache/yum /var/cache/dnf /var/lib/pulp"
8 13
9# prefer reliability/durability over performance 14# prefer sqlite database durability over performance
10#DEBUGINFOD_PRAGMAS="-D 'pragma synchronous=full;'" 15#DEBUGINFOD_PRAGMAS="-D 'pragma synchronous=full;'"
11 16
12# upstream debuginfods 17#################
18# these environment variables affect federated queries to upstream servers
19# see [man debuginfod-client-config]
20
13#DEBUGINFOD_URLS="http://secondhost:8002 http://thirdhost:8002" 21#DEBUGINFOD_URLS="http://secondhost:8002 http://thirdhost:8002"
14#DEBUGINFOD_TIMEOUT="5" 22#DEBUGINFOD_TIMEOUT="5"
15#DEBUGINFOD_RETRY_LIMIT="2" 23#DEBUGINFOD_RETRY_LIMIT="2"
16#DEBUGINFOD_CACHE_DIR="" 24#DEBUGINFOD_CACHE_DIR=""
25#DEBUGINFOD_VERBOSE="1"
26#DEBUGINFOD_PROGRESS="1"