First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 109707
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mark Felder <felderado@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
foldingathome working initscript text/plain Alex Dedul 2005-10-30 07:48 0000 1.63 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 109707 depends on: Show dependency tree
Show dependency graph
Bug 109707 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-18 07:24 0000
using the initscript supplied with foldingathome 5.0.2-r4 causes the program to 
hang at 100%cpu and not download any work units and process them. It may be 
hanging in --config-only, i'm not sure. I consider this to be a MAJOR break in 
the package because the way foldingathome is setup on Gentoo makes the user 
WANT to use the initscript because it will auto detect the amount of CPUs and 
start up instances for each one. Without the initscript it is a pain to run 
this software.

Reproducible: Always
Steps to Reproduce:
1.Emerge foldingathome ~x86
2./etc/init.d/foldingathome start
3.Foldingathome now hangs in a loop and never gets any work done.

Actual Results:  
Foldingathome now hangs in a loop and never gets any work done.


Expected Results:  
It should download the work units and start processing them.

Portage 2.0.53_rc5 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-
gentoo-r4 i686)
=================================================================
System uname: 2.6.13-gentoo-r4 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.12.0_pre9
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X1
1/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo 
http://gentoo.seren.com/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac alsa amd apm audiofile avi bash-completion berkdb bitmap-
fonts browserplugin bzip2 bzlib cddb cdparanoia cdr cdrom chroot codecs crypt 
cups curl dhcp divx4linux dvd dvdr dvdread eds emboss encode esd ext-png ext-
zlib fam ffmpeg firefox flac foomaticdb fortran freetype gdbm gif gnome gpm 
gstreamer gtk gtk2 gtkhtml hal icecast ide imlib imlib2 ipv6 java jpeg libg++ 
libwww mad mikmod mmx motif mozpango mozsvg mp3 mpeg mpeg4 mplayer ncurses nls 
nptl nptlonly nvidia ogg oggvorbis openal opengl oss pam pdf pdflib perl png 
ppds python qt quicktime readline samba sdl spell sse ssl svga tcpd theora tiff 
truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd videos 
vorbis win32codecs wmf xine xml2 xv xvid zlib userland_GNU kernel_linux 
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Alex Dedul 2005-10-30 07:48:09 0000 -------
Created an attachment (id=71730) [edit]
working initscript

Added option "--chdir /opt/foldingathome/client${CPU}/" to start-stop-daemon,
otherwise client gets started in / and does nothing.

------- Comment #2 From Alex Dedul 2005-11-09 22:28:17 0000 -------
Any chances to see changes to initscript in portage ?

------- Comment #3 From Leonardo Ferreira Fontenelle 2005-11-28 16:54:50 0000 -------
(In reply to comment #1)
> Created an attachment (id=71730) [edit]
Didn't work for me. How do I get a usable output?

------- Comment #4 From Nathan Caldwell 2005-12-17 22:17:49 0000 -------
Came up with this same change myself. So it works for me.

------- Comment #5 From Ross Dougherty 2006-01-02 01:53:55 0000 -------
I had the same problem when I upgraded to the new initscript. The above fix has
solved it for me too.

------- Comment #6 From Mark Felder 2006-01-02 02:01:12 0000 -------
I feel that this has been open way too long. I'm reassigning to sci@gentoo.org.

Can you please test the fix listed and confirm it works, then SQUASH this bug!
An initscript bug shouldn't be open THIS long.



-Mark

------- Comment #7 From Chad A. Simmons 2006-02-05 18:43:06 0000 -------
VERIFIED here corrects problem. Is definately the problem as seen from the
strace from the initscript on gentoo rsync
open("client.cfg", O_WRONLY|O_CREAT, 0750) = -1 EACCES (Permission denied)
occurs because foldingathome user has no access in /
please commit to portage

------- Comment #8 From Travis Morgan 2006-02-23 11:36:51 0000 -------
I came up with the same fix myself and it works spiffy.

------- Comment #9 From François MASSON 2006-03-16 15:39:07 0000 -------
this ebuild doesn't work
You need to replace --chuid with --user on the start-stop-daemon statment

------- Comment #10 From Nathan Caldwell 2006-06-14 21:10:14 0000 -------
Is this ever going to get fixed????

------- Comment #11 From Patrick Kursawe 2006-06-16 02:00:01 0000 -------
Just tried it and can't reproduce the problem. But since adding the --chdir
should do no harm, I'll just add this to -r5.

First Last Prev Next    No search results available      Search page      Enter new bug