From unknown Mon Jun 23 13:13:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32814: Error running guix system container Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 23 Sep 2018 20:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32814 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 32814@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.153773561429752 (code B ref -1); Sun, 23 Sep 2018 20:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Sep 2018 20:46:54 +0000 Received: from localhost ([127.0.0.1]:51146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4BHK-0007jn-GB for submit@debbugs.gnu.org; Sun, 23 Sep 2018 16:46:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4BHH-0007jY-M9 for submit@debbugs.gnu.org; Sun, 23 Sep 2018 16:46:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4BHB-0005yk-Bj for submit@debbugs.gnu.org; Sun, 23 Sep 2018 16:46:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52847) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g4BHA-0005xd-C4 for submit@debbugs.gnu.org; Sun, 23 Sep 2018 16:46:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4BH9-0005Ew-49 for bug-guix@gnu.org; Sun, 23 Sep 2018 16:46:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4BH3-0005s3-BS for bug-guix@gnu.org; Sun, 23 Sep 2018 16:46:42 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:44590) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g4BH2-0005pN-8T for bug-guix@gnu.org; Sun, 23 Sep 2018 16:46:37 -0400 Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by lepiller.eu (OpenSMTPD) with ESMTPSA id c7ad9c84 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for ; Sun, 23 Sep 2018 20:48:05 +0000 (UTC) Date: Sun, 23 Sep 2018 22:46:18 +0200 From: Julien Lepiller Message-ID: <20180923224618.310784fc@lepiller.eu> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) 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" =46rom 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 26 05:38:33 2018 Received: (at control) by debbugs.gnu.org; 26 Sep 2018 09:38:33 +0000 Received: from localhost ([127.0.0.1]:54413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g56HB-0007hx-21 for submit@debbugs.gnu.org; Wed, 26 Sep 2018 05:38:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:32785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g56H9-0007hl-GH for control@debbugs.gnu.org; Wed, 26 Sep 2018 05:38:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g56H3-00007E-Sc for control@debbugs.gnu.org; Wed, 26 Sep 2018 05:38:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g56H3-000074-I9 for control@debbugs.gnu.org; Wed, 26 Sep 2018 05:38:25 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54444 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g56H3-00044r-6L for control@debbugs.gnu.org; Wed, 26 Sep 2018 05:38:25 -0400 Date: Wed, 26 Sep 2018 11:38:23 +0200 Message-Id: <874lec4n00.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #32814 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) severity 32814 important From unknown Mon Jun 23 13:13:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Julien Lepiller Subject: bug#32814: closed (Re: bug#32814: Error running guix system container) Message-ID: References: <8736tw0wa3.fsf@gnu.org> <20180923224618.310784fc@lepiller.eu> X-Gnu-PR-Message: they-closed 32814 X-Gnu-PR-Package: guix Reply-To: 32814@debbugs.gnu.org Date: Wed, 26 Sep 2018 21:44:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1537998242-987-1" This is a multi-part message in MIME format... ------------=_1537998242-987-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #32814: Error running guix system container which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 32814@debbugs.gnu.org. --=20 32814: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32814 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1537998242-987-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 32814-done) by debbugs.gnu.org; 26 Sep 2018 21:43:59 +0000 Received: from localhost ([127.0.0.1]:55708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5HbC-0000FY-OS for submit@debbugs.gnu.org; Wed, 26 Sep 2018 17:43:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5HbB-0000FI-1L for 32814-done@debbugs.gnu.org; Wed, 26 Sep 2018 17:43:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5Hb5-0002J7-8S for 32814-done@debbugs.gnu.org; Wed, 26 Sep 2018 17:43:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5Hb4-0002In-TN; Wed, 26 Sep 2018 17:43:51 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39616 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g5Hb3-0005Vb-Cq; Wed, 26 Sep 2018 17:43:50 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Julien Lepiller Subject: Re: bug#32814: Error running guix system container References: <20180923224618.310784fc@lepiller.eu> Date: Wed, 26 Sep 2018 23:43:48 +0200 In-Reply-To: <20180923224618.310784fc@lepiller.eu> (Julien Lepiller's message of "Sun, 23 Sep 2018 22:46:18 +0200") Message-ID: <8736tw0wa3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32814-done Cc: 32814-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Julien Lepiller 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 =E2=80=98guix system container=E2=80=99 script jus= t fine. The tty services fail to start, but that=E2=80=99s fine, we don=E2=80=99t need = them; you can still enter the container namespaces, run =E2=80=9Cherd status=E2=80=9D etc. Thanks, Ludo=E2=80=99. ------------=_1537998242-987-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 23 Sep 2018 20:46:54 +0000 Received: from localhost ([127.0.0.1]:51146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4BHK-0007jn-GB for submit@debbugs.gnu.org; Sun, 23 Sep 2018 16:46:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4BHH-0007jY-M9 for submit@debbugs.gnu.org; Sun, 23 Sep 2018 16:46:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4BHB-0005yk-Bj for submit@debbugs.gnu.org; Sun, 23 Sep 2018 16:46:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52847) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g4BHA-0005xd-C4 for submit@debbugs.gnu.org; Sun, 23 Sep 2018 16:46:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4BH9-0005Ew-49 for bug-guix@gnu.org; Sun, 23 Sep 2018 16:46:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4BH3-0005s3-BS for bug-guix@gnu.org; Sun, 23 Sep 2018 16:46:42 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:44590) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g4BH2-0005pN-8T for bug-guix@gnu.org; Sun, 23 Sep 2018 16:46:37 -0400 Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by lepiller.eu (OpenSMTPD) with ESMTPSA id c7ad9c84 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for ; Sun, 23 Sep 2018 20:48:05 +0000 (UTC) Date: Sun, 23 Sep 2018 22:46:18 +0200 From: Julien Lepiller To: bug-guix@gnu.org Subject: Error running guix system container Message-ID: <20180923224618.310784fc@lepiller.eu> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) 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" =46rom 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 ------------=_1537998242-987-1--