Bug 1438070
| Summary: | [abrt] libvirt-daemon: qemuDomainSecretDiskPrepare(): libvirtd killed by SIGSEGV | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Eric Harney <eharney> | ||||||||||||||||||||||||||||
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||||||||||||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||||||
| Version: | 25 | CC: | agedosier, berrange, clalancette, crobinso, itamar, laine, libvirt-maint, pkrempa, veillard, virt-maint | ||||||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/1a5744bfcf54fa4b794588302f903998d1e4e40a | ||||||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:342006b19b003323c18e78304d47e61071c8b06c;VARIANT_ID=server; | ||||||||||||||||||||||||||||||
| Fixed In Version: | libvirt-2.2.1-1.fc25 | Doc Type: | If docs needed, set a value | ||||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||||||
| Last Closed: | 2017-05-15 04:40:41 UTC | Type: | --- | ||||||||||||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||||||
| Embargoed: | |||||||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||||||
|
Description
Eric Harney
2017-03-31 19:27:38 UTC
Created attachment 1267953 [details]
File: backtrace
Created attachment 1267954 [details]
File: cgroup
Created attachment 1267955 [details]
File: core_backtrace
Created attachment 1267956 [details]
File: dso_list
Created attachment 1267957 [details]
File: environ
Created attachment 1267958 [details]
File: exploitable
Created attachment 1267959 [details]
File: limits
Created attachment 1267960 [details]
File: maps
Created attachment 1267961 [details]
File: mountinfo
Created attachment 1267962 [details]
File: namespaces
Created attachment 1267963 [details]
File: open_fds
Created attachment 1267964 [details]
File: proc_pid_status
Created attachment 1267965 [details]
File: var_log_messages
The following commit should fix the issue:
commit 7f7d99048350935a394d07b98a13d7da9c4b0502
Author: John Ferlan <jferlan>
Date: Thu Dec 22 07:12:49 2016 -0500
qemu: Don't assume secret provided for LUKS encryption
...
If a secret was not provided for what was determined to be a LUKS
encrypted disk (during virStorageFileGetMetadata processing when
called from qemuDomainDetermineDiskChain as a result of hotplug
attach qemuDomainAttachDeviceDiskLive), then do not attempt to
look it up (avoiding a libvirtd crash) and do not alter the format
to "luks" when adding the disk; otherwise, the device_add would
fail with a message such as:
"unable to execute QEMU command 'device_add': Property 'scsi-hd.drive'
can't find value 'drive-scsi0-0-0-0'"
because of assumptions that when the format=luks that libvirt would have
provided the secret to decrypt the volume.
Access to unlock the volume will thus be left to the application.
$ git describe 7f7d99048350935a394d07b98a13d7da9c4b0502
v2.5.0-284-g7f7d990
$
Fedora 26 should already contain the fixed package.
libvirt-2.2.1-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4b67f65db3 libvirt-2.2.1-1.fc25 has been pushed to the Fedora 25 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-2017-4b67f65db3 libvirt-2.2.1-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |