From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: bug#34211: error running container: mingetty cannot find ttys Date: Fri, 15 Feb 2019 12:34:20 +0100 Message-ID: <87k1i1b803.fsf__6085.20970433659$1550230525$gmane$org@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> 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]:49730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gubls-0002zQ-Lk for bug-guix@gnu.org; Fri, 15 Feb 2019 06:35:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gubln-0007O9-7e for bug-guix@gnu.org; Fri, 15 Feb 2019 06:35:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gubln-0007Mk-4e for bug-guix@gnu.org; Fri, 15 Feb 2019 06:35:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gublm-00010y-It for bug-guix@gnu.org; Fri, 15 Feb 2019 06:35:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: 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: Arun Isaac Cc: help-guix@gnu.org, 34211@debbugs.gnu.org --=-=-= 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----- --=-=-=--