Devuan bug report logs - #440
util-linux: /sbin/getty does not allow login from systemd-nspawn

version graph

Package: util-linux; Maintainer for util-linux is Devuan Developers <devuan-dev@lists.dyne.org>; Source for util-linux is src:util-linux.

Reported by: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>

Date: Fri, 8 May 2020 07:33:01 UTC

Severity: normal

Found in version 2.33.1-0.1+devuan1~beowulf2

Full log


Message #16 received at 440@bugs.devuan.org (full text, mbox, reply):

Received: (at 440) by bugs.devuan.org; 8 May 2020 11:10:04 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Fri, 08 May 2020 11:10:03 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 2E021F60B88
	for <440@bugs.devuan.org>; Fri,  8 May 2020 13:04:42 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1jX0o3-0003Zx-P8; Fri, 08 May 2020 12:04:39 +0100
Received: (nullmailer pid 10010 invoked by uid 1000);
	Fri, 08 May 2020 11:04:39 -0000
Date: Fri, 8 May 2020 12:04:39 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>, 440@bugs.devuan.org
Subject: Re: bug#440: util-linux: /sbin/getty does not allow login from
 systemd-nspawn
Message-ID: <20200508110439.GH32762@hindley.org.uk>
References: <20200508.161620.773143497611706408.ryutaroh@ict.e.titech.ac.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200508.161620.773143497611706408.ryutaroh@ict.e.titech.ac.jp>
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
On Fri, May 08, 2020 at 04:16:20PM +0900, Ryutaroh Matsumoto wrote:
> Package: util-linux
> Version: 2.33.1-0.1+devuan1~beowulf2
> Severity: normal
> 
> Dear Maintainer,
> 
> I made a Devuan container on Debian Bullseye by
> mmdebstrap --components="main contrib non-free" --variant=standard beowulf /var/lib/lxc/devuan/rootfs http://deb.devuan.org/merged
> 
> Then I commented-in the last line in /etc/inittab of Devuan as
> 
> # Example for systemd-nspawn
> # Only /dev/console exists inside nspawn, so we need a getty on that.
> # Also make sure to comment out the gettys on tty* above.
> C0:2345:respawn:/sbin/getty -8 --noclear --keep-baud console 115200,38400,9600
> 
> "lxc-start -F -n devuan" works fine and it allows login.
> On the other hand, when the Devuan container is started by
> "systemd-nspawn -D /var/lib/lxc/devuan/rootfs -b",
> typing "root" to "login: " just says "Login incorrect" without asking password.

Thinking about this more, that sounds like a baud rate issue.

Does using a simpler/different line in inittab help?

 C0::respawn:/sbin/getty 38400 console

Is about as simple as you can go, I suppose.

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri May 3 07:48:21 2024;