Bug 1558648

Summary: Can’t remove libvirt-daemon
Product: [Fedora] Fedora Reporter: Piotr Drąg <piotrdrag>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: agedosier, berrange, bugzilla, clalancette, crobinso, dhill, gmarr, grgoffe, ignatenko, itamar, jdulaney, jforbes, jreiser, laine, libvirt-maint, lsm5, rbarlow, veillard
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedFreezeException
Fixed In Version: libvirt-4.1.0-2.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-26 22:29:49 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:
Bug Depends On:    
Bug Blocks: 1469205    

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. ***