Devuan bug report logs - #444
/etc/init.d/agetty is excluded from the package

Package: openrc; Reported by: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>; Keywords: debian; Forwarded to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960182; Maintainer for openrc is (unknown).
Set bug forwarded-to-address to 'https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960182'. Request was from Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> to 444-submit@bugs.devuan.org. Full text available.

Message received at 444@bugs.devuan.org:


Received: (at 444) by bugs.devuan.org; 10 May 2020 11:20:03 +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); Sun, 10 May 2020 11:20:03 +0000 (UTC)
Received: from mail003.nap.gsic.titech.ac.jp (mail003.nap.gsic.titech.ac.jp [131.112.13.103])
	by vm6.ganeti.dyne.org (Postfix) with SMTP id 9AF8BF60B98
	for <444@bugs.devuan.org>; Sun, 10 May 2020 13:08:28 +0200 (CEST)
Received: from 172.22.40.203
	by mail003.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2603:0:AUTH_RELAY)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sun, 10 May 2020 20:08:26 +0900 (JST)
Received: from mail003.nap.gsic.titech.ac.jp (mail003.nap.gsic.titech.ac.jp [131.112.13.103])
	by drweb06.nap.gsic.titech.ac.jp (Postfix) with SMTP id 0DC2AEB;
	Sun, 10 May 2020 20:08:26 +0900 (JST)
Received: from 126.255.18.103
	by mail003.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2615:0:AUTH_LOGIN)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sun, 10 May 2020 20:08:23 +0900 (JST)
Date: Sun, 10 May 2020 20:08:17 +0900 (JST)
Message-Id: <20200510.200817.2094127554688393185.ryutaroh@ict.e.titech.ac.jp>
To: mark@hindley.org.uk
Cc: 444@bugs.devuan.org
Subject: Re: [devuan-dev] bug#444: openrc: /sbin/openrc-init does not allow
 any login
From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
In-Reply-To: <20200510100714.GW32762@hindley.org.uk>
References: <20200509.070610.1836475689961135618.ryutaroh@ict.e.titech.ac.jp>
	<20200510.183404.1329996594004495289.ryutaroh@ict.e.titech.ac.jp>
	<20200510100714.GW32762@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

Control: forwarded -1 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960182

> Please could you report this to Debian BTS as they maintain the openrc packages
> currently used in Devuan.

I did it. Ryutaroh

Acknowledgement sent to Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#444; Package openrc. Full text available.
Added tag(s) debian. Request was from Mark Hindley <mark@hindley.org.uk> to 444-submit@bugs.devuan.org. Full text available.

Message received at 444@bugs.devuan.org:


Received: (at 444) by bugs.devuan.org; 10 May 2020 10:20:03 +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); Sun, 10 May 2020 10:20: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 A6C69F60B8D
	for <444@bugs.devuan.org>; Sun, 10 May 2020 12:07:18 +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 1jXirb-0006bG-QJ; Sun, 10 May 2020 11:07:16 +0100
Received: (nullmailer pid 32619 invoked by uid 1000);
	Sun, 10 May 2020 10:07:15 -0000
Date: Sun, 10 May 2020 11:07:15 +0100
From: Mark Hindley <mark@hindley.org.uk>
To: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>, 444@bugs.devuan.org
Subject: Re: [devuan-dev] bug#444: openrc: /sbin/openrc-init does not allow
 any login
Message-ID: <20200510100714.GW32762@hindley.org.uk>
References: <20200509.070610.1836475689961135618.ryutaroh@ict.e.titech.ac.jp>
 <20200509.070610.1836475689961135618.ryutaroh@ict.e.titech.ac.jp>
 <20200510.183404.1329996594004495289.ryutaroh@ict.e.titech.ac.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20200510.183404.1329996594004495289.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

Control: tags -1 debian

On Sun, May 10, 2020 at 06:34:04PM +0900, Ryutaroh Matsumoto wrote:
> Control: severity -1 normal
> Control: retitle -1 /etc/init.d/agetty is excluded from the package

> The problem in Devuan openrc package is that it excludes
> /etc/init.d/agetty and /etc/conf.d/agetty provided at
> https://github.com/OpenRC/openrc/blob/master/init.d/agetty.in
> https://github.com/OpenRC/openrc/blob/master/conf.d/agetty

Please could you report this to Debian BTS as they maintain the openrc packages
currently used in Devuan.

Thanks

Mark

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#444; Package openrc. Full text available.
Changed bug title to '/etc/init.d/agetty is excluded from the package' from 'openrc: /sbin/openrc-init does not allow any login'. Request was from Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> to 444-submit@bugs.devuan.org. Full text available.
Severity set to 'normal' from 'grave' Request was from Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> to 444-submit@bugs.devuan.org. Full text available.

Message received at 444@bugs.devuan.org:


Received: (at 444) by bugs.devuan.org; 10 May 2020 09:40: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); Sun, 10 May 2020 09:40: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 C2831F604DA
	for <444@bugs.devuan.org>; Sun, 10 May 2020 11:34:09 +0200 (CEST)
Received: from 172.22.40.204
	by mail004.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2772:0:AUTH_RELAY)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sun, 10 May 2020 18:34:06 +0900 (JST)
Received: from mail003.nap.gsic.titech.ac.jp (mail003.nap.gsic.titech.ac.jp [131.112.13.103])
	by drweb07.nap.gsic.titech.ac.jp (Postfix) with SMTP id 49B5EC6FA
	for <444@bugs.devuan.org>; Sun, 10 May 2020 18:34:06 +0900 (JST)
Received: from 126.255.18.103
	by mail003.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2611:0:AUTH_LOGIN)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sun, 10 May 2020 18:34:05 +0900 (JST)
