:: [devuan-dev] bug#444: openrc: /sbin…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ryutaroh Matsumoto
Date:  
À: Devuan Bug Tracking System
Sujet: [devuan-dev] bug#444: openrc: /sbin/openrc-init does not allow any login
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