Bug 872254

Summary: user libvirtd need to shut down cleanly when the session dies
Product: [Fedora] Fedora Reporter: Alexander Larsson <alexl>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: berrange, clalancette, crobinso, itamar, jforbes, jyang, laine, libvirt-maint, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-09 18:56:41 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:
Attachments:
Description Flags
session dbus integration support
none
Save all domains when session bus dies or system is being shutdown none

Description Alexander Larsson 2012-11-01 16:17:21 UTC
Created attachment 636737 [details]
session dbus integration support

When running in user mode, we need libvirtd to die when the session exits and/or when the system is shut down, otherwise we leave running processes after logout which may unexpectedly use CPU and risk data corruption to the vm images (for instance due to unclean shutdowns or if another vm is stated with the same disk image).

I've posted some patches upstream that does this here:
https://www.redhat.com/archives/libvir-list/2012-October/msg00365.html

Will attach the patches.

Comment 1 Alexander Larsson 2012-11-01 16:18:43 UTC
Created attachment 636738 [details]
Save all domains when session bus dies or system is being shutdown

Comment 2 Cole Robinson 2012-12-09 18:56:41 UTC
Been in F18 for a few weeks