Bug 1415700
| Summary: | ovirt-release leaves repo files behind after removal | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-release | Reporter: | Evgheni Dereveanchin <ederevea> |
| Component: | General | Assignee: | Yuval Turgeman <yturgema> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 4.0.1 | CC: | bugs, sbonazzo, ylavi |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-25 07:32:35 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Evgheni Dereveanchin
2017-01-23 13:17:05 UTC
We use both %ghost and %config(noreplace), this can't be achieved with both directives, we need to select one. Using ghost only, would mean having the exact repo files that we need (no 0 size repo files) that would be removed with 'rpm -e'. Using noreplace by itself, would mean having some empty repo files, rpm -V fails on the files that were changed, and rpm -e saves the files with '.rpmsave'. The standard for yum repo files is config(noreplace), but is it the best solution in this case also ? I'm not sure config(noreplace) is the best one here. Looks like ghost is fitting better for the required use case. Closing old bugs. Please reopen if still relevant. Patches are welcomed. |