From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: error running container: mingetty cannot find ttys Date: Fri, 25 Jan 2019 18:46:48 +0100 Message-ID: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:38349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gn5ZT-0002QB-RA for help-guix@gnu.org; Fri, 25 Jan 2019 12:47:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gn5ZS-0006jH-AC for help-guix@gnu.org; Fri, 25 Jan 2019 12:47:15 -0500 Received: from ns13.heimat.it ([46.4.214.66]:48608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gn5ZR-0006iA-RJ for help-guix@gnu.org; Fri, 25 Jan 2019 12:47:14 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 956EF300F5C for ; Fri, 25 Jan 2019 17:47:11 +0000 (UTC) Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4pV_K1VMvLZk for ; Fri, 25 Jan 2019 17:46:50 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.161.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 9D54E3000D3 for ; Fri, 25 Jan 2019 17:46:50 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette.mug.biscuolo.net [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id D91E4300056 for ; Fri, 25 Jan 2019 18:46:49 +0100 (CET) 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: help-guix@gnu.org --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Hi guix! I'm experimenting with my first "system container": it builds but it fails running I build the container using this operating system definition: --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxLS4gACgkQ030Op87M ORLYuA/9GNoIaz7SsD4IkyDKj+ANpmbKWc8KpjPsiFTZvK4bJMcRs28zSV6Uv0UN iYi+xo9ktBA7W6NhFovs1zXCb+DjtWvJE4JDBOddyzUfrmxqZcmLC/KxC6wG0i6r S50KJZxIzPxSIOlCTtRnpbOQ6lthP0y2My+UaNOZqv9QKARx1uc21JSikEpHgu8U h1YVY3YnNO9g2Uvd6UTiI8mH0cHP45IqX7n2/YRLeSwlDYxz+L5PvfXHl/VB/5au zZpY9iVox58roPa5zR9lBTesyYuVgBp0GD0O2HNlvQpLk/HvvrT9OxUDRvCDGUCQ XybCYguKSc6tmZGKiue7RXpSoROa/kfsMkNGHNHsXWCJEYLih5N477J7byR/32wc 0wSwIeSVMebVCET4Pu55Z3d2TNGMfvl1/Z3ezMVDQrkAULA4tqj9tLy7i2XbKfwY 71GTYLcoeI66hPCkh78TevftFaTqI3w/eg6ofLBdjk2e2Ej+M0kxsann4m60iEfP cguE1VUw5s9eesMlzafn2pl5WEpfhsMkKkoH7QxaEmyiTw6PK1tZboT8J+sF9NML 4AOzr0xe8E44N0jhoXCOAMryAsPK0aX0QVEZ+UIyG+dpVIKGaM2d826ZmBGRkiAY EFOH6TfZ6PEMg7A57t9vt6lgHfAxjd34BfInDVGO3hCpmMAXDKQ= =dGkv -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: application/octet-stream Content-Disposition: inline; filename=container-minimal.scm Content-Transfer-Encoding: base64 Content-Description: container-minimal.scm OzsgVGhpcyBpcyBhbiBvcGVyYXRpb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gOzsgYWNjb3Vu dCBpcyBpbXBsaWNpdCwgYW5kIGlzIGluaXRpYWxseSBjcmVhdGVkIHdpdGggdGhlCiAgOzsgZW1w dHkgcGFzc3dvcmQuCiAgKHVzZXJzIChjb25zICh1c2VyLWFjY291bnQKICAgICAgICAgICAgICAg IChuYW1lICJnYmlzY3VvbG8iKQogICAgICAgICAgICAgICAgKGNvbW1lbnQgIkdpb3Zhbm5pIEJp c2N1b2xvIChhZG1pbikiKQogICAgICAgICAgICAgICAgKGdyb3VwICJ1c2VycyIpCiAgICAgICAg ICAgICAgICAoc3VwcGxlbWVudGFyeS1ncm91cHMgJygid2hlZWwiICJhdWRpbyIgInZpZGVvIikp CiAgICAgICAgICAgICAgICAoaG9tZS1kaXJlY3RvcnkgIi9ob21lL2diaXNjdW9sbyIpKQogICAg ICAgICAgICAgICAlYmFzZS11c2VyLWFjY291bnRzKSkKICAKICA7OyBHbG9iYWxseS1pbnN0YWxs ZWQgcGFja2FnZXMuCiAgKHBhY2thZ2VzIChjb25zKiBzY3JlZW4gb3BlbnNzaCBlbWFjcyAlYmFz ZS1wYWNrYWdlcykpCgogIDs7IEFkZCBzZXJ2aWNlcyB0byB0aGUgYmFzZWxpbmU6IGEgREhDUCBj bGllbnQgYW5kCiAgOzsgYW4gU1NIIHNlcnZlci4KICAoc2VydmljZXMgKGNvbnMqIChkaGNwLWNs aWVudC1zZXJ2aWNlKQoJCSAgIChzZXJ2aWNlIG9wZW5zc2gtc2VydmljZS10eXBlCiAgICAgICAg ICAgICAgICAgICAgICAgICAgICAob3BlbnNzaC1jb25maWd1cmF0aW9uCgkJCSAgICAgKHgxMS1m b3J3YXJkaW5nPyAjdCkKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAocGVybWl0LXJvb3Qt bG9naW4gJ3dpdGhvdXQtcGFzc3dvcmQpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGF1 dGhvcml6ZWQta2V5cwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICBgKCgiZ2Jpc2N1b2xv IiAsKGxvY2FsLWZpbGUgInNzaC1hdXRob3JpemVkLWtleXMvZ2Jpc2N1b2xvLnB1YiIpKSkpCiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgKHBvcnQtbnVtYmVyIDIyKSkpCiAgICAgICAgICAg ICAgICAgICAlYmFzZS1zZXJ2aWNlcykpKQo= --=-=-= Content-Type: text/plain --8<---------------cut here---------------start------------->8--- $ guix system container ../labs/configuration/container-minimal.scm -r container-minimal /localhome/g/guix/labs/configuration/container-minimal.scm:41:19: warning: 'dhcp-client-service' is deprecated, use 'dhcp-client-service-type' instead 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. /gnu/store/n3577q00rwzccbc50cqhlwhsnkpd1lrr-run-container --8<---------------cut here---------------end--------------->8--- then I start the container as root --8<---------------cut here---------------start------------->8--- $ sudo -E ./container-minimal [sudo] password for g: making '/gnu/store/5px51fc8nspwkhni8kprpxcjl6mxznd5-system' the current system... 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/gbiscuolo' -> `/etc/ssh/authorized_keys.d/gbiscuolo' ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 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-mingetty-1.08/sbin/mingetty[191]: tty5: No such file or directory Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[190]: tty6: No such file or directory Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[193]: tty3: No such file or directory Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[194]: tty2: No such file or directory Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[195]: tty1: No such file or directory Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[192]: tty4: No such file or directory Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[200]: tty6: No such file or directory Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[202]: tty4: No such file or directory Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[201]: tty5: No such file or directory Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[204]: tty2: No such file or directory Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[205]: tty1: No such file or directory Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[203]: tty3: No such file or directory Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[206]: tty6: No such file or directory Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[207]: tty4: No such file or directory Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[208]: tty5: No such file or directory Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[210]: tty2: No such file or directory Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[211]: tty1: No such file or directory Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[212]: tty3: No such file or directory Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[213]: tty6: No such file or directory Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[214]: tty5: No such file or directory Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[216]: tty2: No such file or directory Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[217]: tty1: No such file or directory Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[218]: tty3: No such file or directory Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[219]: tty4: No such file or directory Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[220]: tty6: No such file or directory Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[221]: tty5: No such file or directory Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[222]: tty1: No such file or directory Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[223]: tty2: No such file or directory Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[224]: tty3: No such file or directory Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[225]: tty4: No such file or directory Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[226]: tty6: No such file or directory Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[227]: tty5: No such file or directory Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[230]: tty2: No such file or directory Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[231]: tty3: No such file or directory Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[232]: tty4: No such file or directory Jan 25 18:31:08 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[234]: tty5: No such file or directory Jan 25 18:31:08 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[235]: tty2: No such file or directory Jan 25 18:31:08 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[236]: tty3: No such file or directory --8<---------------cut here---------------end--------------->8--- it loops indefinitely, I have to ^C it to stop it any hint please? Thanks! Giovanni -- Giovanni Biscuolo Xelera IT Infrastructures --=-=-=--