Devuan bug report logs - #917
/usr/sbin/kexec: The /etc/init.d/kexec script is now missing, breaking kexec functionality.

version graph

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

Reported by: David Kuehling <dvdkhlng@posteo.de>

Date: Wed, 22 Oct 2025 13:00:01 UTC

Severity: normal

Tags: debian

Found in version 1:2.0.29-2

Fixed in version 1:2.0.32-3devuan1

Done: dak@devuan.org

Forwarded to https://bugs.debian.org/1111802

Full log


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.515 (Entity 5.515)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: dak@devuan.org
Subject: bug#917: marked as done (/usr/sbin/kexec: The /etc/init.d/kexec
 script is now missing, breaking kexec functionality.)
Message-ID: <handler.917.D917.17648399756917.ackdone@bugs.devuan.org>
References: <1764839923.577929.25428.nullmailer@dak.localnet.devuan.org>
 <87h5vrccua.fsf@posteo.de>
X-Devuan-PR-Message: closed 917
X-Devuan-PR-Package: kexec-tools
X-Devuan-PR-Keywords: debian
X-Devuan-PR-Source: kexec-tools
Reply-To: 917@bugs.devuan.org
Date: Thu, 04 Dec 2025 09:20:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1764840001-6927-0"
[Message part 1 (text/plain, inline)]
Your message dated Thu, 04 Dec 2025 09:18:43 +0000
with message-id <1764839923.577929.25428.nullmailer@dak.localnet.devuan.org>
and subject line #917: fixed in src:kexec-tools version 1:2.0.32-3devuan1
has caused the Devuan bug report #917,
regarding /usr/sbin/kexec: The /etc/init.d/kexec script is now missing, breaking kexec functionality.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.devuan.org
immediately.)


-- 
917: https://bugs.devuan.org/cgi/bugreport.cgi?bug=917
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: David Kuehling <dvdkhlng@posteo.de>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: /usr/sbin/kexec: The /etc/init.d/kexec script is now missing, breaking kexec functionality.
Date: Wed, 22 Oct 2025 12:58:42 +0000
Package: kexec-tools
Version: 1:2.0.29-2
Severity: normal
File: /usr/sbin/kexec
X-Debbugs-Cc: dvdkhlng@posteo.de

Hi,

the usual mode of operation of /usr/bin/kexec on Devuan (and Debian)
appears to be: load the new kernel, then trigger a shutdown.  Then at
the end of shutdown, instead of rebooting, kexec actually boots into the
new kernel.

This used to be handled by kexec's init.d hook running something like

  do_stop() {
    ...
    log_action_msg "Will now restart with kexec"
    ...
    /sbin/kexec -e
    log_failure_msg "kexec failed"
  }

instead of triggering a standard reboot.

In Devuan Excalibur (testing), all init-scripts for kexec are gone.  Now
running `kexec` just triggers a reboot, it appears `kexec -e` is never
actually executed.

Note that /usr/share/doc/kexec-tools/README.Debian still claims, that
init-scripts are installed, when in fact they are not.

I think systemd now natively includes a kexec hook for reboot, while
sysvinit-core does not, so on Devuan we still need those init hooks,
while they are gone on Debian!?

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 6 (excalibur)
Release:	6
Codename:	excalibur
Architecture: armv7l

Kernel: Linux 6.12.53-dk2 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages kexec-tools depends on:
ii  debconf [debconf-2.0]  1.5.91
ii  dpkg                   1.22.21
ii  libc6                  2.41-12

kexec-tools recommends no packages.

kexec-tools suggests no packages.

-- debconf information excluded
[Message part 3 (message/rfc822, inline)]
From: dak@devuan.org
To: 917-done@bugs.devuan.org
Subject: #917: fixed in src:kexec-tools version 1:2.0.32-3devuan1
Date: Thu, 04 Dec 2025 09:18:43 +0000
Version: 1:2.0.32-3devuan1

Source package kexec-tools (1:2.0.32-3devuan1) added to Devuan suite unstable.

This closes bug report 917.

Thanks

DAK managing the Devuan archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 04 Dec 2025 08:50:05 +0000
Source: kexec-tools
Architecture: source
Version: 1:2.0.32-3devuan1
Distribution: unstable
Urgency: medium
Maintainer: Devuan Developers <devuan-dev@lists.dyne.org>
Changed-By: Mark Hindley <mark@hindley.org.uk>
Closes: 917
Changes:
 kexec-tools (1:2.0.32-3devuan1) unstable; urgency=medium
 .
   * Fork for Devuan.
   * Restore LSB initscripts. (Closes: #917)
Checksums-Sha1:
 466007aa0609db74b8cfc6512c2c0bec14e24715 1866 kexec-tools_2.0.32-3devuan1.dsc
 5274eef20c5471b18fc910fdbeeaf6b60a4bd9ed 461744 kexec-tools_2.0.32.orig.tar.gz
 e33b87a1f4f0265f1dc8607c47c07d7054497e5f 27872 kexec-tools_2.0.32-3devuan1.debian.tar.xz
 8ff503d02771f889cfe5a1e4168857cd51e6d604 5619 kexec-tools_2.0.32-3devuan1_source.buildinfo
Checksums-Sha256:
 81c4d789274cbff1716f4773c8cde3142dab4fb00d79f96cedab03a069827637 1866 kexec-tools_2.0.32-3devuan1.dsc
 e8d16121cad7ca3b97d3e6e9b74106c9be7d43c4662381c78faccce46fe41a41 461744 kexec-tools_2.0.32.orig.tar.gz
 fb60803d3f2e82477ac98649f77a35241fc11f426b57e744d69ef0a53f5a08eb 27872 kexec-tools_2.0.32-3devuan1.debian.tar.xz
 74dbfeeb21a6ff3d078a854a5bf21fc924c605b9fd28e91eac7d8786f12e2868 5619 kexec-tools_2.0.32-3devuan1_source.buildinfo
Files:
 1efed53d7c44ca9fc8152b038be37778 1866 admin optional kexec-tools_2.0.32-3devuan1.dsc
 49494b6c0ad061cff42f0dc412f933be 461744 admin optional kexec-tools_2.0.32.orig.tar.gz
 35800acd73291a6bc833a6070e52280b 27872 admin optional kexec-tools_2.0.32-3devuan1.debian.tar.xz
 4f32103221422bcf42d748784ddc4c0b 5619 admin optional kexec-tools_2.0.32-3devuan1_source.buildinfo

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

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmkxTeAACgkQlFMhJFQZ
IvuAlAf+Oz63zxvEAxm7EZfhdFfMdQmQTc5gAvuly/dNLCWqZbKhqLK4XkjhKdLh
HDUKhBupBrWA0qnIQkYoPEwLTXn80Ec5IQbeRkO1xD3d6UtsYw3oDHG3MgKNg6OC
d+seKRXH3QIxrU7zI72uzejt9jG9hoRWQewXFymA/brsvUDRQ3SWjMxOxlEfnOrd
tKEqheiu79Qqm4oepEkaTTPMgMcRYKyy1lkeFNrEgLw3dcqg+k2gjywTSoQDQ1VS
le09RX72jibyuB2fvA10fQlxR2X9sszhMeB59N6M69uAwqMUhb/Xb8Dfn0edvO51
MqLEEzc+I34PiiwKlLytBPOJkXh9Yw==
=F/Ul
-----END PGP SIGNATURE-----

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: Sat Dec 20 15:31:04 2025;