From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: bug#34211: error running container: mingetty cannot find ttys Date: Wed, 06 Feb 2019 13:16:44 +0100 Message-ID: <87sgx1glhv.fsf__5331.66742404632$1549455499$gmane$org@roquette.mug.biscuolo.net> References: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> <20190126192150.GD11329@macbook41> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:38877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grM9T-0001J2-Ri for bug-guix@gnu.org; Wed, 06 Feb 2019 07:18:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grM9R-0002mj-V5 for bug-guix@gnu.org; Wed, 06 Feb 2019 07:18:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34800) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grM9R-0002mR-Ra for bug-guix@gnu.org; Wed, 06 Feb 2019 07:18:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1grM9R-0007ds-JQ for bug-guix@gnu.org; Wed, 06 Feb 2019 07:18:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190126192150.GD11329@macbook41> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: guix-devel@gnu.org, 34211@debbugs.gnu.org Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi! plase is there someone else that could reproduce this issue with "guix system container": https://issues.guix.info/issue/34211 ? I'm still not able to run a container built using "guix system container container-minimal.scm -r container-minimal" I'm on guix commit: 4aeb7f34c948f32363f2ae29c6942c6328df758c this is the simple container.scm I'm using: =2D-8<---------------cut here---------------start------------->8--- ;; This is an operating system configuration template ;; to test containers via guix system (also on foregin distros) ;; see https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-= system.html (use-modules (gnu)) (use-service-modules networking ssh) (use-package-modules screen ssh emacs) (operating-system (host-name "test-container") (timezone "Europe/Rome") (locale "en_US.utf8") ;; Boot in "legacy" BIOS mode (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda"))) (file-systems (cons (file-system (device (file-system-label "guixsd")) (mount-point "/") (type "ext4")) %base-file-systems)) =20=20 ;; This is where user accounts are specified. The "root" ;; account is implicit, and is initially created with the ;; empty password. (users (cons (user-account (name "gbiscuolo") (comment "Giovanni Biscuolo (admin)") (group "users") (supplementary-groups '("wheel" "audio" "video")) (home-directory "/home/gbiscuolo")) %base-user-accounts)) =20=20 ;; Globally-installed packages. (packages (cons* screen openssh emacs %base-packages)) ;; Add services to the baseline: a DHCP client and ;; an SSH server. (services (cons* (service dhcp-client-service-type) (service openssh-service-type (openssh-configuration (x11-forwarding? #t) (permit-root-login 'without-password) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 (port-number 22))) %base-services))) =2D-8<---------------cut here---------------end--------------->8--- and this are the messages I got on running the container: =2D-8<---------------cut here---------------start------------->8--- registering public key '/gnu/store/4v6cxail1ajinjqsgfblan132fbw06m4-guix-0.= 16.0-9.4bddd12/share/guix/hydra.gnu.org.pub'... registering public key '/gnu/store/4v6cxail1ajinjqsgfblan132fbw06m4-guix-0.= 16.0-9.4bddd12/share/guix/berlin.guixsd.org.pub'... ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519=20 nscd: 166 monitoring file `/etc/hosts` (1) nscd: 166 monitoring directory `/etc` (2) nscd: 166 monitoring file `/etc/resolv.conf` (3) nscd: 166 monitoring directory `/etc` (2) nscd: 166 monitoring file `/etc/services` (4) nscd: 166 monitoring directory `/etc` (2) failed to start service 'console-font-tty1' failed to start service 'console-font-tty2' failed to start service 'console-font-tty3' failed to start service 'console-font-tty4' failed to start service 'console-font-tty5' failed to start service 'console-font-tty6' Feb 6 12:45:18 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[181]: tty3: No such file or directory Feb 6 12:45:18 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[180]: tty4: No such file or directory Feb 6 12:45:18 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[178]: tty6: No such file or directory Feb 6 12:45:18 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[179]: tty5: No such file or directory Feb 6 12:45:18 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[183]: tty1: No such file or directory Feb 6 12:45:18 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[182]: tty2: No such file or directory Feb 6 12:45:24 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[190]: tty4: No such file or directory Feb 6 12:45:24 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[188]: tty6: No such file or directory Feb 6 12:45:24 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[189]: tty5: No such file or directory Feb 6 12:45:24 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[191]: tty3: No such file or directory Feb 6 12:45:24 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[193]: tty1: No such file or directory Feb 6 12:45:24 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[192]: tty2: No such file or directory Feb 6 12:45:29 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[195]: tty6: No such file or directory Feb 6 12:45:29 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[194]: tty4: No such file or directory Feb 6 12:45:29 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[197]: tty5: No such file or directory Feb 6 12:45:29 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[198]: tty3: No such file or directory Feb 6 12:45:29 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[199]: tty1: No such file or directory Feb 6 12:45:29 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[200]: tty2: No such file or directory Feb 6 12:45:34 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[201]: tty6: No such file or directory Feb 6 12:45:34 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[203]: tty5: No such file or directory Feb 6 12:45:34 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[202]: tty4: No such file or directory Feb 6 12:45:34 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[204]: tty3: No such file or directory Feb 6 12:45:34 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[205]: tty1: No such file or directory Feb 6 12:45:34 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[206]: tty2: No such file or directory Feb 6 12:45:39 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[209]: tty4: No such file or directory Feb 6 12:45:39 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[208]: tty6: No such file or directory Feb 6 12:45:39 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[210]: tty5: No such file or directory Feb 6 12:45:39 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[211]: tty3: No such file or directory Feb 6 12:45:39 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[213]: tty2: No such file or directory Feb 6 12:45:39 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[212]: tty1: No such file or directory Feb 6 12:45:44 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[214]: tty4: No such file or directory Feb 6 12:45:44 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[217]: tty5: No such file or directory Feb 6 12:45:44 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[216]: tty6: No such file or directory Feb 6 12:45:44 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[218]: tty3: No such file or directory Feb 6 12:45:44 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[219]: tty2: No such file or directory Feb 6 12:45:44 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-minge= tty-1.08/sbin/mingetty[220]: tty1: No such file or directory =2D-8<---------------cut here---------------end--------------->8--- I have to TERM the the container since the "ttN: No such file or directory" message loops indefinitely Efraim Flashner was able to reproduce the issue: is my container configuration broken Efraim Flashner writes: [...] > I tested the config (after removing the references to your ssh key) on > commit fc9c47bd7cdfd6265681e6b2c48fdb7889672bcc and I got the same > issue. Forwarding on to bug-guix please any hint on how to solve this issue? Thanks! Giovanni =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxa0CwACgkQ030Op87M ORJq6xAAnwXd4JYbzWm3c4qOSe7vCbhDDtCe7V7MPQznFrWCjIhYIOhCpUibu3+G TLMK0QaAADbug30/Q0DlYfgXoim5GZU9Rp4OFNSWfH0W5ZnX/PR0dEObpT0fO5Eo BBgNR0JOTBHuaDk4+arDCH+XPuludqw1a/RxrM+vTLBKQfrIdxTKnqOf5QKzyi5O /rtVDBaix0fy9gBqD6pXuB2EO/WRr9bJ5IrL4FvxkW1lYE3YOjk4+R+S+yt1VDlc cGLpvvpScOBHg0LK3c8fHpzoaYwohB9lJkdpCp2u7ZBWLHCbi/93nGjn41L/pIyi pvpVrh4jK1vp6yp6Xb5Rpqi5cMR6LfYvladGJlU/0bl58RZ6vwqfwuLdNBmxlNxu 51zQmJu2SZP/fS/JdYe2CzK0ZfhzAEq+4CSA1Q51GqXz1tvqzPP3LF8sbre3Yr+e mhzDndKI0o11s61ekVXDuIXAwmsAJOHzRAwwwZLyJmGrwt9LEVTfCaBCxczosuRO +p6MQV4u4z7rBfJ2tCpm9mvjPw6Caidelc3CwXalLQH5PQzGn2ZhQoQzXaTv7ZtZ sH3Tka9v6kPB7iGg1xZAIJBnlXEwMZP7a2fopyZdVaKIjdENtTAgvnUF27zjU5Op qqFzwX1IS4eLvZYgn1z5ZNNev6ee+THJRdMLnQLq3k5q0TKibyo= =uMyZ -----END PGP SIGNATURE----- --=-=-=--