From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: bug#34211: error running container: mingetty cannot find ttys Date: Fri, 15 Feb 2019 12:34:20 +0100 Message-ID: <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> 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]:49644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gublc-0002lq-Js for help-guix@gnu.org; Fri, 15 Feb 2019 06:34:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gubla-0006vC-K6 for help-guix@gnu.org; Fri, 15 Feb 2019 06:34:52 -0500 Received: from ns13.heimat.it ([46.4.214.66]:45156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gublZ-0006c2-2y for help-guix@gnu.org; Fri, 15 Feb 2019 06:34:50 -0500 In-Reply-To: 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: Arun Isaac Cc: 34211@debbugs.gnu.org, help-guix@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----- --=-=-=--