virtlogd should be restarted on upgrade
Bug #1738834 reported by
Vincent Bernat
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
Hello,
When upgrading from libvirt 1.3.1 (in Xenial) to libvirt 3.6.0 (in Bionic), virtlogd is not restarted on upgrade. It seems libvirt is unable to work with an old virtlogd. If not restarted, any spawned VM will just hang the whole libvirtd process because libvirt is not able to speak with virtlogd (one thread holds the lock in virLogManagerDo
An easy way to test this is to just add Bionic sources to Xenial and upgrade libvirt0 and libvirt-bin. After restarting virtlogd, everything works as expected.
To post a comment you must log in.
Looking at postinst, I see virtlogd is reloaded. I have checked that reload trigger a reexec (like expected). Therefore, I don't know why this is not enough. I should investigate more on this.