From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: GuixSD on eoma68-a20? Date: Sun, 09 Dec 2018 16:32:00 -0500 Message-ID: <87in0275ec.fsf@netris.org> References: <68f9fc17-94f5-dcc2-f54d-61d6e2bf384d@riseup.net> <20181208181214.2308472a@scratchpost.org> <87pnubn386.fsf@netris.org> <20181209124800.495326cd@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gW6hL-0004ze-NT for guix-devel@gnu.org; Sun, 09 Dec 2018 16:33:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gW6hH-00022x-Gp for guix-devel@gnu.org; Sun, 09 Dec 2018 16:33:11 -0500 In-Reply-To: <20181209124800.495326cd@scratchpost.org> (Danny Milosavljevic's message of "Sun, 9 Dec 2018 12:48:00 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org, 33676@debbugs.gnu.org Hi Danny and Ludovic, Danny Milosavljevic writes: > After the change, I get the following on Hydra : > > --------------------------------------------------------------------------- > @ build-started /gnu/store/scnqgfc3k4434h3gch22hnh0z8qdbvdb-disk-image.drv - x86_64-linux /var/log/guix/drvs/sc//nqgfc3k4434h3gch22hnh0z8qdbvdb-disk-image.drv.bz2 > environment variable `PATH' set to `/gnu/store/5ka9gmcwcj2919q0cj0wkjng058lwrgq-qemu-minimal-3.0.0/bin:/gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin' > creating raw image of 1024.00 MiB... > Formatting '/gnu/store/4yp6s4jlq2frb2jqzd7q3kp99vzmnpm5-disk-image', fmt=raw size=1073741824 > Could not access KVM kernel module: Permission denied > qemu-system-x86_64: failed to initialize KVM: Permission denied This indicates that /dev/kvm on hydra.gnunet.org has permissions that prevent the guix build user from accessing it. I raised this issue long ago (2015) on the guix-sysadmin mailing list. In that message, I noted that on hydra.gnunet.org, /dev/kvm has mode 0600 and is owned by root, which caused our disk image derivations to fail. At the time, Ludovic chmod'd /dev/kvm, and mentioned that he had tried to make this persistent via /etc/udev/rules.d/70-persistent-net.rules, but that for some reason that didn't seem to work, possibly because it was being overridden by another rule or startup script. As far as I know, we never implemented a proper fix. Ludovic, for now, can you chmod it again? Thanks, Mark