help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Giovanni Biscuolo
Subject: Re: bug#34211: error running container: mingetty cannot find ttys
Date: Fri, 15 Feb 2019 12:34:20 +0100

Arun Isaac <address@hidden> 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

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]