Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20327 - broken stop() in foldingathome init.d script
Summary: broken stop() in foldingathome init.d script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-02 09:05 UTC by Roderick van Domburg
Modified: 2003-05-05 16:03 UTC (History)
0 users

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


Attachments
Fixed /etc/init.d/foldingathome (foldingathome,528 bytes, text/plain)
2003-05-02 09:06 UTC, Roderick van Domburg
Details
Fixed /etc/init.d/foldingathome (revised) (foldingathome,538 bytes, text/plain)
2003-05-04 19:55 UTC, Roderick van Domburg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roderick van Domburg 2003-05-02 09:05:40 UTC
Currently, stop() in /etc/init.d/foldingathome only tries to kill
FahCore_78.exe. However, the exact filename depends on the actual project
running. For instance, my Folding@Home 3.24 is currently running FahCore_65.exe.

This causes the computation core to be shutdown incorrectly. Although I haven't
experienced any grave failures (i.e. lost work or anything of the kind) other
than complaints on the console, I have attached a substitute init.d script.

This new init.d script basically cycles through all available projects in
/opt/foldingathome and tries to shutdown every one of them.
Comment 1 Roderick van Domburg 2003-05-02 09:06:43 UTC
Created attachment 11383 [details]
Fixed /etc/init.d/foldingathome

Fixes stop() by cycling through all available projects.
Comment 2 Roderick van Domburg 2003-05-04 19:55:17 UTC
Created attachment 11485 [details]
Fixed /etc/init.d/foldingathome (revised)

A cosmetic update to the previous version. Now only kills FahCore*.exe,
supressing all output if one of the cores wasn't running.
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2003-05-05 16:03:43 UTC
Fixed