Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697574 - Unable to suspend ebuild with Ctrl+Z
Summary: Unable to suspend ebuild with Ctrl+Z
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Portage team
: 777321 (view as bug list)
Depends on:
Blocks: 184128
  Show dependency tree
Reported: 2019-10-12 20:19 UTC by Kyrylo Shpytsya
Modified: 2021-07-25 18:19 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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