Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9535 - foldingathome-3.14.ebuild (new ebuild)
Summary: foldingathome-3.14.ebuild (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-23 03:03 UTC by Ryan Shaw
Modified: 2003-02-04 19:42 UTC (History)
3 users (show)

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


Attachments
foldingathome-3.14.ebuild (foldingathome-3.14.ebuild,1.12 KB, text/plain)
2002-10-23 03:04 UTC, Ryan Shaw
Details
boot script (folding-init.d,202 bytes, text/plain)
2002-10-23 03:05 UTC, Ryan Shaw
Details
foldingathome-3.14.ebuild (without nobody.nogroup) (foldingathome-3.14.ebuild,1.01 KB, text/plain)
2002-10-23 03:50 UTC, Ryan Shaw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Shaw 2002-10-23 03:03:43 UTC
This will install the folding@home client along with a boot script that allows
the user to run the client at boot. It is modelled after the setiathome ebuild.
Comment 1 Ryan Shaw 2002-10-23 03:04:13 UTC
Created attachment 4922 [details]
foldingathome-3.14.ebuild
Comment 2 Ryan Shaw 2002-10-23 03:05:47 UTC
Created attachment 4923 [details]
boot script
Comment 3 Ryan Shaw 2002-10-23 03:36:46 UTC
I'm not sure about the nobody.nogroup stuff here. The setiathome ebuild was
chowning the directory and executable to nobody.nogroup. I believe it was 
intending to set the executable +s as well so that it would run as nobody.
But, I don't think the actual executable is being set +s in that ebuild,
perhaps due to a typo (it has "chmod +s ${S}/setiathome" where it should 
probably have "chmod +s ${D}/${I}/setiathome"). In any case, I was under
the impression that daemons which create files should NOT be run as "nobody"
because "nobody" should never own any files on the system.
Comment 4 Ryan Shaw 2002-10-23 03:50:59 UTC
Created attachment 4925 [details]
foldingathome-3.14.ebuild (without nobody.nogroup)
Comment 5 Ryan Shaw 2002-10-23 03:58:40 UTC
I've submitted another version of the ebuild without the nobody.nogroup stuff.
The reason is that even if foldingathome is set +s and runs as user nobody,
another process called FahCore_c9.exe is started that runs as root.
FahCore_c9.exe is downloaded by foldingathome after it starts running, and if we
later chown the downloaded/created files and FahCore_c9.exe to nobody and set
FahCore_c9.exe +s, foldingathome starts having problems. So, for now I am just
running it as root.
Comment 6 SpanKY gentoo-dev 2002-10-23 19:07:56 UTC
yeah the whole seti@home stuff is weak ... i'm in the process of re-writing it 
now ;) 
 
(and i was the one who wrote most of the original seti@home stuff heh) 
Comment 7 Daniel Ahlberg (RETIRED) gentoo-dev 2002-11-04 07:25:35 UTC
Commited, thanks for the ebuild!