Interesting bug, thanks Billy for the report.

Packaging of qemu (and actually many other applications as well) splits its 
capabilities into a main binaries and .so files (or similar tech, even am extra 
python module if you want). That is for flexibility of attack surface (less 
active code), size management (install footprint), dependency management (some 
might be optional or less supported), ...
Some of these technologies can load these modules "late" and this is what 
happens here.

Qemu will not load all its .so files that are installed immediately, but when 
needed.
That is what happens when 

I personally don't think packaging it with versioned binary packages
like a lib or the kernel is the right way (as more packages are design-
wise affected by the same and wouldn't we want to switch all of them
then), but I don't have a great alternative yet either - this clearly
needs some discussions about the way to go with it.

We might need to analyze which of these can load late and maybe provide
an option to load them early or automatically before upgrades? OTOH that
seems a very big and undetected change in behavior if e.g. reducing
attack surface was your intention.

As I said, very interesting bug ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1847361

Title:
  Upgrade of qemu binaries causes running instances not able to
  dynamically load modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1847361/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to