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

Package: openrc; Reported by: Ryutaroh Matsumoto <[email protected]>; Keywords: debian; Done: Mark Hindley <[email protected]>; Maintainer for openrc is (unknown).

Message received at [email protected]:


Received: (at 444-done) by bugs.devuan.org; 10 Jan 2023 15:31:41 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Tue, 10 Jan 2023 15:31:41 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id oGA7HqKEvWO3JAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Tue, 10 Jan 2023 15:30:42 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 718C5DB6; Tue, 10 Jan 2023 15:30:42 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id 904FBB69
	for <[email protected]>; Tue, 10 Jan 2023 15:30:41 +0000 (UTC)
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 <[email protected]>)
	id 1pFGaG-0002Po-FT
	for [email protected]; Tue, 10 Jan 2023 15:30:40 +0000
Received: (nullmailer pid 2832 invoked by uid 1000);
	Tue, 10 Jan 2023 15:30:40 -0000
Date: Tue, 10 Jan 2023 15:30:40 +0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: Fixed in Debian 960182
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debbugs-No-Ack: No Thanks

Version: 0.45.2-2

Mark

Notification sent to Ryutaroh Matsumoto <[email protected]>:
bug acknowledged by developer. Full text available.
Reply sent to Mark Hindley <[email protected]>:
You have taken responsibility. Full text available.
Set bug forwarded-to-address to 'https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960182'. Request was from Ryutaroh Matsumoto <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 444) by bugs.devuan.org; 10 May 2020 11:20:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 <[email protected]>; 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 <[email protected]>); 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 <[email protected]>); Sun, 10 May 2020 20:08:23 +0900 (JST)
Date: Sun, 10 May 2020 20:08:17 +0900 (JST)
Message-Id: <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: [devuan-dev] bug#444: openrc: /sbin/openrc-init does not allow
 any login
From: Ryutaroh Matsumoto <[email protected]>
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
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 <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#444; Package openrc. Full text available.
Added tag(s) debian. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 444) by bugs.devuan.org; 10 May 2020 10:20:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 <[email protected]>; 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 <[email protected]>)
	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 <[email protected]>
To: Ryutaroh Matsumoto <[email protected]>, [email protected]
Subject: Re: [devuan-dev] bug#444: openrc: /sbin/openrc-init does not allow
 any login
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
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 [email protected], [email protected]:
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 <[email protected]> to [email protected]. Full text available.
Severity set to 'normal' from 'grave' Request was from Ryutaroh Matsumoto <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 444) by bugs.devuan.org; 10 May 2020 09:40:05 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 <[email protected]>; 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 <[email protected]>); 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 <[email protected]>; 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 <[email protected]>); Sun, 10 May 2020 18:34:05 +0900 (JST)
Date: Sun, 10 May 2020 18:34:04 +0900 (JST)
Message-Id: <[email protected]>
To: [email protected]
Subject: Re: openrc: /sbin/openrc-init does not allow any login
From: Ryutaroh Matsumoto <[email protected]>
In-Reply-To: <[email protected]>
References: <[email protected]>
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 <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#444; Package openrc. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 8 May 2020 22:10:01 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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 <[email protected]>; 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 <[email protected]>); 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 <[email protected]>; 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 <[email protected]>); Sat, 09 May 2020 07:06:13 +0900 (JST)
Date: Sat, 09 May 2020 07:06:10 +0900 (JST)
Message-Id: <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: openrc: /sbin/openrc-init does not allow any login
From: Ryutaroh Matsumoto <[email protected]>
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 <[email protected]>:
New bug report received and forwarded. Copy sent to [email protected]. Full text available.
Report forwarded to [email protected], [email protected]:
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 <[email protected]>.
Last modified: Sat, 30 Nov 2024 22:39:01 UTC