all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Giovanni Biscuolo <g@xelera.eu>
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: 34211@debbugs.gnu.org, help-guix@gnu.org
Subject: Re: bug#34211: error running container: mingetty cannot find ttys
Date: Fri, 15 Feb 2019 12:34:20 +0100	[thread overview]
Message-ID: <87k1i1b803.fsf@roquette.mug.biscuolo.net> (raw)
In-Reply-To: <cu7pnrtcp45.fsf@systemreboot.net>

[-- Attachment #1: Type: text/plain, Size: 898 bytes --]

Arun Isaac <arunisaac@systemreboot.net> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  parent reply	other threads:[~2019-02-15 11:34 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-25 17:46 error running container: mingetty cannot find ttys Giovanni Biscuolo
2019-01-26 19:21 ` Efraim Flashner
2019-01-27 14:49   ` Giovanni Biscuolo
2019-01-27 16:15     ` Efraim Flashner
2019-02-06 12:16   ` bug#34211: " Giovanni Biscuolo
2019-02-06 12:16   ` Giovanni Biscuolo
2019-02-11 22:20     ` bug#34211: " Ludovic Courtès
2019-02-11 22:20     ` Ludovic Courtès
2019-02-12 10:25       ` Giovanni Biscuolo
2019-02-13 17:19         ` Giovanni Biscuolo
2019-02-13 17:19         ` Giovanni Biscuolo
2019-02-14 20:08           ` Arun Isaac
2019-02-15  8:57             ` Giovanni Biscuolo
2019-02-15 10:39               ` Arun Isaac
2019-02-15 11:34                 ` Giovanni Biscuolo
2019-02-15 11:34                 ` Giovanni Biscuolo [this message]
2019-02-15 12:00                   ` Arun Isaac
2019-02-15 12:00                   ` Arun Isaac
2019-03-13 22:13                     ` Ludovic Courtès
2019-02-15 10:39               ` Arun Isaac
2019-02-15  8:57             ` Giovanni Biscuolo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k1i1b803.fsf@roquette.mug.biscuolo.net \
    --to=g@xelera.eu \
    --cc=34211@debbugs.gnu.org \
    --cc=arunisaac@systemreboot.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.