From unknown Mon Jun 23 02:24:34 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#65847 <65847@debbugs.gnu.org> To: bug#65847 <65847@debbugs.gnu.org> Subject: Status: system container gathering entropy takes forever Reply-To: bug#65847 <65847@debbugs.gnu.org> Date: Mon, 23 Jun 2025 09:24:34 +0000 retitle 65847 system container gathering entropy takes forever reassign 65847 guix submitter 65847 oscar.quijano@use.startmail.com severity 65847 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 09 18:57:07 2023 Received: (at submit) by debbugs.gnu.org; 9 Sep 2023 22:57:07 +0000 Received: from localhost ([127.0.0.1]:48598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qf6t0-0005CA-Kf for submit@debbugs.gnu.org; Sat, 09 Sep 2023 18:57:07 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qf5go-0003Gh-Ff for submit@debbugs.gnu.org; Sat, 09 Sep 2023 17:40:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qf5gf-0003kh-Ni for bug-guix@gnu.org; Sat, 09 Sep 2023 17:40:17 -0400 Received: from mx-out1.startmail.com ([145.131.90.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qf5gc-0006O4-1g for bug-guix@gnu.org; Sat, 09 Sep 2023 17:40:16 -0400 Content-Type: multipart/alternative; boundary="===============3219278866364173718==" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=startmail.com; s=2020-07; t=1694295603; bh=vWm1+a3M10Zsi2973DkCmdZiFLIPoYTYW+UjzJjTEQs=; h=Content-Type:Subject:Message-ID:Date:From:To:Mime-Version:From: Subject:To:Date:Sender:Content-Type:Content-Transfer-Encoding: Content-Disposition:Mime-Version:Reply-To:In-Reply-To:References: Message-Id:Autocrypt; b=K3U6G1Di1LIaT0oZ1oSErT2H9fySRcjbcreWR9mW/9Ly5IRLmnTICIJf6rgwXWsLA 4OPmJfEC6TiHBv3YtdKOJLwxPwKCyiidgaUzkP3EiaTuLG09KDcglbFE3uXe+IcodD UEOPtqvojw+0eP9hKTrrD/GehKAtMymv3/Fb1cKoJXYjXS1m4QIImmYJqZ15+fYJT2 RiiNAqJs7TVZgXwNefjUBERnc1ROLNO7wF1p+R1zlPLbNtZPlKUEIu+z27dDhdQj+F ixyGOcn4YrQpLt+Y6Uw6lbOADnHLnVbNT2NDvg97rCkNLg1hxPVt27SfMWTzMD1qsk 2TdP+mcqn4VVQ== Subject: system container gathering entropy takes forever Message-ID: <169429560260.33.10975489889094933630@startmail.com> Date: Sat, 09 Sep 2023 21:40:02 -0000 From: oscar.quijano@use.startmail.com To: bug-guix@gnu.org Mime-Version: 1.0 Received-SPF: pass client-ip=145.131.90.139; envelope-from=oscar.quijano@use.startmail.com; helo=mx-out1.startmail.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 09 Sep 2023 18:57:05 -0400 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: -0.0 (/) --===============3219278866364173718== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable New containers get stuck with a message similar to the following one: = =20 guile: warning: failed to install locale =20 system container is running as PID 85878W =20 ARNING: (guile-user): imported module (guix build utils) overrides core binding `delete' =20 Run 'sudo guix container exec 85878 /run/current-system/profile/bin/bash --login' =20 or run 'sudo nsenter -a -t 85878' to get a shell into it. =20 =20 WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete' =20 making '/gnu/store/gkqmm80naf3zw2n20ml11q7xb2nbnglg-system' the current system... =20 WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete' =20 setting up setuid programs in '/run/setuid-programs'... =20 populating /etc from /gnu/store/wigi6gny24gpk2inqy19xswsbplqa6fc-etc...= =20 WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete' =20 WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete' =20 Please wait while gathering entropy to generate the key pair; =20 this may take time... =20 =20 and the message stays there forever, I have left it running even for mo= re than half an hour and it doesn't move from there. This is happening even wit= h basic system container definitions. The previos message was generated when ru= nning a system container with the following system definition: =20 =20 (use-modules (gnu) =20 (gnu services web)) =20 =20 (operating-system =20 =20 (host-name "container") =20 =20 (timezone "Europe/Berlin") =20 =20 (file-systems (cons (file-system =20 (device (file-system-label "does-not-matter")) =20 (mount-point "/") =20 (type "ext4")) =20 %base-file-systems)) =20 =20 (bootloader (bootloader-configuration =20 (bootloader grub-bootloader) =20 (targets '("/dev/sdX")))) =20 =20 (services %base-services)) =20 =20 =20 I also tried sharing /dev/random and /dev/urandom with the host and it = still gets stuck there. =20 Any ideas about what could be causing this? =20 =20 --===============3219278866364173718== Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

New containers get stuck w= ith a message similar to the following one:


guile: warning: failed to inst= all locale

system container is running as PID 85878= W

ARNING: (guile-user): imported module (guix build= utils) overrides core binding `delete'

Run 'sudo g= uix container exec 85878 /run/current-system/profile/bin/bash --login'<= br />

or run 'sudo nsenter -a -t 85878' to get a shell in= to it.


WARNING: (guile-user):= imported module (guix build utils) overrides core binding `delete'