Date: Sun, 10 May 2020 18:34:04 +0900 (JST)
Message-Id: <20200510.183404.1329996594004495289.ryutaroh@ict.e.titech.ac.jp>
To: 444@bugs.devuan.org
Subject: Re: openrc: /sbin/openrc-init does not allow any login
From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
In-Reply-To: <20200509.070610.1836475689961135618.ryutaroh@ict.e.titech.ac.jp>
References: <20200509.070610.1836475689961135618.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

Control: severity -1 normal
Control: retitle -1 /etc/init.d/agetty is excluded from the package

> (3) One can choose /sbin/openrc-init as PID 1 by adding init=/sbin/openrc-init to
> GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub, then running update-grub.
> After rebooting, there is no login prompt on any virtual ttys!!!
> "man openrc-init" says
>      openrc-init doesn't manage getty's directly, so you will need to manage them another way. For example, you can use the
>      agetty service script as described in agetty-guide.md in this distribution.
> Hmm... but there is no "agetty" package in Devuan.
> I hope there exists some more friendly document on how to enable login prompts
> by openrc-init in the Devuan Beowulf...

My above report of bug 444 was inaccurate, sorry for that.

(4) /sbin/agetty is included in Devuan Beowulf.
(5) /usr/share/doc/openrc/agetty-guide.md in Devuan Beowulf says:

**********
The agetty service is an OpenRC specific way to monitor and respawn a getty, using agetty, on Linux. To use this method, make sure you aren't spawning a getty manager for this port some other way (such as through sysvinit/inittab), then run the following commands as root.

Note that [port] refers to the port you are spawning the getty on, for example, tty1 or ttyS0. The full path to it, for example, /dev/tty1 should not be used.

# cd /etc/init.d
# ln -s agetty agetty.[port]
# cd /etc/conf.d
# cp agetty agetty.[port]
#rc-update add agetty.[port] [runlevel]
**********

The problem in Devuan openrc package is that it excludes
/etc/init.d/agetty and /etc/conf.d/agetty provided at
https://github.com/OpenRC/openrc/blob/master/init.d/agetty.in
https://github.com/OpenRC/openrc/blob/master/conf.d/agetty

Users cannot follow instructions in /usr/share/doc/openrc/agetty-guide.md in Devuan Beowulf.

Best regards, Ryutaroh Matsumoto

Acknowledgement sent to Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#444; Package openrc. Full text available.

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 8 May 2020 22:10:01 +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 22:10:01 +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 022EAF608E5
	for <submit@bugs.devuan.org>; Sat,  9 May 2020 00:06:17 +0200 (CEST)
Received: from 172.22.40.203
	by mail001.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2596:0:AUTH_RELAY)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sat, 09 May 2020 07:06:14 +0900 (JST)
Received: from mail003.nap.gsic.titech.ac.jp (mail003.nap.gsic.titech.ac.jp [131.112.13.103])
	by drweb06.nap.gsic.titech.ac.jp (Postfix) with SMTP id D2B8BEB
	for <submit@bugs.devuan.org>; Sat,  9 May 2020 07:06:14 +0900 (JST)
Received: from 126.255.18.103
	by mail003.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2613:1:AUTH_LOGIN)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sat, 09 May 2020 07:06:13 +0900 (JST)
Date: Sat, 09 May 2020 07:06:10 +0900 (JST)
Message-Id: <20200509.070610.1836475689961135618.ryutaroh@ict.e.titech.ac.jp>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: openrc: /sbin/openrc-init does not allow any login
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: openrc
Version: 0.40.3-1
Severity: grave
Justification: causes non-serious data loss

Dear Maintainer,

(1) https://beta.devuan.org/os/documentation/install-guides/beowulf/img/025initchoice.png
says that a user can choose sysvinit versus openrc.
When "openrc" is chosen, PID 1 is /sbin/init and it is from the sysvinit-core package,
not the openrc-init. The choice made by the Devuan Installer Beta 2 is the one
between sysv-rc and openrc packages. If it is intended,  texts in
https://beta.devuan.org/os/documentation/install-guides/beowulf/img/025initchoice.png
have to be revised.

(2) If the above (1) is considered a bug (I think so), to which package a bug report is
filed by reportbug? It seems undocumented.

(3) One can choose /sbin/openrc-init as PID 1 by adding init=/sbin/openrc-init to
GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub, then running update-grub.
After rebooting, there is no login prompt on any virtual ttys!!!

"man openrc-init" says

     openrc-init doesn't manage getty's directly, so you will need to manage them another way. For example, you can use the
     agetty service script as described in agetty-guide.md in this distribution.

Hmm... but there is no "agetty" package in Devuan.
I hope there exists some more friendly document on how to enable login prompts
by openrc-init in the Devuan Beowulf...

Note: Devuan Beowulf is running on qemu-kvm, but it may not matter...

Best regards, Ryutaroh Matsumoto


-- System Information:
Distributor ID:	Debian
Description:	Devuan GNU/Linux 3 (beowulf)
Release:	3
Codename:	beowulf
Architecture: x86_64

Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages openrc depends on:
ii  init-system-helpers  1.56+devuan1
ii  insserv              1.18.0-2
ii  libaudit1            1:2.8.4-3
ii  libc6                2.28-10
ii  libeinfo1            0.40.3-1
ii  libpam0g             1.3.1-5
ii  librc1               0.40.3-1
ii  libselinux1          2.8-1+b1

openrc recommends no packages.

Versions of packages openrc suggests:
pn  policycoreutils  <none>
ii  sysvinit-core    2.93-8+devuan1

-- no debconf information

Acknowledgement sent to Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#444; Package openrc. 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