diff options
author | Aaron Merey <amerey@redhat.com> | 2022-04-08 19:37:11 -0400 |
---|---|---|
committer | Aaron Merey <amerey@redhat.com> | 2022-04-13 14:52:55 -0400 |
commit | 8b568fdea8e1baea3d68cc38dec587e4c9219276 (patch) | |
tree | bdf0a8e064e579901da0f527f2bd6fbe93517259 /debuginfod/ChangeLog | |
parent | 399b55a75830f1854c8da9f29282810e82f270b6 (diff) | |
download | elfutils-8b568fdea8e1baea3d68cc38dec587e4c9219276.tar.gz |
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>
Diffstat (limited to 'debuginfod/ChangeLog')
-rw-r--r-- | debuginfod/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog index 578d951d..d6f7b282 100644 --- a/debuginfod/ChangeLog +++ b/debuginfod/ChangeLog @@ -1,3 +1,11 @@ +2022-04-13 Aaron Merey <amerey@redhat.com> + + * debuginfod-client.c (debuginfod_query_server): + Drop st_mode check. Add st_size > 0 check. + Save target_mtime before calling + debuginfod_config_cache. unlink target_cache_path + on EACCESS. Create target_cache_path with DEFFILEMODE. + 2022-04-03 Frank Ch. Eigler <fche@redhat.com> * debuginfod.cxx (main): Use single dual-stack daemon setup, |