GNU bug report logs - #32814
Error running guix system container

Previous Next

Package: guix;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Sun, 23 Sep 2018 20:47:01 UTC

Severity: important

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32814 in the body.
You can then email your comments to 32814 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#32814; Package guix. (Sun, 23 Sep 2018 20:47:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Julien Lepiller <julien <at> lepiller.eu>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 23 Sep 2018 20:47:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: bug-guix <at> gnu.org
Subject: Error running guix system container
Date: Sun, 23 Sep 2018 22:46:18 +0200
Hi, I built a container on a foreign distro using:

guix system container config.scm

but then, when I run it most services can't start. From inside the
container I tried to start the postgresql service I configured and got
this message from the shepherd:

herd: exception caught while executing 'start' on service 'udev':
In procedure open-file: No such file or directory:
"/run/booted-system/kernel/lib/modules/4.9.0-7-amd64/modules.devname"

From IRC, I got this hint:

22:32 < civodul> roptat: re module loading, i was referring to what
(gnu build linux-boot) does
22:33 < civodul> see make-static-device-nodes, which is itself called
from the udev 'start' method
22:35 < civodul> see commit 86e6b4c93104e2f83429b9e12f15ed62341289b4
22:35 < civodul> i suppose we could skip that in containers




Severity set to 'important' from 'normal' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Wed, 26 Sep 2018 09:39:01 GMT) Full text and rfc822 format available.

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Wed, 26 Sep 2018 21:44:02 GMT) Full text and rfc822 format available.

Notification sent to Julien Lepiller <julien <at> lepiller.eu>:
bug acknowledged by developer. (Wed, 26 Sep 2018 21:44:02 GMT) Full text and rfc822 format available.

Message #12 received at 32814-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: 32814-done <at> debbugs.gnu.org
Subject: Re: bug#32814: Error running guix system container
Date: Wed, 26 Sep 2018 23:43:48 +0200
Julien Lepiller <julien <at> lepiller.eu> skribis:

> Hi, I built a container on a foreign distro using:
>
> guix system container config.scm
>
> but then, when I run it most services can't start. From inside the
> container I tried to start the postgresql service I configured and got
> this message from the shepherd:
>
> herd: exception caught while executing 'start' on service 'udev':
> In procedure open-file: No such file or directory:
> "/run/booted-system/kernel/lib/modules/4.9.0-7-amd64/modules.devname"

Commit 23784f0c3342a0fab5bf2a1c15c300b9f0856872 fixes it in a crude but
efficient way.  :-)

Commit 09b7300c01a8e7100467c6caae9b2c8d8e673971 also helps.

From there I can spawn a ‘guix system container’ script just fine.  The
tty services fail to start, but that’s fine, we don’t need them; you can
still enter the container namespaces, run “herd status” etc.

Thanks,
Ludo’.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 25 Oct 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.