View previous topic :: View next topic |
Author |
Message |
zmedico Developer
Joined: 02 Jan 2004 Posts: 353 Location: California USA
|
Posted: Sat Apr 20, 2019 12:09 am Post subject: |
|
|
diddly wrote: | Now that portage-2.3.62 has stabled I hit this on all my chroots as well. |
Try with FEATURES="-pid-sandbox -network-sandbox -ipc-sandbox". _________________ Zac |
|
Back to top |
|
|
diddly n00b
Joined: 11 Mar 2004 Posts: 27 Location: Halifax, Nova Scotia, Canada
|
Posted: Sat Apr 20, 2019 1:14 pm Post subject: |
|
|
Quote: |
Try with FEATURES="-pid-sandbox -network-sandbox -ipc-sandbox".
|
Yep, -pid-sandbox is enough to workaround. I'll retest with qemu-4 when released next week, then try to file a minimal test case for the pthread_create issue if it hasn't been fixed. Just didn't want to duplicate work if already filed, but I can't find evidence of that. _________________ Dave Flogeras |
|
Back to top |
|
|
crocket Guru
Joined: 29 Apr 2017 Posts: 558
|
Posted: Thu May 16, 2019 10:37 am Post subject: |
|
|
qemu-4.0.0 doesn't fix the issue. Is it a qemu issue or an emerge issue? The issue should be reported somewhere. |
|
Back to top |
|
|
zmedico Developer
Joined: 02 Jan 2004 Posts: 353 Location: California USA
|
Posted: Thu May 16, 2019 6:39 pm Post subject: |
|
|
Does this test case fail under qemu (run as root)?
Code: |
python -c "import portage.process; portage.process.spawn(['echo', 'hello', 'world'], unshare_pid=True)"
|
_________________ Zac |
|
Back to top |
|
|
crocket Guru
Joined: 29 Apr 2017 Posts: 558
|
Posted: Thu May 16, 2019 10:39 pm Post subject: |
|
|
zmedico wrote: | Does this test case fail under qemu (run as root)?
Code: |
python -c "import portage.process; portage.process.spawn(['echo', 'hello', 'world'], unshare_pid=True)"
|
|
Code: | # python -c "import portage.process; portage.process.spawn(['echo', 'hello', 'world'], unshare_pid=True)"
qemu: qemu_thread_create: Invalid argument
root@gentoo / # hello world |
|
|
Back to top |
|
|
zmedico Developer
Joined: 02 Jan 2004 Posts: 353 Location: California USA
|
Posted: Thu May 16, 2019 11:01 pm Post subject: |
|
|
Here's a test case using the util-linux unshare command (run as root):
Code: | unshare --pid -- echo hello world |
If that triggers the qemu_thread_create issue, then it's a good one to use in a bug report for qemu. _________________ Zac |
|
Back to top |
|
|
crocket Guru
Joined: 29 Apr 2017 Posts: 558
|
Posted: Fri May 17, 2019 12:11 am Post subject: |
|
|
zmedico wrote: | Here's a test case using the util-linux unshare command (run as root):
Code: | unshare --pid -- echo hello world |
If that triggers the qemu_thread_create issue, then it's a good one to use in a bug report for qemu. |
Code: | # unshare --pid -- echo hello world
qemu: qemu_thread_create: Invalid argument
Abort |
I suspect the recent version of glibc broke qemu.
I reported the issue on https://bugs.launchpad.net/qemu/+bug/1829459 |
|
Back to top |
|
|
millivanilli n00b
Joined: 30 Sep 2024 Posts: 3
|
Posted: Tue Oct 01, 2024 7:25 pm Post subject: |
|
|
NeddySeagoon wrote: | vagran,
Code: | FEATURES="-pid-sandbox" | works here. |
I had the same error as the original poster, and this seems to have fixed it. Bumping. |
|
Back to top |
|
|
|