From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: error running container: mingetty cannot find ttys Date: Sat, 26 Jan 2019 21:21:51 +0200 Message-ID: <20190126192150.GD11329@macbook41> References: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EY/WZ/HvNxOox07X" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:40914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnTWg-00062z-Tt for help-guix@gnu.org; Sat, 26 Jan 2019 14:22:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnTWf-0007tb-JF for help-guix@gnu.org; Sat, 26 Jan 2019 14:21:58 -0500 Content-Disposition: inline In-Reply-To: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Giovanni Biscuolo Cc: bug-guix@gnu.org, help-guix@gnu.org --EY/WZ/HvNxOox07X Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 25, 2019 at 06:46:48PM +0100, Giovanni Biscuolo wrote: > Hi guix! >=20 > I'm experimenting with my first "system container": it builds but it > fails running >=20 > I build the container using this operating system definition: >=20 > --8<---------------cut here---------------start------------->8--- > $ guix system container ../labs/configuration/container-minimal.scm -r co= ntainer-minimal > /localhome/g/guix/labs/configuration/container-minimal.scm:41:19: warning= : 'dhcp-client-service' is deprecated, use 'dhcp-client-service-type' inste= ad > guix system: warning: Your Guix installation is 9 days old. > guix system: warning: Consider running 'guix pull' followed by > 'guix system reconfigure' to get up-to-date packages and security updates. >=20 > /gnu/store/n3577q00rwzccbc50cqhlwhsnkpd1lrr-run-container > --8<---------------cut here---------------end--------------->8--- >=20 > then I start the container as root >=20 > --8<---------------cut here---------------start------------->8--- > $ sudo -E ./container-minimal=20 > [sudo] password for g:=20 > making '/gnu/store/5px51fc8nspwkhni8kprpxcjl6mxznd5-system' the current s= ystem... > setting up setuid programs in '/run/setuid-programs'... > populating /etc from /gnu/store/0a7gn00mqzg5kyrwwd9dyjyvan9vlxsa-etc... > adding user 'root'... > adding group 'root'... > adding group 'wheel'... > adding group 'users'... > adding group 'nogroup'... > adding group 'tty'... > adding group 'dialout'... > adding group 'kmem'... > adding group 'input'... > adding group 'video'... > adding group 'audio'... > adding group 'netdev'... > adding group 'lp'... > adding group 'disk'... > adding group 'floppy'... > adding group 'cdrom'... > adding group 'tape'... > adding group 'kvm'... > adding group 'guixbuild'... > adding group 'sshd'... > usermod: no changes > adding user 'gbiscuolo'... > adding user 'nobody'... > adding user 'guixbuilder01'... > adding user 'guixbuilder02'... > adding user 'guixbuilder03'... > adding user 'guixbuilder04'... > adding user 'guixbuilder05'... > adding user 'guixbuilder06'... > adding user 'guixbuilder07'... > adding user 'guixbuilder08'... > adding user 'guixbuilder09'... > adding user 'guixbuilder10'... > adding user 'sshd'... > registering public key '/gnu/store/vv1kkj9aqpv1akk7l7vp2kkd695wgxcr-guix-= 0.16.0-8.7ba2b27/share/guix/hydra.gnu.org.pub'... > registering public key '/gnu/store/vv1kkj9aqpv1akk7l7vp2kkd695wgxcr-guix-= 0.16.0-8.7ba2b27/share/guix/berlin.guixsd.org.pub'... > `/gnu/store/cyh3fv8fi86nx4pw8gh4r4hdzi5w31cm-openssh-authorized-keys/gbis= cuolo' -> `/etc/ssh/authorized_keys.d/gbiscuolo' > ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519=20 > nscd: 178 monitoring file `/etc/hosts` (1) > nscd: 178 monitoring directory `/etc` (2) > nscd: 178 monitoring file `/etc/resolv.conf` (3) > nscd: 178 monitoring directory `/etc` (2) > nscd: 178 monitoring file `/etc/services` (4) > nscd: 178 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' > Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[191]: tty5: No such file or directory > Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[190]: tty6: No such file or directory > Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[193]: tty3: No such file or directory > Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[194]: tty2: No such file or directory > Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[195]: tty1: No such file or directory > Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[192]: tty4: No such file or directory > Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[200]: tty6: No such file or directory > Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[202]: tty4: No such file or directory > Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[201]: tty5: No such file or directory > Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[204]: tty2: No such file or directory > Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[205]: tty1: No such file or directory > Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[203]: tty3: No such file or directory > Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[206]: tty6: No such file or directory > Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[207]: tty4: No such file or directory > Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[208]: tty5: No such file or directory > Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[210]: tty2: No such file or directory > Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[211]: tty1: No such file or directory > Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[212]: tty3: No such file or directory > Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[213]: tty6: No such file or directory > Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[214]: tty5: No such file or directory > Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[216]: tty2: No such file or directory > Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[217]: tty1: No such file or directory > Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[218]: tty3: No such file or directory > Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[219]: tty4: No such file or directory > Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[220]: tty6: No such file or directory > Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[221]: tty5: No such file or directory > Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[222]: tty1: No such file or directory > Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[223]: tty2: No such file or directory > Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[224]: tty3: No such file or directory > Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[225]: tty4: No such file or directory > Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[226]: tty6: No such file or directory > Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[227]: tty5: No such file or directory > Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[230]: tty2: No such file or directory > Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[231]: tty3: No such file or directory > Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[232]: tty4: No such file or directory > Jan 25 18:31:08 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[234]: tty5: No such file or directory > Jan 25 18:31:08 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[235]: tty2: No such file or directory > Jan 25 18:31:08 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[236]: tty3: No such file or directory > --8<---------------cut here---------------end--------------->8--- >=20 > it loops indefinitely, I have to ^C it to stop it >=20 > any hint please? >=20 > Thanks! > Giovanni >=20 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 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --EY/WZ/HvNxOox07X Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlxMs0sACgkQQarn3Mo9 g1EB9w//f5SJhT8xIwAefYNxg0DoZjcoTSffFtLj9y7zIt+dq6L65W6icjvW/dOF 6dj+RBOG+LB0mB5gO4yWvjzDkcqaZnB2uOeV+WwsNmCvhcbdZf9xABvfDbqJZR4N TJRA9nw0i3kb/G5sSvbEoRxqq4EU+Ho9SCfV7TiuoJ1M+s7qdXndCvSkSpprsbpc oRYz92wsPSyYO389uCYKcheZU2Cf5KngK2WtqMO9+b4c7dPAtEJUxfFTA+hPuQho OuoGbECyY9DJ1BG0iuEA9dv3b6Y0dWn5Bh0Z53LIcehwlfpY76b+dV1KvTL0U/d2 uHhuE5nWDxOxuiJ4AT8xUr6or3ngSBct+wLa0EXBQWkIaa3bKZUaq9+j1sNVzH7a n3bEbeRsd+/i4WFqg0QhhSUtaAmW/pc+7e4Kj26R9f8lI35rs1cX9NG5aX/NLPSy JZlUeoMC/8ADPwLvAuusa09AICafGNGUNKv869kxAEMx6IcLOZCs/Zs29w2toXoW QWH90GJtRVj4mCE5Ad37Dd7DkvFMJoSxf5R8YHAuhNecz68b5rY8cBM+FtefnlAD KvyD4KytDXgJS8NZMp9fFL1Rg0CbD9WKRf9dQ3u2qFHhNOxX2edR/hRz/Jsk86m/ OUJLapcKkZeHpAZcjAWNitoemlGeiNzVDPz1kGiV/pFeU/EatA8= =9uQk -----END PGP SIGNATURE----- --EY/WZ/HvNxOox07X--