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----- --=-=-=--