Bug#1094002: shutdown: restarts under openrc

Matthias Geiger werdahias at debian.org
Fri Jan 24 14:41:03 GMT 2025


Package: sysvinit-core
Version: 3.13-1
Severity: normal
X-Debbugs-Cc: werdahias at debian.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear maintainer,

running sudo /sbin/shutdown now with openrc as service mamanger does not 
shut down the machine as expected, but bails out because /etc/inittab.d 
does not exist.
=======
2025-01-24T15:31:26.820456+01:00 midgard shutdown[4570]: shutting down for system reboot
2025-01-24T15:31:26.837905+01:00 midgard init: Switching to runlevel: 1
2025-01-24T15:31:26.838058+01:00 midgard init: No inittab.d directory found
2025-01-24T15:31:26.839355+01:00 midgard kernel: Not activating 
Mandatory Access Control as /sbin/tomoyo-init does not exist.
=======
The system then re-starts. I would expect that shutdown works on openrc, 
too.
Using the openrc-shutdown command as workaround works as expected.

best,

werdahias



- -- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.8-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init
LSM: AppArmor: enabled

Versions of packages sysvinit-core depends on:
ii  initscripts     3.13-1
ii  libc6           2.40-6
ii  libselinux1     3.7-3+b1
ii  mount           2.40.4-1
ii  openrc          0.56-1
ii  sysvinit-utils  3.13-1

Versions of packages sysvinit-core recommends:
ii  orphan-sysvinit-scripts  0.17

Versions of packages sysvinit-core suggests:
pn  bootlogd  <none>

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

-----BEGIN PGP SIGNATURE-----

iIsEARYIADMWIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCZ5OmeRUcd2VyZGFoaWFz
QGRlYmlhbi5vcmcACgkQ7L7btge5sr5FbwEAiK+Bq4oT1wtT7+gfc57Q06y42eaK
N8VZW8bkwlG3+54A/A0wmxOPPXTlVFCKm0tBcy3/kE1Nq1Z67Nk4+07poeYB
=yug4
-----END PGP SIGNATURE-----



More information about the Debian-init-diversity mailing list