posix_spawn usage in gnu make causes failures on s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
Unassigned | ||
flatpak (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
glibc (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
make-dfsg (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
posix_spawn usage in gnu make causes failures on s390x
Recently in gnu-make v4.3 https:/
This has caused failure of an unrelated package flatpak-builder autopkgtests on s390x only, like so
echo Building
make: echo: Operation not permitted
make: *** [Makefile:2: all] Error 127
Julian Klaude investigated this in-depth. His earlier research also indicated that this is a heisenbug, if one tries to print to stderr before printing to stdout, no issue occurs.
We are configuring GNU make to be build with --disable-
But I do wonder, if there is something different or incorrect about posix_spawn() implementation in either glibc, or linux kernel, on s390x. Or gnu-make's usage of posix_spawn().
As otherise, using posix_spawn() in gnu-make works on other architectures, and flatpak-builder autopkgtests pass too.
It seems very weird that stdout does not appear to be functional, unless stderr was opened/written to, from gnu-make execution compiled with posix-spawn feature.
CVE References
tags: | added: reverse-proxy-bugzilla s390x |
Changed in ubuntu-z-systems: | |
importance: | Undecided → Medium |
tags: | added: architecture-s39064 bugnameltc-186737 severity-high targetmilestone-inin2004 |
Changed in ubuntu-z-systems: | |
status: | New → Triaged |
Changed in ubuntu-z-systems: | |
status: | Triaged → Fix Released |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1886814
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.