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

Bug 48892

Summary: emerge exits in multiple consoles when I kill one instance
Product: Gentoo Linux Reporter: Cedric Vonck <cedricvonck>
Component: [OLD] Core systemAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: 2004.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cedric Vonck 2004-04-24 12:47:30 UTC
When I was doing an emerge kde in the root console (vc/1), I also did emerge vim in console 2 (vc/2).  When I killed the second emerge while it was downloading the sources, the first emerge (of kde) was also killed.

Reproducible: Always
Steps to Reproduce:
1. login as root, emerge something large
2. goto the second console, emerge something else
3. do a ctrl c => both emerge's are crashing

Actual Results:  
Both emerge's where killed.
They both exited with an error warning.

Expected Results:  
The software should only have killed the second instance of the emerge.

Gentoo 2004.0
Pentium 4  3.0 ghz Ht
Comment 1 Brian Harring (RETIRED) gentoo-dev 2005-02-28 00:42:19 UTC
Err... no.
This isn't possible.  If you can duplicate it, reopen with details of *exactly* how you're managing this- basically, emerge instances don't really know of each other.  They only thing they know of is locks- that wouldn't cause both instances to die though.
Comment 2 Cedric Vonck 2005-02-28 09:43:50 UTC
On my Vmware installation with Gentoo 2004.2, Portage version (emerge --version) 2.0.50-r9 (gcc 3.3.3, glibc 2.3.3.20040420-r0, 2.4.20-gentoo-r9 kernel) I can kill on of both emerges in progress without the other one quiting.