From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Nicola Barbato Subject: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices Date: Thu, 28 Dec 2017 23:18:04 +0100 Message-ID: <87tvwa33ab.fsf@GlaDOS.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eUgW3-0006fh-Vw for bug-guix@gnu.org; Thu, 28 Dec 2017 17:19:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eUgVy-0002vN-RV for bug-guix@gnu.org; Thu, 28 Dec 2017 17:19:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46825) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eUgVy-0002vH-Mp for bug-guix@gnu.org; Thu, 28 Dec 2017 17:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eUgVy-0002Jm-F6 for bug-guix@gnu.org; Thu, 28 Dec 2017 17:19:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eUgVL-0006Pd-F9 for bug-guix@gnu.org; Thu, 28 Dec 2017 17:18:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eUgVG-0002Bw-3q for bug-guix@gnu.org; Thu, 28 Dec 2017 17:18:23 -0500 Received: from mout01.posteo.de ([185.67.36.65]:33748) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eUgVF-00021P-FS for bug-guix@gnu.org; Thu, 28 Dec 2017 17:18:17 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 3893720E71 for ; Thu, 28 Dec 2017 23:18:07 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3z73y622K2z9rxJ for ; Thu, 28 Dec 2017 23:18:05 +0100 (CET) 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: 29881@debbugs.gnu.org Hello Guix, When running `guix system reconfigure /etc/config.scm' as root I get the following error: guix system: error: failed to load '/etc/config.scm': /etc/config.scm:24:9: /etc/config.scm:24:9: In procedure allocate-struct: Wrong type argument in position 2: 3 This error appears for the first time in commit 4ca90ff5976434a2b6e758df38df54387ae70c1b. On line 24 of my config file I have declared a mapped device of type luks-device-mapping. If the config file does not contain any mapped-devices declaration `guix system reconfigure' works as expected (checked in a VM). I run GuixSD on a x86_64 machine. Greetings Diego N. Barbato