making '/gnu/store/gkqmm80naf3zw2n20ml11q7xb2nbnglg-= system' the current system...

WARNING: (guile-user)= : imported module (guix build utils) overrides core binding `delete'

setting up setuid programs in '/run/setuid-programs'= ...

populating /etc from /gnu/store/wigi6gny24gpk2i= nqy19xswsbplqa6fc-etc...

WARNING: (guile-user): imp= orted module (guix build utils) overrides core binding `delete'

WARNING: (guile-user): imported module (guix build utils) = overrides core binding `delete'

Please wait while g= athering entropy to generate the key pair;

this may= take time...


and the mess= age stays there forever, I have left it running even for more than half= an hour and it doesn't move from there. This is happening even with ba= sic system container definitions.=C2=A0 The previos message was generat= ed when running a system container with the following system definition= :


(= use-modules (gnu)

=

=C2=A0=C2=A0=C2=A0=C2=A0 (gnu services web))


(operating-syst= em


(host-name "container")<= br />


(timezone "Europe/Berlin")


=

(file-systems (cons (file-system

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 (device (file-system-label "does-not-matter"))

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (mount-point "/")

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 (type "ext4"))

<= span class=3D"font" style=3D"font-family: "courier new", cour= ier, monospace, sans-serif;">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 %base-file-systems))


(bootloader (bootloader-configu= ration

=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (bootloader grub-bootloader)

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 (targets '("/dev/sdX"))))


(services = %base-services))



I also tried sharing /dev= /random and /dev/urandom with the host and it still gets stuck there. <= br />

Any=C2=A0 ideas a= bout what could be causing this?


--===============3219278866364173718==-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 25 03:16:22 2023 Received: (at 65847) by debbugs.gnu.org; 25 Sep 2023 07:16:22 +0000 Received: from localhost ([127.0.0.1]:44012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkfpL-0004xH-W6 for submit@debbugs.gnu.org; Mon, 25 Sep 2023 03:16:22 -0400 Received: from kompot.si ([194.249.242.49]:48906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkagx-0004Mk-3C for 65847@debbugs.gnu.org; Sun, 24 Sep 2023 21:47:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kompot.si; s=mail; t=1695606418; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fJf93XXwJPWmfhfGSwJRPajkd9MStGvEv5XfuFQy9Gw=; b=IBveiFZgqqngBg/j6L0qp3zDpBdd++oUm9qy2Fuk4Y7b/kt5V3PnW/osvFy9Hz8uusTBBX oSUyABqs9R9k8CqRZGtp64UW6izYrlO/sKeMgo9YMN3hyGNr9cZiPQz7KvTuuyzFxsvGpq GHO3Q+TlLJrKj8z7zl5sn0sWmenEYPw= Message-ID: Date: Mon, 25 Sep 2023 03:46:57 +0200 MIME-Version: 1.0 Content-Language: en-US To: 65847@debbugs.gnu.org From: Jurij Subject: I think it's running Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65847 X-Mailman-Approved-At: Mon, 25 Sep 2023 03:16:18 -0400 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: -1.0 (-) Your container is running. Try to reach it, via: sudo nsenter -a -t sh From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 12 09:44:11 2024 Received: (at 65847) by debbugs.gnu.org; 12 Feb 2024 14:44:11 +0000 Received: from localhost ([127.0.0.1]:60546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZXXU-000518-RO for submit@debbugs.gnu.org; Mon, 12 Feb 2024 09:44:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZXXN-0004zE-EP for 65847@debbugs.gnu.org; Mon, 12 Feb 2024 09:44:03 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZX8S-0003hs-HX; Mon, 12 Feb 2024 09:18:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=JrZeVyAUSdE0sKvsRRdfDUtBjbUAfIO0MJzCRe2HMeg=; b=OJA8amvgxi6YMfajSUQ/ BWIR/mbBGjNTA1BWe7HYnk+EF9p7caPKzcm7BWE4mwZKotd2UkEh/vSv2RKzu3vbODjiS1ABq+Nfz vHwqVRo6Jocl9jc1A8KrpDNJDul5Kk9vIvCG0Pxj4ihN1X/1kulT32f2Td5JGiVfK/wCwMi3aV1AS n+NH+xRR4L5RNV5qtkkYsz3v+Y/5TScyNyav4mHcaEj00VxXaDzV2YGJxw8SN+X1ofQT00/PKS+yE SFep81e5Mn9RAh6kJUxjdz6grhw186bZTV4IQMzXJYiZyf8ZFhxixu+cnZ1qgpx5x/Ho2LgkoWQDM wdR4sHjUxwVTVg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jurij Subject: Re: bug#65847: system container gathering entropy takes forever In-Reply-To: (jurij@kompot.si's message of "Mon, 25 Sep 2023 03:46:57 +0200") References: <169429560260.33.10975489889094933630@startmail.com> Date: Mon, 12 Feb 2024 15:18:13 +0100 Message-ID: <87a5o5epga.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65847 Cc: 65847@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: -3.3 (---) Hi, Jurij skribis: > Your container is running. > > Try to reach it, via: > sudo nsenter -a -t sh Indeed. The problem is that the =E2=80=9Centry point=E2=80=9D (in Docker p= arlance) of images created by =E2=80=98guix system image -t docker=E2=80=99 is shepherd= (PID=C2=A01), and shepherd never exits. Ludo=E2=80=99.