From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2CB01138216 for ; Mon, 2 May 2016 10:16:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73B7A21C00D; Mon, 2 May 2016 10:16:31 +0000 (UTC) Received: from smarthost03c.mail.zen.net.uk (smarthost03c.mail.zen.net.uk [212.23.1.22]) by pigeon.gentoo.org (Postfix) with ESMTP id 3693EE0852 for ; Mon, 2 May 2016 10:16:29 +0000 (UTC) Received: from [82.69.80.10] (helo=peak.localnet) by smarthost03c.mail.zen.net.uk with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1axAtx-0003oP-6n for gentoo-user@lists.gentoo.org; Mon, 02 May 2016 10:16:29 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: SOLVED Re: [gentoo-user] ATLAS@home and VirtualBox Date: Mon, 02 May 2016 11:16:28 +0100 Message-ID: <37495985.1ysEgAyBxv@peak> User-Agent: KMail/4.14.10 (Linux/4.5.1-gentoo; KDE/4.14.16; x86_64; ; ) In-Reply-To: <3693945.XrbfYeRIWe@peak> References: <7098117.XFUoknPhzm@peak> <3693945.XrbfYeRIWe@peak> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost03c-IP: [82.69.80.10] X-Archives-Salt: f00d9a55-ff42-40df-a5cc-72182988c113 X-Archives-Hash: 6131d93924c98e6e1268ae7befcc7c59 On Wednesday 27 Apr 2016 10:03:58 Peter Humphrey wrote: > On Tuesday 26 Apr 2016 19:54:09 Gregory Woodbury wrote: > > On Tue, Apr 26, 2016 at 5:40 AM, Peter Humphrey > > > > wrote: > > > Has anyone here succeeded in getting this BOINC project to run? No > > > matter > > > what I try, I get "task postponed 86400.000000 sec: Communication with > > > VM > > > Hypervisor failed." > > > > Is the "user" boinc runs as in the vboxusers" group? > > By default, boinc runs as a non-root (daemon?) user and if its group is > > not in the vboxusers group, > > VirtualBox will not start or run for the user. > > > > The recommended workaround is to run boinc as a real user (generally > > "you") so that things operate properly. Additionally, the actual way > > that the cernvm runs can change "just a bit" and it will upset the > > balance of getting VBox to run boinc tasks. > > Thanks for the reply. Yes, boinc is running as me, as shown below, and I > am in the vboxusers group. Boinc is also in that group. All the files and > directories under ~/boinc and ~/.VirtualBox are owned prh:prh. But I've > just noticed that the files under ~/.VirtualBox are all 0600; I wonder if > that's thet problem: that the boinc user can't read them. But then boinc > is running as me, the owner of all the files involved. > > I'm going round in circles again. > > $ ps U prh > 710 ? SNsl 4:10 /usr/bin/boinc_client --daemon --dir > /home/prh/boinc --redirectio 880 ? Sl 22:23 /usr/bin/boincmgr > [...] > 19613 ? RN 372:47 > ../../projects/www.cosmologyathome.org/camb_2.16_i686-pc-linux-gnu > params.ini [...] > 24897 ? SNl 0:08 > ../../projects/pogs.theskynet.org_pogs/wrapper_x86_64-pc-linux-gnu_4.02 > [...] > 28001 ? RN 7:17 ./fit_sed 10 filters.dat observations.dat > [...] The fix has already been done, silently - no outward evidence other than the dates on a couple of files. I only found out when I compared a new installation with what I'd backed up a few hours earlier. The problem was that /etc/init.d/boinc was starting the client with an su command, but now a start-stop-daemon call has been substituted. Job done. I can now move on to the next problem. :) -- Rgds Peter