Bug 126561 (blackhat)

Summary: KDE Konsole kills children
Product: [Fedora] Fedora Reporter: Nicola Degara <nicola.degara>
Component: kdebaseAssignee: Than Ngo <than>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-23 15:57:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nicola Degara 2004-06-23 09:21:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

Description of problem:
Hi guys. 
I was not able to find the component konsole in the list of the
"products" so I have choosen the xterm... please be patient!

I have found a strange thing from the previous version, infact if I
start an application from the console by typing [myapplication &], the
application will start correctely but when I close the konsole the
same program (obviously child of the current console) will be killed.

I do not understand if it is a feature or a bug. :-)
Also because if you use ssh you can start remote application without
loose their run status after the exit.


Version-Release number of selected component (if applicable):
1.3.2

How reproducible:
Always

Steps to Reproduce:
1.type in konsole> gkrellm &
2.close konsole
3.bye bye application
    

Actual Results:  The child application dies

Expected Results:  I do not know if it is a bug or a feature

Additional info:

I will put as enhancement in order to avoid any misunderstanding for
my ticket.

Comment 1 Than Ngo 2004-06-23 15:57:11 UTC
It does not have to do with konsole! konsole does not kill the child
application. It looks like the windows manager does it here.

if you terminate konsole with "exit", your child applications still run.

I don't think it's a bug.

Comment 2 Nicola Degara 2004-06-24 04:41:29 UTC
dear Than,
  your "it looks like" means that it is a behaviour of the windows
manager right?
It is not a bug of the console and for this I trust you but I do not
think it is the right behaviour for the windows manager.

Anyway if you try to start a X application it will be killed and the
PID will killed also. (in the past version this worked in this way!)
Bye

Nicola

Comment 3 Havoc Pennington 2004-06-24 18:30:21 UTC
This is correct, when a shell exits it kills its child processes.

To avoid this do:

bash$ mycommand &
bash$ disown