Devuan bug report logs - #456
init.d/dbus.sh is run before checkroot.sh with /sbin/openrc-init

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=960234; Maintainer for openrc is (unknown).
Set bug forwarded-to-address to 'https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960234'. Request was from Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> to 456-submit@bugs.devuan.org. Full text available.
Added tag(s) debian. Request was from Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> to 456-submit@bugs.devuan.org. Full text available.
Changed bug title to 'init.d/dbus.sh is run before checkroot.sh with /sbin/openrc-init' from 'openrc: dbus fails to start with /sbin/openrc-init'. Request was from Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> to 456-submit@bugs.devuan.org. Full text available.

Message received at 456@bugs.devuan.org:


Received: (at 456) by bugs.devuan.org; 10 May 2020 22: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 22: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 D2F1FF6050B
	for <456@bugs.devuan.org>; Mon, 11 May 2020 00:33:18 +0200 (CEST)
Received: from 172.22.40.203
	by mail004.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2782:0:AUTH_RELAY)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Mon, 11 May 2020 07:33:16 +0900 (JST)
Received: from mail004.nap.gsic.titech.ac.jp (mail004.nap.gsic.titech.ac.jp [131.112.13.104])
	by drweb06.nap.gsic.titech.ac.jp (Postfix) with SMTP id EC5B7EC
	for <456@bugs.devuan.org>; Mon, 11 May 2020 07:33:15 +0900 (JST)
Received: from 126.255.18.103
	by mail004.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2779:0:AUTH_LOGIN)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Mon, 11 May 2020 07:33:14 +0900 (JST)
Date: Mon, 11 May 2020 07:33:13 +0900 (JST)
Message-Id: <20200511.073313.1379173467474358469.ryutaroh@ict.e.titech.ac.jp>
To: 456@bugs.devuan.org
Subject: Re: openrc: dbus fails to start with /sbin/openrc-init
From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
In-Reply-To: <20200510.205920.1716472387994207224.ryutaroh@ict.e.titech.ac.jp>
References: <20200510.205920.1716472387994207224.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: retitle -1 init.d/dbus.sh is run before checkroot.sh with /sbin/openrc-init
Control: tags -1 + debian
Control: forwarded -1 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960234

With further investigation, I noticed error messages
chgrp:changing group of '/var/log/dmesg': Read-only file system
rsyslogd: file '/var/log/syslog': open error: Read-only file system
Could not create /var/lib/dbus/machine-id.2lLD5ybW: Read-only file system

and giving "rw" to the kernel boot option surpresses this symptom.
My understanding is that /etc/init.d/dbus.sh is run before
/etc/init.d/checkroot.sh.

I do not see how such wrong order of executios occur.
I reproduced this symptom on Debian Bullseye and reported to their BTS.

Best regards, 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#456; Package openrc. Full text available.

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 10 May 2020 12:10: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 12:10:03 +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 8756FF609CF
	for <submit@bugs.devuan.org>; Sun, 10 May 2020 13:59:28 +0200 (CEST)
Received: from 172.22.40.205
	by mail001.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2612:0:AUTH_RELAY)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sun, 10 May 2020 20:59:24 +0900 (JST)
Received: from mail001.nap.gsic.titech.ac.jp (mail001.nap.gsic.titech.ac.jp [131.112.13.101])
	by drweb08.nap.gsic.titech.ac.jp (Postfix) with SMTP id 4DB82EB
	for <submit@bugs.devuan.org>; Sun, 10 May 2020 20:59:24 +0900 (JST)
Received: from 126.255.18.103
	by mail001.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2610:0:AUTH_LOGIN)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Sun, 10 May 2020 20:59:21 +0900 (JST)
Date: Sun, 10 May 2020 20:59:20 +0900 (JST)
Message-Id: <20200510.205920.1716472387994207224.ryutaroh@ict.e.titech.ac.jp>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: openrc: dbus fails to start with /sbin/openrc-init
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: normal

Dear Maintainer,

With kernel command line init=/sbin/openrc-init,
dbus in Debuan Beowulf fails to start,
and elogin also fails to start.
I do not observe this in Debian Bullseye
(I don't have Debian Buster).

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: openrc-init (via /sbin/openrc-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#456; 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: Sat, 4 Jul 2020 02:39:02 UTC