From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: Re: bug#34211: error running container: mingetty cannot find ttys Date: Fri, 15 Feb 2019 16:09:22 +0530 Message-ID: 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-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guauV-0004JS-F5 for help-guix@gnu.org; Fri, 15 Feb 2019 05:40:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guauU-0003QC-Dv for help-guix@gnu.org; Fri, 15 Feb 2019 05:39:59 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]:50010) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1guauR-0002ZW-Pr for help-guix@gnu.org; Fri, 15 Feb 2019 05:39:58 -0500 In-Reply-To: <87zhqxbf93.fsf@roquette.mug.biscuolo.net> 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: Giovanni Biscuolo Cc: 34211@debbugs.gnu.org, help-guix@gnu.org --=-=-= 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----- --=-=-=--