From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: 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]:34835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guaue-0004Qe-B3 for bug-guix@gnu.org; Fri, 15 Feb 2019 05:40:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guauY-0003mX-S3 for bug-guix@gnu.org; Fri, 15 Feb 2019 05:40:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49325) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guauY-0003l7-Oq for bug-guix@gnu.org; Fri, 15 Feb 2019 05:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1guauY-000874-ES for bug-guix@gnu.org; Fri, 15 Feb 2019 05:40:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87zhqxbf93.fsf@roquette.mug.biscuolo.net> 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: Giovanni Biscuolo Cc: help-guix@gnu.org, 34211@debbugs.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----- --=-=-=--