Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1085308
Summary: | mock: User configuration is lost during update | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mikolaj Izdebski <mizdebsk> |
Component: | mock | Assignee: | Miroslav Suchý <msuchy> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | i, loganjerry, mebrown, mizdebsk, msuchy, williams |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | mock-1.2.3-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-12-12 04:08:00 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mikolaj Izdebski
2014-04-08 10:53:41 UTC
Could not find required config file: /etc/mock/default.cfg! Fedora rawhide here. (In reply to Christopher Meng from comment #1) > Could not find required config file: /etc/mock/default.cfg! > > Fedora rawhide here. That's probably due to bug 1083689. (In reply to Jerry James from comment #2) > (In reply to Christopher Meng from comment #1) > > Could not find required config file: /etc/mock/default.cfg! > > > > Fedora rawhide here. > > That's probably due to bug 1083689. Thanks. File default.cfg is symlink. And should stay symlink. If it will not become updated, then we hit regression on bug 858822. And default.cfg is %ghost, so it is actually not deployed nor updated. It is manualy updated in %post. Therefore removing 'noreplace' will not solve it. Unless someone propose smart idea, I'm afraid I will have to close it as CANTFIX. Mikolaj do you have idea? As I understand: "configuration is not updated, becomes outdated over time" - that's expected with "noreplace". Any new config from package maintainer can be stored as .rpmnew, but sys is responsible for keeping the config up-to-date. Without "noreplace" packaging system is free to modify the config. My ideas: 1) remove "noreplace" or even "%config" from default.cfg - if the symlink is not meant to be user-configurable 2) write new symlink as .rpmnew - user will see that from yum output and can adjust the symlink as needed (In reply to Mikolaj Izdebski from comment #5) > but sys is responsible s/sys/sys admin/ Resolved by commit af3ce20. Mock will now create .rpmnew file if $(readlink default.cfg) is different from what we think should be the target. mock-1.2.1-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/mock-1.2.1-1.fc21 mock-1.2.1-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.2.1-1.fc20 mock-1.2.1-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/mock-1.2.1-1.el7 mock-1.2.1-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.2.1-1.el6 Package mock-1.2.1-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mock-1.2.1-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-15217/mock-1.2.1-1.fc20 then log in and leave karma (feedback). mock-1.2.3-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/mock-1.2.3-1.fc21 mock-1.2.3-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.2.3-1.fc20 mock-1.2.3-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/mock-1.2.3-1.el7 mock-1.2.3-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. mock-1.2.3-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. mock-1.2.3-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |