Bug 872254 - user libvirtd need to shut down cleanly when the session dies
Summary: user libvirtd need to shut down cleanly when the session dies
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-01 16:17 UTC by Alexander Larsson
Modified: 2012-12-09 18:56 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-09 18:56:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
session dbus integration support (7.58 KB, patch)
2012-11-01 16:17 UTC, Alexander Larsson
no flags Details | Diff
Save all domains when session bus dies or system is being shutdown (10.19 KB, patch)
2012-11-01 16:18 UTC, Alexander Larsson
no flags Details | Diff

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


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