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

version graph

Package: openrc; Maintainer for openrc is (unknown); Source for openrc is src:openrc.

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

Date: Fri, 8 May 2020 22:18:01 UTC

Severity: normal

Tags: debian

Found in version 0.40.3-1

Fixed in version 0.45.2-2

Done: Mark Hindley <mark@hindley.org.uk>

Forwarded to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960182

Full log


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

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

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 Apr 19 20:05:26 2024;