unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: 29881@debbugs.gnu.org, dnbarbato@posteo.de
Subject: bug#29881: guix system reconfigure fails if config.scm contains LUKS	mapped-devices
Date: Thu, 28 Dec 2017 17:30:01 -0500	[thread overview]
Message-ID: <C96046B1-2B95-433A-8663-A05557A93F7F@famulari.name> (raw)
In-Reply-To: <87tvwa33ab.fsf@GlaDOS.home>

Can you send your config.scm? 

Without it, it's hard to know if there is a problem with your config.scm or the Guix mapper-devices code.


-------- Original Message --------
From: Diego Nicola Barbato <dnbarbato@posteo.de>
Sent: December 28, 2017 5:18:04 PM EST
To: 29881@debbugs.gnu.org
Subject: bug#29881: guix system reconfigure fails if config.scm contains LUKS	mapped-devices

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

  reply	other threads:[~2017-12-28 22:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-28 22:18 bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices Diego Nicola Barbato
2017-12-28 22:30 ` Leo Famulari [this message]
2017-12-28 23:04   ` dnbarbato
2017-12-29 13:41 ` Ludovic Courtès
2017-12-29 17:33   ` Mark H Weaver
2017-12-30  0:19     ` Ludovic Courtès
2017-12-30 13:55   ` Diego Nicola Barbato
2018-01-07  2:24   ` Mike Gerwitz
2018-01-10 21:47   ` Mark H Weaver
2018-01-15 22:33     ` Ludovic Courtès
2018-03-05  9:58       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C96046B1-2B95-433A-8663-A05557A93F7F@famulari.name \
    --to=leo@famulari.name \
    --cc=29881@debbugs.gnu.org \
    --cc=dnbarbato@posteo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).