]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Add new debuginfod.sysconfig value DEBUGINFOD_EXTRA_ARGS
authorMartin Liska <mliska@suse.cz>
Wed, 17 Aug 2022 12:24:32 +0000 (14:24 +0200)
committerMartin Liska <mliska@suse.cz>
Wed, 17 Aug 2022 12:52:17 +0000 (14:52 +0200)
Split DEBUGINFOD_PATHS and put non-path arguments to the newly created
variable called DEBUGINFOD_EXTRA_ARGS.

Signed-off-by: Martin Liska <mliska@suse.cz>
config/debuginfod.service
config/debuginfod.sysconfig

index b64d8cb923247d2ab66f83ac48d4add96fea04f1..4c7785a9051de81ec2ed2e863dbef4cb9d49a1c8 100644 (file)
@@ -8,7 +8,7 @@ EnvironmentFile=/etc/sysconfig/debuginfod
 User=debuginfod
 Group=debuginfod
 #CacheDirectory=debuginfod
-ExecStart=/usr/bin/debuginfod -d /var/cache/debuginfod/debuginfod.sqlite -p $DEBUGINFOD_PORT $DEBUGINFOD_VERBOSE $DEBUGINFOD_PRAGMAS $DEBUGINFOD_PATHS
+ExecStart=/usr/bin/debuginfod -d /var/cache/debuginfod/debuginfod.sqlite -p $DEBUGINFOD_PORT $DEBUGINFOD_VERBOSE $DEBUGINFOD_PRAGMAS $DEBUGINFOD_PATHS $DEBUGINFOD_EXTRA_ARGS
 # Stopping can take a long time if scanning of large archives is in progress
 TimeoutStopSec=60
 PrivateTmp=yes
index 890a1a25062eb19d3a078f8e3bdfef8f13687786..ae49a5af634d3448ab88a14c9c5f54d26b133d96 100644 (file)
@@ -1,9 +1,10 @@
 #
 DEBUGINFOD_PORT="8002"
+DEBUGINFOD_EXTRA_ARGS="-t43200 -F -R"
 #DEBUGINFOD_VERBOSE="-v"
 
 # some common places to find trustworthy ELF/DWARF files and RPMs
-DEBUGINFOD_PATHS="-t43200 -F -R /usr/lib/debug /usr/bin /usr/libexec /usr/sbin /usr/lib /usr/lib64 /var/cache/yum /var/cache/dnf /var/lib/pulp"
+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
 #DEBUGINFOD_PRAGMAS="-D 'pragma synchronous=full;'"