ostree/src
Jonathan Lebon a8fd37b6a0 pull: complete detached meta fetch before scanning
If somehow a repo has gpg verification on but doesn't have signatures
present for the existing commit, ostree would error out if it needs to
scan the commit object (e.g. if there are no updates available).

An instance of this is currently happening in Fedora AH, in which
signatures are not shipped in the ISO due to filesystem restrictions.
Another possible scenario is if a content provider switches from not
signing commits to signing them; even if older commits are retroactively
signed, clients' local commit objects would error out if they needed
scanning.

This patch adds a check to ensure that we always attempt to fetch the
detached metadata and wait for its result (whether it exists or not)
before moving on to scan their corresponding commit objects.

See also: https://github.com/projectatomic/rpm-ostree/issues/630

Closes: #873
Approved by: cgwalters
2017-05-18 01:14:15 +00:00
..
boot boot: Ensure we remount /var writable before systemd does journal flush 2016-09-15 19:41:44 +00:00
libostree pull: complete detached meta fetch before scanning 2017-05-18 01:14:15 +00:00
libotutil lib: Add "open dfd iter handling noent" helper, port tree-wide 2017-05-16 18:39:19 +00:00
ostree libglnx: bump and use new helper methods 2017-05-12 21:02:16 +00:00
rofiles-fuse tree-wide: Switch tabs ⭾ in various files over to spaces ␠ 2017-05-11 18:17:26 +00:00
switchroot tree-wide: Add a few missing O_CLOEXEC 2017-05-16 17:34:46 +00:00