:: [devuan-dev] bug#441: sysvinit-core…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Ryutaroh Matsumoto
Päiväys:  
Vastaanottaja: Devuan Bug Tracking System
Aihe: [devuan-dev] bug#441: sysvinit-core: /etc/inittab should set pf to /sbin/shutdown
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: