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

Bug 101204

Summary: emerge does not handle SIGINT (^C) well
Product: Portage Development Reporter: LionsPhil <lionsphil>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: betelgeuse, carpaski, ispeters, luked
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description LionsPhil 2005-08-03 07:32:32 UTC
Emerge doesn't appear to catch ^C / SIGINT during many operations and close down 
cleanly, instead treating it as if an error had occoured. This may lead to 
misleading error messages or debugging information being displayed.

Reproducible: Always
Steps to Reproduce:
1. Start an emerge operation. emerge -puDv world is a good one as it takes a few 
seconds.
2. Hit Control-C before it finishes.
Actual Results:  
A variety of interesting yet false error messages about how broken portage is 
and how to recover it (e.g. "!!! Failed to complete portage imports..."), and/or 
a Python stack trace.

Expected Results:  
Catch the signal and close cleanly, or at least close without incorrect output.

n/a
Comment 1 Zac Medico gentoo-dev 2005-10-18 01:50:57 UTC
*** Bug 91200 has been marked as a duplicate of this bug. ***
Comment 2 Zac Medico gentoo-dev 2005-12-22 16:54:05 UTC
*** Bug 116434 has been marked as a duplicate of this bug. ***
Comment 3 Zac Medico gentoo-dev 2006-07-25 23:14:07 UTC
This has been fixed for some time (at least >=2.1).