diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2018-09-11 12:16:57 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-09-11 12:16:57 -0400 |
commit | 919e8671a6ab9684d59525eb7f3607b3aab08ee1 (patch) | |
tree | 343f74f386f03d6fabd61cb4926cbdaeab4fa5c0 /setup.py | |
parent | 3a2453c186084a2b7ef15702775809a76e13c45c (diff) | |
download | sos-919e8671a6ab9684d59525eb7f3607b3aab08ee1.tar.gz |
[archive] fix link rewriting logic in FileCacheArchive.add_link()
When processing link follow up for an original symbolic link, the
add_link() logic incorrectly used the _original_ host link name,
rather than the to-be-created name when calculating relative path
structures. If the prior link is at a greater or lesser level of
directory nesting this will lead to broken relative links in the
archive (one level too high or too low).
In some cases (systemd) this behaviour was masked due to the fact
that identically named links exist at multiple levels of the path
hierarchy.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions