From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#33676: GuixSD on eoma68-a20? Date: Sun, 09 Dec 2018 16:32:00 -0500 Message-ID: <87in0275ec.fsf__25818.6747706079$1544391128$gmane$org@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]:35589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gW6iE-0005QW-Cm for bug-guix@gnu.org; Sun, 09 Dec 2018 16:34:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gW6iA-0004VK-1m for bug-guix@gnu.org; Sun, 09 Dec 2018 16:34:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:36035) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gW6i9-0004Tw-UV for bug-guix@gnu.org; Sun, 09 Dec 2018 16:34:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gW6i9-00063J-K2 for bug-guix@gnu.org; Sun, 09 Dec 2018 16:34:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20181209124800.495326cd@scratchpost.org> (Danny Milosavljevic's message of "Sun, 9 Dec 2018 12:48:00 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" 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