Subject: Re: bug#34211: error running container: mingetty cannot find ttys

From: Arun Isaac <[email-masked]>
Date: Fri, 15 Feb 2019 16:09:22 +0530

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