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

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#444; Package openrc. (Fri, 08 May 2020 22:18:01 GMT) (full text, mbox, link).


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. (Fri, 08 May 2020 22:18:04 GMT) (full text, mbox, link).


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

From: Ryutaroh Matsumoto <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
Date: Sat, 09 May 2020 07:06:10 +0900 (JST)
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

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#444; Package openrc. (Sun, 10 May 2020 09:48:02 GMT) (full text, mbox, link).


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. (Sun, 10 May 2020 09:48:05 GMT) (full text, mbox, link).


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

From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
To: 444@bugs.devuan.org
Subject: Re: openrc: /sbin/openrc-init does not allow any login
Date: Sun, 10 May 2020 18:34:04 +0900 (JST)
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

Severity set to 'normal' from 'grave' Request was from Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> to 444-submit@bugs.devuan.org. (Sun, 10 May 2020 09:48:07 GMT) (full text, mbox, link).


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. (Sun, 10 May 2020 09:48:07 GMT) (full text, mbox, link).


Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#444; Package openrc. (Sun, 10 May 2020 10:33:01 GMT) (full text, mbox, link).


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

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
Date: Sun, 10 May 2020 11:07:15 +0100
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

Added tag(s) debian. Request was from Mark Hindley <mark@hindley.org.uk> to 444-submit@bugs.devuan.org. (Sun, 10 May 2020 10:33:04 GMT) (full text, mbox, link).


Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#444; Package openrc. (Sun, 10 May 2020 11:33:02 GMT) (full text, mbox, link).


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. (Sun, 10 May 2020 11:33:04 GMT) (full text, mbox, link).


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

From: Ryutaroh Matsumoto <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
Date: Sun, 10 May 2020 20:08:17 +0900 (JST)
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

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. (Sun, 10 May 2020 11:33:07 GMT) (full text, mbox, link).


Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. (Tue, 10 Jan 2023 15:32:02 GMT) (full text, mbox, link).


Notification sent to Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>:
bug acknowledged by developer. (Tue, 10 Jan 2023 15:32:03 GMT) (full text, mbox, link).


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

From: Mark Hindley <mark@hindley.org.uk>
To: 444-done@bugs.devuan.org
Subject: Fixed in Debian 960182
Date: Tue, 10 Jan 2023 15:30:40 +0000
Version: 0.45.2-2

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: Sun Nov 24 02:01:39 2024;