[systemd-bugs] [Bug 65973] when a unit file is removed, systemd abandons running processes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 20 10:13:59 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=65973

--- Comment #2 from Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> ---
(In reply to comment #1)
> Hmm, my guess is that libvirt moved qemu into its own cgroup and hence
> outside of the control of systemd. Of course, libvirt really should have
> killed the VM when it was uninstalled... 
It seems that everything is still in the same cgroup (this is after restarting
libvirtd.service).

   CGroup: name=systemd:/system/libvirtd.service
           ├─ 1278 /sbin/dnsmasq
--conf-file=/var/lib/libvirt/dnsmasq/default.conf
           ├─ 2593 /usr/bin/qemu-system-x86_64 -machine accel=kvm ...
           └─26765 /usr/sbin/libvirtd

> So, not sure we can do anything about this, except filing a bug against
> libvirt to fix its scriptlets?
It's on purpose, so that running VM are not interrupted by libvirtd restarts.
Tying the VMs to libvirtd lifecycle would be a huge drawback. The service file
has:
    KillMode=process

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130620/339822ee/attachment-0001.html>


More information about the systemd-bugs mailing list