From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 26 14:22:05 2019 Received: (at submit) by debbugs.gnu.org; 26 Jan 2019 19:22:06 +0000 Received: from localhost ([127.0.0.1]:46792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnTWn-0007Mr-9N for submit@debbugs.gnu.org; Sat, 26 Jan 2019 14:22:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnTWk-0007MN-PX for submit@debbugs.gnu.org; Sat, 26 Jan 2019 14:22:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:51955) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gnTWf-0007tW-JW for submit@debbugs.gnu.org; Sat, 26 Jan 2019 14:21:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnTWe-00062w-4H for bug-guix@gnu.org; Sat, 26 Jan 2019 14:21:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnTWb-0007rB-Qv for bug-guix@gnu.org; Sat, 26 Jan 2019 14:21:56 -0500 Received: from flashner.co.il ([178.62.234.194]:59366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnTWb-0007qS-H4; Sat, 26 Jan 2019 14:21:53 -0500 Received: from localhost (unknown [188.120.128.87]) by flashner.co.il (Postfix) with ESMTPSA id 34B05401E7; Sat, 26 Jan 2019 19:21:52 +0000 (UTC) Date: Sat, 26 Jan 2019 21:21:51 +0200 From: Efraim Flashner To: Giovanni Biscuolo Subject: Re: error running container: mingetty cannot find ttys 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" Content-Disposition: inline In-Reply-To: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 User-Agent: Mutt/1.11.0 (2018-11-25) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 178.62.234.194 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: bug-guix@gnu.org, help-guix@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: -0.0 (/) --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-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 06 07:17:17 2019 Received: (at 34211) by debbugs.gnu.org; 6 Feb 2019 12:17:17 +0000 Received: from localhost ([127.0.0.1]:34075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grM8g-0007cJ-K5 for submit@debbugs.gnu.org; Wed, 06 Feb 2019 07:17:17 -0500 Received: from ns13.heimat.it ([46.4.214.66]:32884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grM8d-0007c2-VV for 34211@debbugs.gnu.org; Wed, 06 Feb 2019 07:17:13 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 2A0CD3000D5; Wed, 6 Feb 2019 12:17:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it 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 JqdIyWTBRHqg; Wed, 6 Feb 2019 12:16:46 +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 132593000CD; Wed, 6 Feb 2019 12:16:46 +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 51555300056; Wed, 6 Feb 2019 13:16:45 +0100 (CET) Received: (nullmailer pid 3143 invoked by uid 1000); Wed, 06 Feb 2019 12:16:45 -0000 From: Giovanni Biscuolo To: guix-devel@gnu.org, 34211@debbugs.gnu.org Subject: Re: error running container: mingetty cannot find ttys In-Reply-To: <20190126192150.GD11329@macbook41> Organization: Xelera.eu References: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> <20190126192150.GD11329@macbook41> Date: Wed, 06 Feb 2019 13:16:44 +0100 Message-ID: <87sgx1glhv.fsf@roquette.mug.biscuolo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34211 Cc: help-guix@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: -1.0 (-) --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 11 17:20:27 2019 Received: (at 34211) by debbugs.gnu.org; 11 Feb 2019 22:20:27 +0000 Received: from localhost ([127.0.0.1]:44201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtJwA-0007Qv-Qs for submit@debbugs.gnu.org; Mon, 11 Feb 2019 17:20:27 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:33936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtJw8-0007Qk-TT for 34211@debbugs.gnu.org; Mon, 11 Feb 2019 17:20:26 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 442A0EACF; Mon, 11 Feb 2019 23:20:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bacpW5Pe3PJ1; Mon, 11 Feb 2019 23:20:22 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 273D6EA94; Mon, 11 Feb 2019 23:20:22 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Giovanni Biscuolo Subject: Re: bug#34211: error running container: mingetty cannot find ttys References: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> <20190126192150.GD11329@macbook41> <87sgx1glhv.fsf@roquette.mug.biscuolo.net> Date: Mon, 11 Feb 2019 23:20:21 +0100 In-Reply-To: <87sgx1glhv.fsf@roquette.mug.biscuolo.net> (Giovanni Biscuolo's message of "Wed, 06 Feb 2019 13:16:44 +0100") Message-ID: <87zhr2q862.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 34211 Cc: guix-devel@gnu.org, help-guix@gnu.org, 34211@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: -0.0 (/) Hi Giovanni, Giovanni Biscuolo skribis: > plase is there someone else that could reproduce this issue with "guix > system container": https://issues.guix.info/issue/34211 ? [...] > Feb 6 12:45:44 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[217]: tty5: No such file or directory > Feb 6 12:45:44 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[216]: tty6: No such file or directory > Feb 6 12:45:44 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[218]: tty3: No such file or directory > Feb 6 12:45:44 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[219]: tty2: No such file or directory > Feb 6 12:45:44 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-min= getty-1.08/sbin/mingetty[220]: tty1: No such file or directory > > I have to TERM the the container since the "ttN: No such file or > directory" message loops indefinitely I also get this behavior. What happens is that the /dev/ttyN nodes do not exist (understandably), and thus the =E2=80=98console-font-ttyN=E2=80=99 Shepherd services fail to = start, and get restarted, indefinitely. The container is working as expected though. If you find the PID of the container=E2=80=99s =E2=80=98shepherd=E2=80=99 process (its PID 1, which ob= viously has a different PID outside the container), then you can do: guix container exec NNN /bin/sh where NNN is that PID of that =E2=80=98shepherd=E2=80=99 process (I use =E2= =80=98pstree=E2=80=99 to find the PID=E2=80=A6 not very convenient.) In that shell, you can do: --8<---------------cut here---------------start------------->8--- sh-4.4# . /etc/profile=20=20=20=20=20=20=20=20=20 sh-4.4# ls bin dev etc gnu home proc root run sys tmp var sh-4.4# herd status Started: + containerized-shepherd + file-systems + guix-daemon + host-name + loopback + nscd + root + root-file-system + ssh-daemon + syslogd + term-tty1 + term-tty2 + term-tty3 + term-tty4 + term-tty5 + term-tty6 + udev + urandom-seed + user-file-systems + user-processes + virtual-terminal Stopped: - console-font-tty1 - console-font-tty2 - console-font-tty3 - console-font-tty4 - console-font-tty5 - console-font-tty6 - networking - term-auto - user-homes --8<---------------cut here---------------end--------------->8--- So in that sense everything is working =E2=80=9Cas expected.=E2=80=9D Now, it would make more sense to simply remove those =E2=80=98console-font-= ttyN=E2=80=99 services in a container and everything that depends on them. Not sure if we should do that automatically. Thoughts? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 12 05:25:59 2019 Received: (at 34211) by debbugs.gnu.org; 12 Feb 2019 10:25:59 +0000 Received: from localhost ([127.0.0.1]:44443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtVGJ-0003FF-71 for submit@debbugs.gnu.org; Tue, 12 Feb 2019 05:25:59 -0500 Received: from ns13.heimat.it ([46.4.214.66]:37776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtVGG-0003Ev-1m for 34211@debbugs.gnu.org; Tue, 12 Feb 2019 05:25:56 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 1B4B43021A7; Tue, 12 Feb 2019 10:25:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it 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 lCaWDInVCtNG; Tue, 12 Feb 2019 10:25:29 +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 7587D3021A3; Tue, 12 Feb 2019 10:25:29 +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 69E61300056; Tue, 12 Feb 2019 11:25:28 +0100 (CET) Received: (nullmailer pid 30769 invoked by uid 1000); Tue, 12 Feb 2019 10:25:28 -0000 From: Giovanni Biscuolo To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#34211: error running container: mingetty cannot find ttys In-Reply-To: <87zhr2q862.fsf@gnu.org> Organization: Xelera.eu References: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> <20190126192150.GD11329@macbook41> <87sgx1glhv.fsf@roquette.mug.biscuolo.net> <87zhr2q862.fsf@gnu.org> Date: Tue, 12 Feb 2019 11:25:19 +0100 Message-ID: <8736otfgmo.fsf@roquette.mug.biscuolo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34211 Cc: guix-devel@gnu.org, help-guix@gnu.org, 34211@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: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo' thank you for looking into this issue! Ludovic Court=C3=A8s writes: [...] > I also get this behavior. OK, so this is deterministic now :-) > What happens is that the /dev/ttyN nodes do not exist (understandably), > and thus the =E2=80=98console-font-ttyN=E2=80=99 Shepherd services fail t= o start, and > get restarted, indefinitely. actually they do fail but they are not respawned, the services that get respawned are term-tty[1..6] > The container is working as expected though. If you find the PID of the > container=E2=80=99s =E2=80=98shepherd=E2=80=99 process (its PID 1, which = obviously has a > different PID outside the container), then you can do: > > guix container exec NNN /bin/sh I have to use "sudo" to be able to start and "guix container exec" a shell in it (I mean: sudo guix container exec...) I used that command in another terminal so I could see the console messages from the container > where NNN is that PID of that =E2=80=98shepherd=E2=80=99 process (I use = =E2=80=98pstree=E2=80=99 to find > the PID=E2=80=A6 not very convenient.) oh yes! I did not realized that my container was there waiting for me :-) ...I also did not realized thet the container is started as a foreground process, so we nees to background I used pstree too, we need a better way to interact with a container (by name and not by PID); sorry but I still cannot help here, my Guile proficency is still too low; anyway this is tangent to this bug > In that shell, you can do: [...] > So in that sense everything is working =E2=80=9Cas expected.=E2=80=9D yes, I see: I stopped term-tty[1..6] and the failure messages disappeared > Now, it would make more sense to simply remove those =E2=80=98console-fon= t-ttyN=E2=80=99 > services in a container and everything that depends on them. as pointed above the faining services are term-tty[1..6], console-font-tty[1..6] fails but do not get respawned do they are not the real issue > Not sure if we should do that automatically. I'll try to remove term-tty[1..6] manually from services declaration, if I manage to "manually" solve this I'll report here > Thoughts? since mingetty does not make sense in a container I'd remove term-tty[1..6] (and console-font-tty[1..6]) automatically and by default when we create a container via "guix system container..." Thanks! Giovanni =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxinxAACgkQ030Op87M ORIt9BAAgVP9H/WfUoc5byQh7CGfi79rOoLsFMUnm/QwBDrgAjHj7pqHgjVaMwfw yZpLcHYCiyI3z7vVUvzX1nunxcwQricsfBffO9NmPOxmA4c7jaiaSGx40GM1nORg hQ+r6aFD8OBfvDfxBGqGllunpGlU/+92hY5mAgqFrzkUI9pDdl0LeiXzqLOq5re0 hJMqF8z2oG4fBPCBu27/60R91w0bHGc68wC/Ht5vd+ZOYnuMj9bgoYl6AUrff5tG RlLEv3dT7sU6LdUguEZ19q1mnkFc7MU4Ll0mWma023unATr/Jw5zXWVLJZMxgkcP ynRKa4JeVnul7PGMAXkwJXxTbP+DD7dEq73IluP+4Z9U2nIcPnd9flVymMOfCAuo ixalPOKxuZjr4UdQT2Hnv4ox8lWFgkfMsZWy+tOW9iBdh8T+S6/lvs8xXMH9fCdV Hevvc/bvusvpGig87+WezwFFTOxayR5Y8hKlpWcMAHFt07qMEvhrucMgUiBQ+pWQ mdbesEyrs+y36zBJ8Zn+uW7QfzGDS/D80d6Z1ilvNRVD+NmqZ19ZUp0eyl5RQR7P TDvjRFmrlLu124hcIuWl0wIjXSuwt72EynDGohx6PQKE0ZlX13QXA7WbbYUNj8iz f/SdXvtNcyx9yj/btbsLUc2ODQS1E2YD2QvQL43mmoz/tG78IcU= =x/A1 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 13 12:20:23 2019 Received: (at 34211) by debbugs.gnu.org; 13 Feb 2019 17:20:23 +0000 Received: from localhost ([127.0.0.1]:47265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtyCs-0005An-Vp for submit@debbugs.gnu.org; Wed, 13 Feb 2019 12:20:23 -0500 Received: from ns13.heimat.it ([46.4.214.66]:49756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtyCq-0005AU-GJ for 34211@debbugs.gnu.org; Wed, 13 Feb 2019 12:20:21 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 28E7530219D; Wed, 13 Feb 2019 17:20:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it 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 r05MUasXru4o; Wed, 13 Feb 2019 17:19:54 +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 2AD1B300F92; Wed, 13 Feb 2019 17:19:54 +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 430B7300056; Wed, 13 Feb 2019 18:19:53 +0100 (CET) Received: (nullmailer pid 30501 invoked by uid 1000); Wed, 13 Feb 2019 17:19:52 -0000 From: Giovanni Biscuolo To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#34211: error running container: mingetty cannot find ttys In-Reply-To: <8736otfgmo.fsf@roquette.mug.biscuolo.net> Organization: Xelera.eu References: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> <20190126192150.GD11329@macbook41> <87sgx1glhv.fsf@roquette.mug.biscuolo.net> <87zhr2q862.fsf@gnu.org> <8736otfgmo.fsf@roquette.mug.biscuolo.net> Date: Wed, 13 Feb 2019 18:19:52 +0100 Message-ID: <874l97ehc7.fsf@roquette.mug.biscuolo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34211 Cc: guix-devel@gnu.org, help-guix@gnu.org, 34211@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: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, Giovanni Biscuolo writes: [...] > I'll try to remove term-tty[1..6] manually from services declaration, if > I manage to "manually" solve this I'll report here I tried but failed, I'm removing both mingetty and console-font from %base-services list: =2D-8<---------------cut here---------------start------------->8--- (services (cons* (service dhcp-client-service-type) (service openssh-service-type (openssh-configuration (x11-forwarding? #t) (permit-root-login 'without-password) (authorized-keys `(("gbiscuolo" ,(local-file "ssh-authorized-k= eys/gbiscuolo.pub")))) (port-number 22))) (remove (lambda (service) (eq? (service-kind service) mingetty-service-type) (eq? (service-kind service) console-font-service-type)) %base-services)))) =2D-8<---------------cut here---------------end--------------->8--- but term-tty[1..6] and console-font-tty[1..6] processes still get installed and started by herd please any hint on how to "manually" remove those two failing services? Thanks! Giovanni =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxkUbgACgkQ030Op87M ORJoJw//Ts6Vb9uelkhhWonrLWC1F5UtK0mS89RWQuDpOnYEGv8+zptChYrLr9wk XeX8//FRh5abxwUxrxvs6KeFJxh166Sx7Wpl20YRCn0Bu6qG0LXEIZKCWgue9guS aPvRzsroJKIfCzp4oA+5ChiwXCwfZp08XJO6P0tqpDlI9eHR3xMKPp9YFcfl1pGk gHwabzrtH1hBI2M1r258CRhlu3YmH89ra2wsl2lQUCjV7e+IdjOsDbUWQo9T/bjg FeXMpOUdqJybFYyIfeM+gGYG9tloHtYuokh8Tuz8XYurcpWUooPsQrBH3i9E3TS0 S00gpvRVfzdY2e4NkYBbD724GItAyTiOvUwr7wL6ofdr0z9QjL33nHIW/6ElRcpB 8AGy5Fv1D32Z7MwJQ7iGIr5qrWImPmzVDeemh0+gueDxI1z715YDhxtTa1wi7wDv kswR5yb0pnTnp9aQpKEhfFJ/ffnjLZY46FWepI9IM+AzOKmTj37ynL8TmwEAzyqj KyylQijBsmtbKZnhFMVp2dN3xUWowvr5xmE/TioXzKwMo5Jcsz0Vdl6LI00hQVnp 40CpDrGins4lidcNODOtSCY1tSeBUQ8zg1yPy8bL7GtzHdqiYt+FXqHN6A1UFYhl LUFwITXH0RGgI0DWrBtAv02tHyaFf1isxYYEAOeoG9zuAuGe1+o= =WKIp -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 14 15:08:38 2019 Received: (at 34211) by debbugs.gnu.org; 14 Feb 2019 20:08:39 +0000 Received: from localhost ([127.0.0.1]:48411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guNJG-0003tG-JX for submit@debbugs.gnu.org; Thu, 14 Feb 2019 15:08:38 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:58908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guNJC-0003sv-TX for 34211@debbugs.gnu.org; Thu, 14 Feb 2019 15:08:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=0FdI/FeqIEcZQemzfIFHyLW/s5NF5S0Vlt2jgl7djes=; b=Btk/OXMVV3kxnx5hOCsRjwetF IGm/Z+7JwNz7qRf4GbAqDnxuTZ6byr70ZYFdrxdQqG8Y/byGyC3qlbS6tKlILA78D54q3jBrM5/4n LKKY+7sZ8BvFFN9PvSEH8o5STlqmptMS6+iiKMeXWfn2Mshm294SyLIwPvr58IDnb9pMo=; Received: from [103.5.134.31] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1guNJ7-0001F0-VA; Fri, 15 Feb 2019 01:38:30 +0530 From: Arun Isaac To: Giovanni Biscuolo Subject: Re: bug#34211: error running container: mingetty cannot find ttys In-Reply-To: <874l97ehc7.fsf@roquette.mug.biscuolo.net> References: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> <20190126192150.GD11329@macbook41> <87sgx1glhv.fsf@roquette.mug.biscuolo.net> <87zhr2q862.fsf@gnu.org> <8736otfgmo.fsf@roquette.mug.biscuolo.net> <874l97ehc7.fsf@roquette.mug.biscuolo.net> Date: Fri, 15 Feb 2019 01:38:19 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34211 Cc: 34211@debbugs.gnu.org, help-guix@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: -1.0 (-) --=-=-= Content-Type: text/plain > please any hint on how to "manually" remove those two failing services? You should do something along the lines of the following: (remove (lambda (service) (let ((type (service-type-name (service-kind service)))) (or (eq? type 'mingetty) (eq? type 'console-fonts)))) %base-services) Notice the function call to service-type-name. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAlxlyrMACgkQLiXui2GA K7MFxwf/VX3u0mUdQ7ezb6zqDBMHM3LWSx6uK/Oy4P9Wb6r5TPYTWJCfRKoJcCCv 5o1bEGNJa9SChLXx86hBVw3q24kMlWI1AoLicIbmhYbXPyF3S100DaivTPI8ZhWI g7FamAIOk8FX8oUX4BGKezZiNnj7uGZqWYBaIqwBB24KXVzoqQFqTPf81dSAqoqb sal40+KHs7aYWEVxuOy8sZ08LsQ0QqPvsS5Y252ir8v67uDyP+S80pP9320Sr/HF tlIIJ9vb/YkhFUKqJcF6D12IFaqOhllEZArXbXNnaCvZ+Or/FgCq82npuqBUS4Lu z4hRBZHyxTXqvqnw/x+FIz/7nOC5lg== =IJ4X -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 15 03:58:17 2019 Received: (at 34211) by debbugs.gnu.org; 15 Feb 2019 08:58:17 +0000 Received: from localhost ([127.0.0.1]:48581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guZK4-0005jO-PE for submit@debbugs.gnu.org; Fri, 15 Feb 2019 03:58:16 -0500 Received: from ns13.heimat.it ([46.4.214.66]:39288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guZK3-0005jC-2U for 34211@debbugs.gnu.org; Fri, 15 Feb 2019 03:58:16 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id F04C9300EA5; Fri, 15 Feb 2019 08:58:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it 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 w1o5sUA7DWPe; Fri, 15 Feb 2019 08:57:49 +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 583DB300E8D; Fri, 15 Feb 2019 08:57:49 +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 E239D300056; Fri, 15 Feb 2019 09:57:47 +0100 (CET) Received: (nullmailer pid 19665 invoked by uid 1000); Fri, 15 Feb 2019 08:57:46 -0000 From: Giovanni Biscuolo To: Arun Isaac Subject: Re: bug#34211: error running container: mingetty cannot find ttys In-Reply-To: Organization: Xelera.eu References: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> <20190126192150.GD11329@macbook41> <87sgx1glhv.fsf@roquette.mug.biscuolo.net> <87zhr2q862.fsf@gnu.org> <8736otfgmo.fsf@roquette.mug.biscuolo.net> <874l97ehc7.fsf@roquette.mug.biscuolo.net> Date: Fri, 15 Feb 2019 09:57:44 +0100 Message-ID: <87zhqxbf93.fsf@roquette.mug.biscuolo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34211 Cc: 34211@debbugs.gnu.org, help-guix@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: -1.0 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Hi Arun, Arun Isaac writes: >> please any hint on how to "manually" remove those two failing services? > > You should do something along the lines of the following: > > (remove (lambda (service) > (let ((type (service-type-name (service-kind service)))) > (or (eq? type 'mingetty) > (eq? type 'console-fonts)))) > %base-services) [...] thank you for your suggestion but this does not work in everyone is willing to reproduce this bug [1] this is the container config: --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxmfwkACgkQ030Op87M ORJ9cQ/+MAvz7KBvo+dyoUhc4F0zZXOwsYrHShWwHBpJ8+7JWnZvN8IEHGcVjtrR d0ba+AZJ02dVc47Q7uFNMEtLIqM2AaBjeQO3NVBhvDr8P3/6hH2pAUtHVuFfCWoY HdAufqTdisu9z97AT+pVliaqlp+d1uSC0YvczI4ixidjBWNgOQ4D+hZwrqpUCYnd m5sYO87dZWPvQbHjU2n3EABfAIUXDxgbqio7ikYcffzcwPRtzpJLHLozgPn9LjWq cDCRjAbcq1JCh9mKugklumLhnarFFqLcyr+BN++54t9arQrQVEOsvcBJEFo52gBK ejlUxRK7YPalwqDa3f4ZSyxV5BBUyN/qgMbvzQqr2HR6PicL0XOgEamMq0T92N5Y OOcYQf/7XNmC34J5T0or7RkmhGl5EqiXz+MqrwCUk/i8WaYbjkxuvZKtY56mrqL/ Lge/owBVRy38FDbDDgVLl0O5vgRwiDN06aO8UI50U9pDEIt9R4nj4dS7PV3p7qiE uWjSB68VcN6NCjKsPfIEs/tgDbyfoRwaLwLWJz50mpXzohKQkYguDAE2p/8luJUm BhfPt9rf6RvRknr5Z3yxlcKxHv4ePHmjQGwFQAztvYqCQdw2TsIaAxIRwKowTY2g DcVeHXVZGqz2sb/9qO4HSQxN7XL5I1GZgTriB7wsaF4jm3hp4Ww= =LdFW -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=container-minimal.scm Content-Transfer-Encoding: base64 KHVzZS1tb2R1bGVzIChnbnUpKQoodXNlLW1vZHVsZXMgKHJucnMgbGlzdHMpKQoKKG9wZXJhdGlu Zy1zeXN0ZW0KICAoaG9zdC1uYW1lICJ0ZXN0LWNvbnRhaW5lciIpCiAgKHRpbWV6b25lICJFdXJv cGUvUm9tZSIpCiAgKGxvY2FsZSAiZW5fVVMudXRmOCIpCgogIDs7IEJvb3QgaW4gImxlZ2FjeSIg QklPUyBtb2RlCiAgKGJvb3Rsb2FkZXIgKGJvb3Rsb2FkZXItY29uZmlndXJhdGlvbgogICAgICAg ICAgICAgICAgKGJvb3Rsb2FkZXIgZ3J1Yi1ib290bG9hZGVyKQogICAgICAgICAgICAgICAgKHRh cmdldCAiL2Rldi9zZGEiKSkpCgogIChmaWxlLXN5c3RlbXMgKGNvbnMgKGZpbGUtc3lzdGVtCiAg ICAgICAgICAgICAgICAgICAgICAgIChkZXZpY2UgKGZpbGUtc3lzdGVtLWxhYmVsICJndWl4c2Qi KSkKICAgICAgICAgICAgICAgICAgICAgICAgKG1vdW50LXBvaW50ICIvIikKICAgICAgICAgICAg ICAgICAgICAgICAgKHR5cGUgImV4dDQiKSkKICAgICAgICAgICAgICAgICAgICAgICViYXNlLWZp bGUtc3lzdGVtcykpCiAgCiAgOzsgVGhpcyBpcyB3aGVyZSB1c2VyIGFjY291bnRzIGFyZSBzcGVj aWZpZWQuICBUaGUgInJvb3QiCiAgOzsgYWNjb3VudCBpcyBpbXBsaWNpdCwgYW5kIGlzIGluaXRp YWxseSBjcmVhdGVkIHdpdGggdGhlCiAgOzsgZW1wdHkgcGFzc3dvcmQuCiAgKHVzZXJzIChjb25z ICh1c2VyLWFjY291bnQKICAgICAgICAgICAgICAgIChuYW1lICJ0ZXN0IikKICAgICAgICAgICAg ICAgIChjb21tZW50ICJUZXN0IFVzZXIiKQogICAgICAgICAgICAgICAgKGdyb3VwICJ1c2VycyIp CiAgICAgICAgICAgICAgICAoc3VwcGxlbWVudGFyeS1ncm91cHMgJygid2hlZWwiICJhdWRpbyIg InZpZGVvIikpCiAgICAgICAgICAgICAgICAoaG9tZS1kaXJlY3RvcnkgIi9ob21lL3Rlc3QiKSkK ICAgICAgICAgICAgICAgJWJhc2UtdXNlci1hY2NvdW50cykpCiAgCiAgOzsgR2xvYmFsbHktaW5z dGFsbGVkIHBhY2thZ2VzLgogIChwYWNrYWdlcyAoY29ucyogJWJhc2UtcGFja2FnZXMpKQoKICA7 OyByZW1vdmUgbWluZ2V0dHkgYW5kIGNvbnNvbGUtZm9udHMgZnJvbSBjb250YWluZXIKICAoc2Vy dmljZXMgKGNvbnMqIChyZW1vdmUgKGxhbWJkYSAoc2VydmljZSkKCQkJICAgICAobGV0ICgodHlw ZSAoc2VydmljZS10eXBlLW5hbWUgKHNlcnZpY2Uta2luZCBzZXJ2aWNlKSkpKQoJCQkgICAgICAg KG9yIChlcT8gdHlwZSAnbWluZ2V0dHkpCgkJCQkgICAoZXE/IHR5cGUgJ2NvbnNvbGUtZm9udHMp KSkpCgkJCSAgICViYXNlLXNlcnZpY2VzKSkpKQo= --=-=-= Content-Type: text/plain it's _very_ lightweight so it'll not waste your store space, to test it just do --8<---------------cut here---------------start------------->8--- $ rm container-minimal $ guix system container container-minimal.scm -r container-minimal $ sudo ./container-minimal --8<---------------cut here---------------end--------------->8--- in all my tests mingetty gets started and respawned, I can enter the container and manually stop term-tty[1..6] services Thanks! Giovanni [1] may it depend on my user environment? I'm on a foreign distro (Debian 9.7) -- Giovanni Biscuolo Xelera IT Infrastructures --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 15 05:39:49 2019 Received: (at 34211) by debbugs.gnu.org; 15 Feb 2019 10:39:49 +0000 Received: from localhost ([127.0.0.1]:48606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guauK-00086X-OU for submit@debbugs.gnu.org; Fri, 15 Feb 2019 05:39:48 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:38444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guauF-00086M-NO for 34211@debbugs.gnu.org; Fri, 15 Feb 2019 05:39:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8aiwiKQ028B2dqV45JgEE6LJbnzIbQ56jACz92D+N38=; b=ZooDACi6aHx4zu2wFAAzkP0UR TDukIcBrxJxf41/nyhIep5AZeXBZO7h3tCyv6FLZt5Y+bT6puTCbSmMX5mHPHiCGjNkMBxsv//Tqb g0eKh8lR6bnAIGZeOYtXwxzi1FIb59KVX2SqMV2DNj7VYuNqFzLE7fNvNhZ9fGUOVdZPg=; Received: from [14.139.128.10] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1guauA-0000DS-UC; Fri, 15 Feb 2019 16:09:39 +0530 From: Arun Isaac To: Giovanni Biscuolo Subject: Re: bug#34211: error running container: mingetty cannot find ttys In-Reply-To: <87zhqxbf93.fsf@roquette.mug.biscuolo.net> References: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> <20190126192150.GD11329@macbook41> <87sgx1glhv.fsf@roquette.mug.biscuolo.net> <87zhr2q862.fsf@gnu.org> <8736otfgmo.fsf@roquette.mug.biscuolo.net> <874l97ehc7.fsf@roquette.mug.biscuolo.net> <87zhqxbf93.fsf@roquette.mug.biscuolo.net> Date: Fri, 15 Feb 2019 16:09:22 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34211 Cc: 34211@debbugs.gnu.org, help-guix@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: -1.0 (-) --=-=-= Content-Type: text/plain >> You should do something along the lines of the following: >> >> (remove (lambda (service) >> (let ((type (service-type-name (service-kind service)))) >> (or (eq? type 'mingetty) >> (eq? type 'console-fonts)))) >> %base-services) > > thank you for your suggestion but this does not work You need to use remove from (srfi srfi-1), not from (rnrs lists). In your container-minimal.scm, replace (use-modules (rnrs lists)) with (use-modules (srfi srfi-1)) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAlxmltoACgkQLiXui2GA K7P+uQgAqPdy/BonEGioKC4DEYMZUEIcqtcmpPyxM+OR/gMPC00cDp0qdIibV811 9BvMIgFCbvHLEkwGKoFxupPfeOP+ZPwRrkxrw/djmah1DE5zhVsNxNq+FY7I6wlg 2TM8nWLJHEfqKUp1bdHz9ZGPJ8J8uwsGLECaEWUM+PluqbUJ9I97AB6X0AcvgS5x WbFBzu9LUN89mYtTFCLb+n7mdY1+0zX8y6dVS+EJXt25Rf3znsOmh92uqGE5DYEy qP9B9nIL85L1r19fJU9kw/DyXQGcjOVwZ+Ksb7/UWIB0tAYQUvg0hUNxLoi542zQ 1TyXZNtKb7mL/p1lV8vqikXf/ZvWAA== =q2M2 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 15 06:34:54 2019 Received: (at 34211) by debbugs.gnu.org; 15 Feb 2019 11:34:54 +0000 Received: from localhost ([127.0.0.1]:48629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gublc-00010X-O6 for submit@debbugs.gnu.org; Fri, 15 Feb 2019 06:34:54 -0500 Received: from ns13.heimat.it ([46.4.214.66]:40328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gublZ-00010J-Cb for 34211@debbugs.gnu.org; Fri, 15 Feb 2019 06:34:50 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 778313021A0; Fri, 15 Feb 2019 11:34:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it 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 K1uK6FGxWVZ4; Fri, 15 Feb 2019 11:34:24 +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 3C2C5300F63; Fri, 15 Feb 2019 11:34:24 +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 9E810300056; Fri, 15 Feb 2019 12:34:21 +0100 (CET) Received: (nullmailer pid 22169 invoked by uid 1000); Fri, 15 Feb 2019 11:34:21 -0000 From: Giovanni Biscuolo To: Arun Isaac Subject: Re: bug#34211: error running container: mingetty cannot find ttys In-Reply-To: Organization: Xelera.eu References: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> <20190126192150.GD11329@macbook41> <87sgx1glhv.fsf@roquette.mug.biscuolo.net> <87zhr2q862.fsf@gnu.org> <8736otfgmo.fsf@roquette.mug.biscuolo.net> <874l97ehc7.fsf@roquette.mug.biscuolo.net> <87zhqxbf93.fsf@roquette.mug.biscuolo.net> Date: Fri, 15 Feb 2019 12:34:20 +0100 Message-ID: <87k1i1b803.fsf@roquette.mug.biscuolo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34211 Cc: 34211@debbugs.gnu.org, help-guix@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: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Arun Isaac writes: >>> You should do something along the lines of the following: >>> >>> (remove (lambda (service) >>> (let ((type (service-type-name (service-kind service)))) >>> (or (eq? type 'mingetty) >>> (eq? type 'console-fonts)))) >>> %base-services) >> >> thank you for your suggestion but this does not work > > You need to use remove from (srfi srfi-1), not from (rnrs lists). > > In your container-minimal.scm, replace > > (use-modules (rnrs lists)) > > with > > (use-modules (srfi srfi-1)) it works! thank you for your patience Arun :-) so it's possible to "manually" remove the unneeded mingetty and console-fonts services from containers how could it be automated? should it be automated? (IMHO yes) Thanks! Giovanni =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxmo7wACgkQ030Op87M ORJlaA//bS1d8i1P5El5BkUv1oNo44xrwy7DupTbJOZRMh82u+fyK3hWttrPi8Nd GiNrgnBT6DM7W42DwugefNEqe0OYujBlRFncGAuJkYZ34x9KB05lcaTK+TXauADb N/IEKLIsBlQfCmJPvLT5XgwW5/wNHpaUj/XZ6ITJyJ50cvrdO3Tdc1U7slsqMn+x 6EUnnbq9XpfsMeh76ODHi3fIw/JAUI773qYKbIvBtCIPYhi8Esq7B0v/fdWT98N6 kbV1mNHdAn2TFZPeNZGhY+tRrz0JARtba9jZBs1fLLN++ZyzeFBaLQnnH22o7JmP vTBTyndsy1QBsMUP5H4rlnAiSccAae5ZR97+w+ZWBvRsiubm2mzY1Nvm3YKPBK7E Jm2ukhTu+xXMEUMvT4+r4mRYi0ANysvzN/eg2sHusRybjTpEm+cOrDi838RLOl7I jifCnoFcJ3tPsALgKGyiMT8jeEWhKpxR6fxgD987pNkDP/ln93AlcSLbfYnMEu+j /ozhz7OUvhBXyWJ+fDdkyYaDZYyyjNqDaigBYhGIxbQCE89T0asEk2k2u+xXfWhJ tHH60YC+7Pjwg7BeGZzBOSm1SmqnHSVzOVt9VWu9S40dZLkAo43xRHrzYD3YaU3+ 219qvdCr0uuYG7o0MSn+YsHbdUKef83QlCdVvg9y/OcWVds0Cys= =rUgb -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 15 07:41:13 2019 Received: (at 34211) by debbugs.gnu.org; 15 Feb 2019 12:41:13 +0000 Received: from localhost ([127.0.0.1]:48667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gucnp-0004oQ-6b for submit@debbugs.gnu.org; Fri, 15 Feb 2019 07:41:13 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:39178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gucnj-0004o9-Cq for 34211@debbugs.gnu.org; Fri, 15 Feb 2019 07:41:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3AELsrvLemjIHNKfu8aO233Aey0Jcnp0mcCJT5aI9bM=; b=i+5vuaNiZwRIqkIEndB8REQ97 yifPAdYjdwaEpz8nWOLhW1q4ttfALXNTHplkysXTV8a6LY+Gl3tZQgrDmC6hC/RNdQFxTMLDkh2tx g3Gp4UwpWlt2+ccvoFOa3diKnQsUbOP/+3cXO/sQVkoKbjUOn3gBvWESKsjjewWF20QIQ=; Received: from [14.139.128.10] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1gucAH-0000K4-JM; Fri, 15 Feb 2019 17:30:21 +0530 From: Arun Isaac To: Giovanni Biscuolo Subject: Re: bug#34211: error running container: mingetty cannot find ttys In-Reply-To: <87k1i1b803.fsf@roquette.mug.biscuolo.net> References: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> <20190126192150.GD11329@macbook41> <87sgx1glhv.fsf@roquette.mug.biscuolo.net> <87zhr2q862.fsf@gnu.org> <8736otfgmo.fsf@roquette.mug.biscuolo.net> <874l97ehc7.fsf@roquette.mug.biscuolo.net> <87zhqxbf93.fsf@roquette.mug.biscuolo.net> <87k1i1b803.fsf@roquette.mug.biscuolo.net> Date: Fri, 15 Feb 2019 17:30:09 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34211 Cc: 34211@debbugs.gnu.org, help-guix@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: -1.0 (-) --=-=-= Content-Type: text/plain > so it's possible to "manually" remove the unneeded mingetty and > console-fonts services from containers > > how could it be automated? should it be automated? (IMHO yes) I too believe it should be automated. But, I'll leave the others on this thread to come to a decision. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAlxmqckACgkQLiXui2GA K7Oc4ggAhWp7EoLGrofTC22DF7zVgT/5cRJRIn/UclJuVg/VRfsNJ35A1ibiKUhy qrKiKyfbnKxmQ3X+yWw2cXr5pgcujf8TQa6U8vp7VNykdNHC0LxRRAvjYwL5BYTO hCieH1MbiBe1zO9GzLD9hUasGJS12Q9JLh83mp0BaIeylvxm++oTHYm1jHXdVG4+ tXE4fs8rTgz5sDLUl0dqXojforwHSFDKZZqVYH6PM9igFToEG1n6wtTSGcykBW8E RRmq9GdmC5GDgA7bKbeviQEyKK6iFM2mKiGWj2eCoaLnidob1Zr04N09SZ4sBN+Z No2iqK02paw+CX9Pyz2IavaD8ueZdA== =SYkX -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 13 18:13:53 2019 Received: (at 34211-done) by debbugs.gnu.org; 13 Mar 2019 22:13:53 +0000 Received: from localhost ([127.0.0.1]:42592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4C8G-0004g7-O6 for submit@debbugs.gnu.org; Wed, 13 Mar 2019 18:13:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4C8E-0004ft-Tn for 34211-done@debbugs.gnu.org; Wed, 13 Mar 2019 18:13:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4C87-0006iM-VG; Wed, 13 Mar 2019 18:13:44 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56894 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h4C87-00023B-0l; Wed, 13 Mar 2019 18:13:43 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Arun Isaac Subject: Re: bug#34211: error running container: mingetty cannot find ttys References: <874l9wbpfb.fsf@roquette.mug.biscuolo.net> <20190126192150.GD11329@macbook41> <87sgx1glhv.fsf@roquette.mug.biscuolo.net> <87zhr2q862.fsf@gnu.org> <8736otfgmo.fsf@roquette.mug.biscuolo.net> <874l97ehc7.fsf@roquette.mug.biscuolo.net> <87zhqxbf93.fsf@roquette.mug.biscuolo.net> <87k1i1b803.fsf@roquette.mug.biscuolo.net> Date: Wed, 13 Mar 2019 23:13:38 +0100 In-Reply-To: (Arun Isaac's message of "Fri, 15 Feb 2019 17:30:09 +0530") Message-ID: <87wol22zjh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34211-done Cc: help-guix@gnu.org, Giovanni Biscuolo , 34211-done@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: -1.0 (-) Hi, Arun Isaac skribis: >> so it's possible to "manually" remove the unneeded mingetty and >> console-fonts services from containers >> >> how could it be automated? should it be automated? (IMHO yes) > > I too believe it should be automated. But, I'll leave the others on this > thread to come to a decision. Done in b94c80ff5d844f7763738ab5359fee72f11f9367, thanks! Ludo'. From unknown Sun Jun 22 07:59:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 11 Apr 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator