Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30600 - Mldonkey frontend closes, but not the mlnet process thread
Summary: Mldonkey frontend closes, but not the mlnet process thread
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Markus Nigbur (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-07 13:07 UTC by Arne Mejlholm (RETIRED)
Modified: 2003-10-17 09:50 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arne Mejlholm (RETIRED) gentoo-dev 2003-10-07 13:07:51 UTC
When closing mldonkey the front-end closes correctly, but the mlnet process
doesn't. You have to do an killall mlnet in order to shut it down completely.

Reproducible: Always
Steps to Reproduce:
1. emerge mldonkey
2. start mldonkey
3. close mldonkey

Actual Results:  
The process mlnet was still running

Expected Results:  
Shut down both :)
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2003-10-07 14:00:42 UTC
What I usually do is choosing "Kill core" from the File menu before shutting
down the frontend.

In case of need, mldonkey can also be closed cleanly by telnet:
#telnet localhost 4000
>kill

However, mldonkey (mlnet) _is_ a deamon and it makes sense it has this behaviour.

HTH
Gregorio
Comment 2 Arne Mejlholm (RETIRED) gentoo-dev 2003-10-07 14:52:02 UTC
Yes, I am aware that it is a deamon. But if mldonkey can start a deamon then
it should also be able to stop it. Nice and clean :)
Comment 3 Markus Nigbur (RETIRED) gentoo-dev 2003-10-07 15:02:23 UTC
how about /etc/init.d/mldonkey start|stop?
Comment 4 Arne Mejlholm (RETIRED) gentoo-dev 2003-10-08 00:43:24 UTC
Mldonkey only a script that starts the mlnet deamon.
What I think is needed is a way to shut both the mlnet deamon and the mldonkey
app  down at the same time. 
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-17 09:50:43 UTC
not a bug, but a feature! you can stop mldonkey via init script, killall
or the gui.