Bug 1558648 - Can’t remove libvirt-daemon
Summary: Can’t remove libvirt-daemon
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException
: 1554086 1559522 1560276 1564072 1577012 1577542 1599749 (view as bug list)
Depends On:
Blocks: F28BetaFreezeException
TreeView+ depends on / blocked
 
Reported: 2018-03-20 16:47 UTC by Piotr Drąg
Modified: 2018-07-10 13:53 UTC (History)
18 users (show)

Fixed In Version: libvirt-4.1.0-2.fc28
Clone Of:
Environment:
Last Closed: 2018-03-26 22:29:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1560276 0 unspecified CLOSED dnf distro-sync tries to remove libvirt-daemon but fails 2021-02-22 00:41:40 UTC

Internal Links: 1560276

Description Piotr Drąg 2018-03-20 16:47:23 UTC
# rpm -e libvirt-daemon
/var/tmp/rpm-tmp.p4Tj3u: line 6: virtlogd.socket: command not found
error: %preun(libvirt-daemon-4.1.0-1.fc28.x86_64) scriptlet failed, exit status 127
error: libvirt-daemon-4.1.0-1.fc28.x86_64: erase failed

Comment 1 Daniel Berrangé 2018-03-20 17:02:33 UTC
Ouch, nasty non-obvious behaviour of RPM macro expansion vs line continuations for arguments to the macro

https://www.redhat.com/archives/libvir-list/2018-March/msg01202.html

Comment 2 Daniel Berrangé 2018-03-21 09:37:42 UTC
*** Bug 1554086 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2018-03-21 11:18:48 UTC
libvirt-4.1.0-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-5f1fbcf52f

Comment 4 Fedora Update System 2018-03-21 14:14:55 UTC
libvirt-4.1.0-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5f1fbcf52f

Comment 5 Daniel Berrangé 2018-03-22 13:31:33 UTC
Note, existing users with libvirt-daemon-4.1.0-1.fc28 installed will need to manually run "rpm -e --noscripts libvirt-daemon-4.1.0-1.fc28" after upgrading, due to the broken %preun scriptlet that this new version fixes.

Comment 6 Daniel Berrangé 2018-03-22 17:20:49 UTC
*** Bug 1559522 has been marked as a duplicate of this bug. ***

Comment 7 Mairi Dulaney 2018-03-26 05:40:22 UTC
It occurs to me that this might ought to be a freeze exception.

Comment 8 Daniel Berrangé 2018-03-26 08:56:37 UTC
*** Bug 1560276 has been marked as a duplicate of this bug. ***

Comment 9 Geoffrey Marr 2018-03-26 18:50:25 UTC
Discussed during the 2018-03-26 blocker review meeting: [1]

The decision to classify this bug as an AcceptedFreezeException was made as running into this bug requires the user to do manual cleanup, so we will see to it that the package is out of the stable path as soon as possible.

[1] https://meetbot.fedoraproject.org/fedora-blocker-review/2018-03-26/f28-blocker-review.2018-03-26-16.01.txt

Comment 10 Fedora Update System 2018-03-26 22:29:49 UTC
libvirt-4.1.0-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Daniel Berrangé 2018-04-05 09:49:36 UTC
*** Bug 1564072 has been marked as a duplicate of this bug. ***

Comment 12 Jiri Denemark 2018-05-11 06:51:46 UTC
*** Bug 1577012 has been marked as a duplicate of this bug. ***

Comment 13 Ján Tomko 2018-05-14 06:06:10 UTC
*** Bug 1577542 has been marked as a duplicate of this bug. ***

Comment 14 Jiri Denemark 2018-07-10 13:53:40 UTC
*** Bug 1599749 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.