Actions
action #72142
openAvoid problematic symlinking in download assets tasks of the web UI
Start date:
2020-09-30
Due date:
% Done:
0%
Estimated time:
Description
We recently introduced support for download asset tasks when using isos post
. When there are multiple assets to be downloaded from the same URL these assets are only downloaded once and symlinks are used. The use of symlinks can be problematic because our cleanup might not treat them well, e.g. it might delete the symlink target but not the symlink itself leaving it broken.
We haven't seen this problem in practice yet so that's just a conclusion I came to when reading the download code. A possible solution would be using hard links with a fall back to copying (in case hard linking is not possible, e.g. because different filesystems are used).
Updated by okurz about 4 years ago
- Related to action #70687: Download gru is attached to all scheduled jobs when doing 'isos post' added
Updated by okurz about 4 years ago
- Related to action #62159: Asset GRU download not done by web UI host if job scheduled by `isos post`, fails to download and then cloned (was: … using the Web UI) added
Updated by okurz about 4 years ago
- Category set to Feature requests
- Target version set to future
Actions