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   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-09 13:56:41 EST Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
session dbus integration support
Save all domains when session bus dies or system is being shutdown none

Description Alexander Larsson 2012-11-01 12:17:21 EDT
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:

Will attach the patches.
Comment 1 Alexander Larsson 2012-11-01 12:18:43 EDT
Created attachment 636738 [details]
Save all domains when session bus dies or system is being shutdown
Comment 2 Cole Robinson 2012-12-09 13:56:41 EST
Been in F18 for a few weeks