Devuan bug report logs - #441
sysvinit-core: /etc/inittab should set pf to /sbin/shutdown

Package: sysvinit-core; Severity: minor; Reported by: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>; dated Fri, 8 May 2020 07:48:01 UTC; Maintainer for sysvinit-core is Devuan Developers <devuan-dev@lists.dyne.org>.

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 8 May 2020 07:40:06 +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); Fri, 08 May 2020 07:40:06 +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 9B147F6097C
	for <submit@bugs.devuan.org>; Fri,  8 May 2020 09:31:37 +0200 (CEST)
Received: from 172.22.40.203
	by mail004.nap.gsic.titech.ac.jp with Mail2000 ESMTP Server V7.00(2784:0:AUTH_RELAY)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Fri, 08 May 2020 16:31:35 +0900 (JST)
Received: from mail001.nap.gsic.titech.ac.jp (mail001.nap.gsic.titech.ac.jp [131.112.13.101])
	by drweb06.nap.gsic.titech.ac.jp (Postfix) with SMTP id 030F3EC
	for <submit@bugs.devuan.org>; Fri,  8 May 2020 16:31:35 +0900 (JST)
Received: from 131.112.36.198
	by mail001.nap.gsic.titech.ac.jp with Mail2000 ESMTPA Server V7.00(2610:2:AUTH_LOGIN)
	(envelope-from <matsumoto.r.aa@m.titech.ac.jp>); Fri, 08 May 2020 16:31:34 +0900 (JST)
Date: Fri, 08 May 2020 16:31:34 +0900 (JST)
Message-Id: <20200508.163134.983905363344848609.ryutaroh@ict.e.titech.ac.jp>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: sysvinit-core: /etc/inittab should set pf to /sbin/shutdown
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: sysvinit-core
Version: 2.93-8+devuan1
Severity: minor

Dear Maintainer,

I made a Devuan container on Debian Bullseye by
mmdebstrap --components="main contrib non-free" --variant=standard beowulf /var/lib/lxc/devuan/rootfs http://deb.devuan.org/merged

"lxc-start -n devuan" starts the Devuan container with no problem,
but lxc-stop -n devuan does not stop it.

The reason is that /etc/inittab has

pf::powerwait:/etc/init.d/powerfail start

and there is no /etc/init.d/powerfail.

Changing the above line to
pf::powerwait:/sbin/shutdown -h now

enables "lxc-stop -n devuan" to work as expected.

Best regards, Ryutaroh Matsumoto

-- System Information:
Architecture: x86_64

Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages sysvinit-core depends on:
ii  debconf [debconf-2.0]  1.5.71
ii  debianutils            4.8.6.1
ii  initscripts            2.93-8+devuan1
ii  libc6                  2.28-10
ii  libselinux1            2.8-1+b1
ii  libsepol1              2.8-1
ii  sysv-rc                2.93-8+devuan1
ii  sysvinit-utils         2.93-8+devuan1

sysvinit-core recommends no packages.

Versions of packages sysvinit-core suggests:
ii  bootlogd  2.93-8+devuan1

-- debconf information:
  sysvinit/hurd-fix-inittab:

Acknowledgement sent to Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>:
New bug report received and forwarded. Copy sent to Devuan Developers <devuan-dev@lists.dyne.org>. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#441; Package sysvinit-core. 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: Tue, 17 May 2022 16:39:01 UTC