Actions
Bug #15649
closedconflict with dangling repo symlink and yum_clone_distributor
Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Pull request:
Description
There is a conflict in the way that $SUBJECTs work together, because:
1. when setting a repo to not be published via http after it has been already been published leaves a dangling symlink
2. the yum clone distributor first starts by using the http symlink to find the path to copy its content from
We can exploit this by:
1. Create a repo with 'publish via http' set to true, url set to some upstream repo (https://jlsherrill.fedorapeople.org/fake-repos/needed-errata/)
2. Sync the repo
3. Set 'publish via http' to false
4. Create a content view
5. Add this repo to the content view
6. Publish the content view
Your publish will fail on the yum clone distributor step.
Actions