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

Bug 12698

Summary: can't suspend/stop bootstrap script to get prompt
Product: Gentoo Release Media Reporter: Zach Welch (RETIRED) <zwelch>
Component: EverythingAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Zach Welch (RETIRED) gentoo-dev 2002-12-25 15:41:40 UTC
I just brought up a new system with the very latest (12/23/2002) livecd iso
image, but I only used the stage1 image to install into a chrooted partition 
from a RedHat 7.2 system (which will soon be wiped).

I started bootstrap script early and wanted to cancel.  Hitting Ctrl-Z 
stopped the underlying processes, but the main bootstrap script was still R in 
the process list.  The other tasks all showed T, and kill -STOP of the 
bootstrap script (from another console) finally gave me the bash prompt back.  

Continuing is just a simply fg, but this took several tries to get the scripts 
stopped in the first place.  In the meantime, the outward appearance is that 
the script has hung; you can't get a prompt.  This behavior was trivially
reproducible for me.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2003-01-14 19:48:08 UTC
This is now fixed on cvs and will show up on rsync within the hour. we were
trapping the TSTP signal which was what was causing the problem. ^Z et all work
with the new script now. This bit me too! :)