unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#65847: system container gathering entropy takes forever
@ 2023-09-09 21:40 oscar.quijano--- via Bug reports for GNU Guix
  2023-09-25  1:46 ` bug#65847: I think it's running Jurij
  0 siblings, 1 reply; 3+ messages in thread
From: oscar.quijano--- via Bug reports for GNU Guix @ 2023-09-09 21:40 UTC (permalink / raw)
  To: 65847

[-- Attachment #1: Type: text/plain, Size: 2078 bytes --]

New containers get stuck with a message similar to the following one:  

  

guile: warning: failed to install locale  

system container is running as PID 85878W  

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

Run 'sudo guix container exec 85878 /run/current-system/profile/bin/bash
--login'  

or run 'sudo nsenter -a -t 85878' to get a shell into 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/wigi6gny24gpk2inqy19xswsbplqa6fc-etc...  

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

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

Please wait while gathering entropy to generate the key pair;  

this may take time...  

  

and the message 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 basic
system container definitions. The previos message was generated when running a
system container with the following system definition:  

  

(use-modules (gnu)  

(gnu services web))  

  

(operating-system  

  

(host-name "container")  

  

(timezone "Europe/Berlin")  

  

(file-systems (cons (file-system  

(device (file-system-label "does-not-matter"))  

(mount-point "/")  

(type "ext4"))  

%base-file-systems))  

  

(bootloader (bootloader-configuration  

(bootloader grub-bootloader)  

(targets '("/dev/sdX"))))  

  

(services %base-services))  

  

  

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

Any ideas about what could be causing this?  

  


[-- Attachment #2: Type: text/html, Size: 15714 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#65847: I think it's running
  2023-09-09 21:40 bug#65847: system container gathering entropy takes forever oscar.quijano--- via Bug reports for GNU Guix
@ 2023-09-25  1:46 ` Jurij
  2024-02-12 14:18   ` bug#65847: system container gathering entropy takes forever Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Jurij @ 2023-09-25  1:46 UTC (permalink / raw)
  To: 65847

Your container is running.

Try to reach it, via:
sudo nsenter -a -t <PID> sh




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#65847: system container gathering entropy takes forever
  2023-09-25  1:46 ` bug#65847: I think it's running Jurij
@ 2024-02-12 14:18   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2024-02-12 14:18 UTC (permalink / raw)
  To: Jurij; +Cc: 65847

Hi,

Jurij <jurij@kompot.si> skribis:

> Your container is running.
>
> Try to reach it, via:
> sudo nsenter -a -t <PID> sh

Indeed.  The problem is that the “entry point” (in Docker parlance) of
images created by ‘guix system image -t docker’ is shepherd (PID 1), and
shepherd never exits.

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-12 14:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-09 21:40 bug#65847: system container gathering entropy takes forever oscar.quijano--- via Bug reports for GNU Guix
2023-09-25  1:46 ` bug#65847: I think it's running Jurij
2024-02-12 14:18   ` bug#65847: system container gathering entropy takes forever Ludovic Courtès

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).