Bug 1560276
Summary: | dnf distro-sync tries to remove libvirt-daemon but fails | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | George R. Goffe <grgoffe> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | agedosier, berrange, clalancette, itamar, jforbes, jtomko, laine, libvirt-maint, veillard |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-03-26 08:56:37 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
George R. Goffe
2018-03-25 13:52:39 UTC
Fixed upstream by: commit 7495b1a7797df44b29201a3369adc2a42d89439e Author: Daniel P. Berrangé <berrange> CommitDate: 2018-03-21 14:46:08 +0000 rpm: fix incorrect expansion of macros with line continuations for args Macros in RPMs are expanded before line continuations, so when we write %systemd_preun foo \ bar What happens is that it expands to if [ $1 -eq 0 ] ; then # Package removal, not upgrade systemctl --no-reload disable --now foo \ > /dev/null 2>&1 || : fi bar which is obviously complete garbage and not what we expected. It is simply not safe to ever use line continuations in combination with macros. Reviewed-by: Laine Stump <laine> Signed-off-by: Daniel P. Berrangé <berrange> git describe: v4.1.0-249-g7495b1a77 But you might need to remove the broken package manually: rpm -e --noscripts libvirt-daemon-4.1.0-1.fc29 Ján, Thank you for your hard work and this info. G'day, George... *** This bug has been marked as a duplicate of bug 1558648 *** |