GNU bug report logs - #34211
error running container: mingetty cannot find ttys

Previous Next

Package: guix;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Sat, 26 Jan 2019 19:23:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Giovanni Biscuolo <g <at> xelera.eu>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 34211 <at> debbugs.gnu.org, help-guix <at> gnu.org
Subject: bug#34211: error running container: mingetty cannot find ttys
Date: Fri, 15 Feb 2019 12:34:20 +0100
[Message part 1 (text/plain, inline)]
Arun Isaac <arunisaac <at> 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
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 6 years and 70 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.