| Summary: | mock-core-configs %post scriptlet fails to detect distro version in stable releases and thus no default.cfg symlink is created | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jani Välimaa <jani.valimaa> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | andrewsfarm, davidwhodgins, sysadmin-bugs, tarazed25 |
| Version: | 7 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA7-64-OK | ||
| Source RPM: | mock-core-configs-30.2-3.mga7.src.rpm | CVE: | |
| Status comment: | |||
Pushed fixed mock-core-configs-30.2-3.1.mga7 to core/updates for mga7. Please test. Applied the same fix also for Cauldron pkg. Assignee:
bugsquad =>
qa-bugs Because of the scriptlet is failing, no /etc/mock/default.cfg symlink is created. Updated pkg should fix that.
Jani Välimaa
2020-07-24 16:56:35 CEST
Summary:
mock-core-configs %post scriptlet fails to detect distro version in stable releases =>
mock-core-configs %post scriptlet fails to detect distro version in stable releases and thus no default.cfg symlink is created No package list yet but going ahead with the test for x86_64.
$ uname -r
5.6.14-desktop-2.mga7
Installed:
distribution-gpg-keys 1.29 1.mga7 noarch
mock-core-configs 30.2 3.mga7 noarch
Warning: file /etc/mock/mageia--x86_64.cfg does not exist.
unable to update /etc/mock/default.cfg
Updated mock-core-configs.
installing mock-core-configs-30.2-3.1.mga7.noarch.rpm from /var/cache/urpmi/rpms
starting installing packages
created transaction for installing on / (remove=0, install=0, upgrade=1)
$ ll /etc/mock/default.cfg
lrwxrwxrwx 1 root root 19 Jul 26 09:18 /etc/mock/default.cfg -> mageia-7-x86_64.cfg
Approving this on the assumption that this is all that is required.CC:
(none) =>
tarazed25 Giving this a tentative validation, but it still needs a proper package list/advisory. Keywords:
(none) =>
validated_update (S)RPMS: mock-core-configs-30.2-3.1.mga8
Dave Hodgins
2020-07-31 12:27:40 CEST
Keywords:
(none) =>
advisory An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0166.html Resolution:
(none) =>
FIXED |
%post scriptlet fails when installing: installing mock-core-configs-30.2-3.mga7.noarch.rpm from /var/cache/urpmi/rpms Preparing... ################################################################### 1/1: mock-core-configs ################################################################### Warning: file /etc/mock/mageia--x86_64.cfg does not exist. unable to update /etc/mock/default.cfg