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

version graph

Package: sysvinit-core; Maintainer for sysvinit-core is Devuan Developers <devuan-dev@lists.dyne.org>; Source for sysvinit-core is src:sysvinit.

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

Date: Fri, 8 May 2020 07:48:01 UTC

Severity: minor

Found in version 2.93-8+devuan1

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 Developers <devuan-dev@lists.dyne.org>:
bug#441; Package sysvinit-core. (Fri, 08 May 2020 07:48: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 Developers <devuan-dev@lists.dyne.org>. (Fri, 08 May 2020 07:48: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: sysvinit-core: /etc/inittab should set pf to /sbin/shutdown
Date: Fri, 08 May 2020 16:31:34 +0900 (JST)
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:

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 03:44:37 2024;