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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Efraim Flashner <efraim <at> flashner.co.il>
Subject: bug#34211: closed (Re: bug#34211: error running container:
 mingetty cannot find ttys)
Date: Wed, 13 Mar 2019 22:14:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#34211: error running container: mingetty cannot find ttys

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 34211 <at> debbugs.gnu.org.

-- 
34211: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34211
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: help-guix <at> gnu.org, Giovanni Biscuolo <g <at> xelera.eu>,
 34211-done <at> debbugs.gnu.org
Subject: Re: bug#34211: error running container: mingetty cannot find ttys
Date: Wed, 13 Mar 2019 23:13:38 +0100
Hi,

Arun Isaac <arunisaac <at> systemreboot.net> skribis:

>> 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)
>
> I too believe it should be automated. But, I'll leave the others on this
> thread to come to a decision.

Done in b94c80ff5d844f7763738ab5359fee72f11f9367, thanks!

Ludo'.

[Message part 3 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: Giovanni Biscuolo <g <at> xelera.eu>
Cc: bug-guix <at> gnu.org, help-guix <at> gnu.org
Subject: Re: error running container: mingetty cannot find ttys
Date: Sat, 26 Jan 2019 21:21:51 +0200
[Message part 4 (text/plain, inline)]
On Fri, Jan 25, 2019 at 06:46:48PM +0100, Giovanni Biscuolo wrote:
> Hi guix!
> 
> I'm experimenting with my first "system container": it builds but it
> fails running
> 
> I build the container using this operating system definition:




> 
> --8<---------------cut here---------------start------------->8---
> $ guix system container ../labs/configuration/container-minimal.scm -r container-minimal
> /localhome/g/guix/labs/configuration/container-minimal.scm:41:19: warning: 'dhcp-client-service' is deprecated, use 'dhcp-client-service-type' instead
> guix system: warning: Your Guix installation is 9 days old.
> guix system: warning: Consider running 'guix pull' followed by
> 'guix system reconfigure' to get up-to-date packages and security updates.
> 
> /gnu/store/n3577q00rwzccbc50cqhlwhsnkpd1lrr-run-container
> --8<---------------cut here---------------end--------------->8---
> 
> then I start the container as root
> 
> --8<---------------cut here---------------start------------->8---
> $ sudo -E ./container-minimal 
> [sudo] password for g: 
> making '/gnu/store/5px51fc8nspwkhni8kprpxcjl6mxznd5-system' the current system...
> setting up setuid programs in '/run/setuid-programs'...
> populating /etc from /gnu/store/0a7gn00mqzg5kyrwwd9dyjyvan9vlxsa-etc...
> adding user 'root'...
> adding group 'root'...
> adding group 'wheel'...
> adding group 'users'...
> adding group 'nogroup'...
> adding group 'tty'...
> adding group 'dialout'...
> adding group 'kmem'...
> adding group 'input'...
> adding group 'video'...
> adding group 'audio'...
> adding group 'netdev'...
> adding group 'lp'...
> adding group 'disk'...
> adding group 'floppy'...
> adding group 'cdrom'...
> adding group 'tape'...
> adding group 'kvm'...
> adding group 'guixbuild'...
> adding group 'sshd'...
> usermod: no changes
> adding user 'gbiscuolo'...
> adding user 'nobody'...
> adding user 'guixbuilder01'...
> adding user 'guixbuilder02'...
> adding user 'guixbuilder03'...
> adding user 'guixbuilder04'...
> adding user 'guixbuilder05'...
> adding user 'guixbuilder06'...
> adding user 'guixbuilder07'...
> adding user 'guixbuilder08'...
> adding user 'guixbuilder09'...
> adding user 'guixbuilder10'...
> adding user 'sshd'...
> registering public key '/gnu/store/vv1kkj9aqpv1akk7l7vp2kkd695wgxcr-guix-0.16.0-8.7ba2b27/share/guix/hydra.gnu.org.pub'...
> registering public key '/gnu/store/vv1kkj9aqpv1akk7l7vp2kkd695wgxcr-guix-0.16.0-8.7ba2b27/share/guix/berlin.guixsd.org.pub'...
> `/gnu/store/cyh3fv8fi86nx4pw8gh4r4hdzi5w31cm-openssh-authorized-keys/gbiscuolo' -> `/etc/ssh/authorized_keys.d/gbiscuolo'
> ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 
> nscd: 178 monitoring file `/etc/hosts` (1)
> nscd: 178 monitoring directory `/etc` (2)
> nscd: 178 monitoring file `/etc/resolv.conf` (3)
> nscd: 178 monitoring directory `/etc` (2)
> nscd: 178 monitoring file `/etc/services` (4)
> nscd: 178 monitoring directory `/etc` (2)
> failed to start service 'console-font-tty1'
> failed to start service 'console-font-tty2'
> failed to start service 'console-font-tty3'
> failed to start service 'console-font-tty4'
> failed to start service 'console-font-tty5'
> failed to start service 'console-font-tty6'
> Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[191]: tty5: No such file or directory
> Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[190]: tty6: No such file or directory
> Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[193]: tty3: No such file or directory
> Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[194]: tty2: No such file or directory
> Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[195]: tty1: No such file or directory
> Jan 25 18:30:37 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[192]: tty4: No such file or directory
> Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[200]: tty6: No such file or directory
> Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[202]: tty4: No such file or directory
> Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[201]: tty5: No such file or directory
> Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[204]: tty2: No such file or directory
> Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[205]: tty1: No such file or directory
> Jan 25 18:30:43 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[203]: tty3: No such file or directory
> Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[206]: tty6: No such file or directory
> Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[207]: tty4: No such file or directory
> Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[208]: tty5: No such file or directory
> Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[210]: tty2: No such file or directory
> Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[211]: tty1: No such file or directory
> Jan 25 18:30:48 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[212]: tty3: No such file or directory
> Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[213]: tty6: No such file or directory
> Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[214]: tty5: No such file or directory
> Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[216]: tty2: No such file or directory
> Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[217]: tty1: No such file or directory
> Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[218]: tty3: No such file or directory
> Jan 25 18:30:53 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[219]: tty4: No such file or directory
> Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[220]: tty6: No such file or directory
> Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[221]: tty5: No such file or directory
> Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[222]: tty1: No such file or directory
> Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[223]: tty2: No such file or directory
> Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[224]: tty3: No such file or directory
> Jan 25 18:30:58 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[225]: tty4: No such file or directory
> Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[226]: tty6: No such file or directory
> Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[227]: tty5: No such file or directory
> Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[230]: tty2: No such file or directory
> Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[231]: tty3: No such file or directory
> Jan 25 18:31:03 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[232]: tty4: No such file or directory
> Jan 25 18:31:08 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[234]: tty5: No such file or directory
> Jan 25 18:31:08 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[235]: tty2: No such file or directory
> Jan 25 18:31:08 localhost /gnu/store/mbq93mr1vbs6za0n0yn32gfsyq1wx6xf-mingetty-1.08/sbin/mingetty[236]: tty3: No such file or directory
> --8<---------------cut here---------------end--------------->8---
> 
> it loops indefinitely, I have to ^C it to stop it
> 
> any hint please?
> 
> Thanks!
> Giovanni
> 
I tested the config (after removing the references to your ssh key) on
commit fc9c47bd7cdfd6265681e6b2c48fdb7889672bcc and I got the same
issue. Forwarding on to bug-guix


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[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.