The sci-misc/boinc-6.4.5-r1 "attach" initscript function is incorrect. It is currently: $BOINCBIN --chuid ${USER}:${GROUP} --attach_project $url $key &> /dev/null It should be: /usr/bin/boinc_cmd --project_attach $url $key Reproducible: Always Steps to Reproduce: 0. Get your project URL and key. 1. Wipe out /var/lib/boinc 2. run /etc/init.d/boinc attach 3. Enter your project URL and key. 4. Tail the BOINC log file... watch as BOINC does nothing, as it's not attached to a project. Expected Results: I would expect BOINC to be correctly attached to a project. Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-tuxonice-r3 i686) ================================================================= System uname: Linux-2.6.28-tuxonice-r3-i686-Intel-R-_Core-TM-_Duo_CPU_L2400_@_1.66GHz-with-gentoo-2.0.0 Timestamp of tree: Sat, 18 Apr 2009 02:00:03 +0000 app-shells/bash: 4.0_p17-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r15, 2.5.4-r2, 2.6.1-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.3 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-l 4.0" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa avahi bash-completion berkdb bzip2 caps cdr cli cracklib crypt cups dbus dri dvd ffmpeg flac fortran gdbm gpm gtk hal iconv ieee1394 inotify ipv6 isdnlog java jpeg kde kerberos lame ldap mad matroska midi mmx mp3 mudflap mysql ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcmcia pcre perl png postgres pppd pulseaudio python qt qt3 qt4 readline reflection samba sasl sdl session slp sndfile speex spell spl sse sse2 sse3 ssl svg sysfs tcpd theora tiff truetype unicode usb v4l2 vim-syntax vorbis wifi win32codecs wireless x86 xattr xinerama xorg xv xvid zeroconf zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev wacom synaptics spaceorb" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
hm it workie here :(
(In reply to comment #1) > hm it workie here :( > It could be openrc vs baselayout-1 issue...
(In reply to comment #2) > (In reply to comment #1) > > hm it workie here :( > > > It could be openrc vs baselayout-1 issue... > No - it's the "--chuid" option that's causing the error. I am using boinc-6.4.5-r2 and neither "/usr/bin/boinc_cmd" nor "/usr/bin/boinc_client" do understand such a command line option. Both programs terminate with the error message "Unknown option: --chuid". Just to get boinc off the ground I allowed the user "boinc" to login (replacing "nologin" in boinc's /etc/passwd line) and logged in as boinc. Then I executed the command "boinc_client --attach_project <URL> <my key>" manually. After sucessful attaching to the desired project I stopped the boinc process by issuing Ctrl-C because I don't like to watch long running processes in a terminal window. After logging the user boinc out I issued "/etc/init.d/boinc start" as root and boinc continued where it left off before.
Hmm good idea, i switched to alternative approach for perms on that stuff. I added it to main tree. Please reopen the bug if you still suffer from the bug and sorry for the delays in fixing this stuff...