summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2019-12-26 19:06:46 -0500
committerFrank Ch. Eigler <fche@redhat.com>2019-12-27 06:46:48 -0500
commit83375d92a20f26302fddb30dbab5bb22ffccaa7c (patch)
treee234c0dd928c8ed906a1b0fb665e3194e6a7a45a /config
parent5de5dc7d1bf8b49056b123978f0449588d5f006c (diff)
downloadelfutils-fche/debuginfod-fd-cache.tar.gz
debuginfod: extracted-from-archive file cachefche/debuginfod-fd-cache
Add a facility to service webapi and dwz/altdebug requests that resolve to archives via a $TMPDIR file cache. This permits instantaneous dwz resolution during -debuginfo rpm scanning, and also instantanous duplicate webapi requests. The cache is limited both in number of entries and in storage space. Heuristics provide serviceable defaults.
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog4
-rw-r--r--config/debuginfod.service1
2 files changed, 5 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index cc4187bf..b56c2c15 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2019-12-26 Frank Ch. Eigler <fche@redhat.com>
+
+ * debuginfod.service: Set PrivateTmp=yes.
+
2019-12-22 Frank Ch. Eigler <fche@redhat.com>
* elfutils.spec.in (debuginfod): Add BuildRequire dpkg
diff --git a/config/debuginfod.service b/config/debuginfod.service
index d8ef072b..8fca343f 100644
--- a/config/debuginfod.service
+++ b/config/debuginfod.service
@@ -10,6 +10,7 @@ Group=debuginfod
#CacheDirectory=debuginfod
ExecStart=/usr/bin/debuginfod -d /var/cache/debuginfod/debuginfod.sqlite -p $DEBUGINFOD_PORT $DEBUGINFOD_VERBOSE $DEBUGINFOD_PRAGMAS $DEBUGINFOD_PATHS
TimeoutStopSec=10
+PrivateTmp=yes
[Install]
WantedBy=multi-user.target