FS#66646 - [qemu] Since 5.0 fails to run in containers like docker

Attached to Project: Arch Linux
Opened by Michel Koss (MichelKoss1) - Thursday, 14 May 2020, 13:09 GMT
Last edited by freswa (frederik) - Friday, 05 June 2020, 15:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Anatol Pomozov (anatolik)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:


Since qemu 5.0 there is regression that prevents running qemu in containers if mbind syscall is blocked (which is quite common scenario). It fails to start with "cannot bind memory to host NUMA nodes: Operation not permitted" message.

There is patch sent upstream to solves this issue:

https://patchew.org/QEMU/20200430154606.6421-1-imammedo%40redhat.com/


Additional info:
qemu 5.0.0-6

Steps to reproduce:

Run qemu in container (like docker) that blocks mbind syscall.
This task depends upon

Closed by  freswa (frederik)
Friday, 05 June 2020, 15:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  5.0.0-7
Comment by Anatol Pomozov (anatolik) - Thursday, 14 May 2020, 17:57 GMT
Thank you very much for the report.

Once the fix lands upstream repo I'll pull it into Arch package.
Comment by Michel Koss (MichelKoss1) - Tuesday, 02 June 2020, 12:49 GMT
@anatolik patch is now in qemu master branch[1]. Please chery-pick to Arch package.

[1] https://github.com/qemu/qemu/commit/70b6d525dfb51d5e523d568d1139fc051bc223c5
Comment by Anatol Pomozov (anatolik) - Tuesday, 02 June 2020, 16:22 GMT
qemu-5.0.0-7 with this fix has been pushed to [testing]. Please try this build and report if you see any issues.
Comment by Michel Koss (MichelKoss1) - Wednesday, 03 June 2020, 11:58 GMT
I tested it successfully without issues, thx.

Loading...