Received: (at 440) by bugs.devuan.org; 8 May 2020 11:30:04 +0000 Return-Path: <matsumoto.r.aa@m.titech.ac.jp> 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:30:04 +0000 (UTC) Received: from mail001.nap.gsic.titech.ac.jp (mail001.nap.gsic.titech.ac.jp [131.112.13.101]) by vm6.ganeti.dyne.org (Postfix) with SMTP id 4D65BF604B2 for <440@bugs.devuan.org>; Fri, 8 May 2020 13:25:16 +0200 (CEST) Received: from 172.22.40.204 by mail001.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2609:1:AUTH_RELAY) (envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Fri, 08 May 2020 20:25:15 +0900 (JST) Received: from mail001.nap.gsic.titech.ac.jp (mail001.nap.gsic.titech.ac.jp [131.112.13.101]) by drweb07.nap.gsic.titech.ac.jp (Postfix) with SMTP id F2300AB1B; Fri, 8 May 2020 20:25:14 +0900 (JST) Received: from 126.255.18.103 by mail001.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2600:0:AUTH_LOGIN) (envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Fri, 08 May 2020 20:25:14 +0900 (JST) Date: Fri, 08 May 2020 20:25:14 +0900 (JST) Message-Id: <20200508.202514.524253563249551156.ryutaroh@ict.e.titech.ac.jp> To: mark@hindley.org.uk Cc: 440@bugs.devuan.org Subject: Re: bug#440: util-linux: /sbin/getty does not allow login from systemd-nspawn From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> In-Reply-To: <20200508110439.GH32762@hindley.org.uk> References: <20200508.161620.773143497611706408.ryutaroh@ict.e.titech.ac.jp> <20200508110439.GH32762@hindley.org.uk> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org > 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. Umm, it does not work, the same symptom... Ryutaroh
Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
:Devuan Developers <devuan-dev@lists.dyne.org>
.
Full text available.devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>
:bug#440
; Package util-linux
.
Full text available.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
devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>
:bug#440
; Package util-linux
.
Full text available.Received: (at 440) by bugs.devuan.org; 8 May 2020 10:40:04 +0000 Return-Path: <matsumoto.r.aa@m.titech.ac.jp> 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 10:40:04 +0000 (UTC) Received: from mail004.nap.gsic.titech.ac.jp (mail004.nap.gsic.titech.ac.jp [131.112.13.104]) by vm6.ganeti.dyne.org (Postfix) with SMTP id B6C3DF60B1A for <440@bugs.devuan.org>; Fri, 8 May 2020 12:34:32 +0200 (CEST) Received: from 172.22.40.204 by mail004.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2777:0:AUTH_RELAY) (envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Fri, 08 May 2020 19:34:28 +0900 (JST) Received: from mail002.nap.gsic.titech.ac.jp (mail002.nap.gsic.titech.ac.jp [131.112.13.102]) by drweb07.nap.gsic.titech.ac.jp (Postfix) with SMTP id B4F42AB0E; Fri, 8 May 2020 19:34:28 +0900 (JST) Received: from 126.255.18.103 by mail002.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2629:0:AUTH_LOGIN) (envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Fri, 08 May 2020 19:34:27 +0900 (JST) Date: Fri, 08 May 2020 19:34:23 +0900 (JST) Message-Id: <20200508.193423.1532895876456154305.ryutaroh@ict.e.titech.ac.jp> To: mark@hindley.org.uk Cc: 440@bugs.devuan.org Subject: Re: util-linux: /sbin/getty does not allow login from systemd-nspawn From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> In-Reply-To: <20200508094518.GE32762@hindley.org.uk> References: <20200508.161620.773143497611706408.ryutaroh@ict.e.titech.ac.jp> <20200508094518.GE32762@hindley.org.uk> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Hi Mark, Thanks again for your response. > Did you also comment out the previous tty* gettys as indicated^^^ I forgot doing it, but commenting out 1:2345:respawn:/sbin/getty 38400 tty1 ... 6:23:respawn:/sbin/getty 38400 tty6 does not change the symptom. By the way, very few people on the earth expect friendly relationship between Devuan and systemd, and Devuan Beowulf works (almost) fine under LXC containers, so I have no objection if this bug receives "wontfix" tag :-) You can just tell people to use LXC... Best regards, Ryutaroh
Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
:Devuan Developers <devuan-dev@lists.dyne.org>
.
Full text available.devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>
:bug#440
; Package util-linux
.
Full text available.Received: (at 440) by bugs.devuan.org; 8 May 2020 09:50:06 +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 09:50:06 +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 7FDDBF606E1 for <440@bugs.devuan.org>; Fri, 8 May 2020 11:45:25 +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 1jWzZG-0002wU-J4; Fri, 08 May 2020 10:45:18 +0100 Received: (nullmailer pid 8332 invoked by uid 1000); Fri, 08 May 2020 09:45:18 -0000 Date: Fri, 8 May 2020 10:45:18 +0100 From: Mark Hindley <mark@hindley.org.uk> To: 440@bugs.devuan.org, Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> Subject: Re: util-linux: /sbin/getty does not allow login from systemd-nspawn Message-ID: <20200508094518.GE32762@hindley.org.uk> 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 X-UID: 215 User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=0.0 required=5.0 tests=FAKE_REPLY_C,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org Ryutaroh, On Fri, 08 May 2020 16:16:20 +0900 (JST) Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> 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. Did you also comment out the previous tty* gettys as indicated^^^ Mark
devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>
:bug#440
; Package util-linux
.
Full text available.Received: (at submit) by bugs.devuan.org; 8 May 2020 07:20:05 +0000 Return-Path: <matsumoto.r.aa@m.titech.ac.jp> 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 07:20:05 +0000 (UTC) Received: from mail004.nap.gsic.titech.ac.jp (mail004.nap.gsic.titech.ac.jp [131.112.13.104]) by vm6.ganeti.dyne.org (Postfix) with SMTP id F2F6DF6050B for <submit@bugs.devuan.org>; Fri, 8 May 2020 09:16:24 +0200 (CEST) Received: from 172.22.40.204 by mail004.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2782:0:AUTH_RELAY) (envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Fri, 08 May 2020 16:16:21 +0900 (JST) Received: from mail002.nap.gsic.titech.ac.jp (mail002.nap.gsic.titech.ac.jp [131.112.13.102]) by drweb07.nap.gsic.titech.ac.jp (Postfix) with SMTP id 85DF4259B42 for <submit@bugs.devuan.org>; Fri, 8 May 2020 16:16:21 +0900 (JST) Received: from 131.112.36.198 by mail002.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2629:0:AUTH_LOGIN) (envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Fri, 08 May 2020 16:16:21 +0900 (JST) Date: Fri, 08 May 2020 16:16:20 +0900 (JST) Message-Id: <20200508.161620.773143497611706408.ryutaroh@ict.e.titech.ac.jp> To: Devuan Bug Tracking System <submit@bugs.devuan.org> Subject: util-linux: /sbin/getty does not allow login from systemd-nspawn From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org 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. Best regards, Ryutaroh Matsumoto -- System Information: Architecture: x86_64 Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages util-linux depends on: ii fdisk 2.33.1-0.1+devuan1~beowulf2 ii libaudit1 1:2.8.4-3 ii libblkid1 2.33.1-0.1+devuan1~beowulf2 ii libc6 2.28-10 ii libcap-ng0 0.7.9-2 ii libeudev1 3.2.7-6 ii libmount1 2.33.1-0.1+devuan1~beowulf2 ii libpam0g 1.3.1-5 ii libselinux1 2.8-1+b1 ii libsmartcols1 2.33.1-0.1+devuan1~beowulf2 ii libtinfo6 6.1+20181013-2+deb10u2 ii libuuid1 2.33.1-0.1+devuan1~beowulf2 ii login 1:4.5-1.1 ii zlib1g 1:1.2.11.dfsg-1 util-linux recommends no packages. Versions of packages util-linux suggests: pn dosfstools <none> pn kbd | console-tools <none> pn util-linux-locales <none> -- no debconf information
Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
:Devuan Developers <devuan-dev@lists.dyne.org>
.
Full text available.devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>
:bug#440
; Package util-linux
.
Full text available.Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.
Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified:
Sun, 22 May 2022 18:39:02 UTC