never kills dnsmasq servers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
needrestart (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
never kills dnsmasq servers....
So on my machine, libvirtd.service spawns multiple dnsmasq daemons (one per network), yet because the libvirtd.service is set to KillMode=process these are never killed upon stopping libvirtd.
This has a side effect that throughout the shutdown transaction, dnsmasq processes remain running, all the way until systemd-shutdownd does a final kilall spree.
This is suboptimal.
I don't know why libvirt has KillMode=process, but my guess is that one ideally wants to be able to restart libvirt without killing VMs / dnsmasq state. However, when doing shutdown, these should be really killed.
I have a couple of "solutions". Can we like create libvirt-
But i don't know what other processes libvirt can launch, imho all of them should be "systemdified" such that libvirtd.service control group does not contain any stray processes.
Alternative, we might want to add a libvirt-
This seems to appear to affect system shutdown / reboot speed.
Changed in libvirt (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
Does your libvirt have this patch?
https:/ /www.redhat. com/archives/ libvir- list/2019- January/ msg00389. html
If so, your dnsmasq profile may need updated to accommodate that change.