PR29022: 000-permissions files cause problems for backups
authorAaron Merey <amerey@redhat.com>
Fri, 8 Apr 2022 23:37:11 +0000 (19:37 -0400)
committerAaron Merey <amerey@redhat.com>
Wed, 13 Apr 2022 18:52:55 +0000 (14:52 -0400)
commit8b568fdea8e1baea3d68cc38dec587e4c9219276
treebdf0a8e064e579901da0f527f2bd6fbe93517259
parent399b55a75830f1854c8da9f29282810e82f270b6
PR29022: 000-permissions files cause problems for backups

000-permission files currently used for negative caching can cause
permission problems for some backup software and disk usage checkers.
Fix this by using empty files for negative caching instead.

Also use each empty file's mtime to determine the time since
last download attempt instead of the cache_miss_s file's mtime.

https://sourceware.org/bugzilla/show_bug.cgi?id=29022

Tested-by: Milian Wolff <mail@milianw.de>
Signed-off-by: Aaron Merey <amerey@redhat.com>
debuginfod/ChangeLog
debuginfod/debuginfod-client.c
tests/ChangeLog
tests/Makefile.am
tests/run-debuginfod-federation-link.sh
tests/run-debuginfod-federation-metrics.sh
tests/run-debuginfod-federation-sqlite.sh
tests/run-debuginfod-negative-cache.sh [moved from tests/run-debuginfod-000-permission.sh with 92% similarity]
tests/run-debuginfod-tmp-home.sh