diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2019-12-26 19:06:46 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 2020-01-11 22:41:54 -0500 |
commit | 1905518e1680af556078c9d75e73061160d88152 (patch) | |
tree | 86c34dc8bea2892a79742b03aa87d7ab569c856d /config | |
parent | 05429d753116f5c2931dc15d6cc2a25b310a9f49 (diff) | |
download | elfutils-1905518e1680af556078c9d75e73061160d88152.tar.gz |
debuginfod: extracted-from-archive file 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.
Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/ChangeLog | 4 | ||||
-rw-r--r-- | config/debuginfod.service | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index 2296e815..e5e0a55c 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2020-01-11 Frank Ch. Eigler <fche@redhat.com> + + * debuginfod.service: Set PrivateTmp=yes. + 2020-01-01 Dmitry V. Levin <ldv@altlinux.org> * Makefile.am (pkgconfig_DATA): Conditionalize libdebuginfod.pc 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 |