Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 697574

Summary: Unable to suspend ebuild with Ctrl+Z
Product: Portage Development Reporter: Kyrylo Shpytsya <kshpitsa>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: esigra, gentoo, kavol, maris.gis, pacho, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 184128    

Description Kyrylo Shpytsya 2019-10-12 20:19:25 UTC
It appears that this fix for bug 675870 has introduced a regression in form of inability to suspend an ongoing ebuild process.
I usually launch "sudo nice emerge @world" in some terminal and go on using machine as usual. When some heavy build coincides with some (mostly memory) heavy tasks I need to run, I just switch to the terminal running "emerge @world" and hit Ctrl+Z. This is no longer effective.

Reproducible: Always

Steps to Reproduce:
1. Start some ebuild
2. Press Ctrl+Z during the compile phase

Actual Results:  
The build output to terminal stops, and shell reports job as suspended, however, in task monitor (e.g. htop) one can see that the child processes of pid-ns-init keep running in background.

Expected Results:  
Being able to suspend (and then resume) entire ebuild process tree.
Comment 1 Bernd 2021-03-20 22:22:31 UTC
*** Bug 777321 has been marked as a duplicate of this bug. ***
Comment 2 Emily Rowlands 2021-07-25 18:19:08 UTC
I'm not sure when, but this has been fixed. It was somewhere prior to 3.0.20