Subject: bug#917 closed by [email-masked] (#917: fixed in src:kexec-tools version 1:2.0.32-3devuan1)

From: "Devuan bug Tracking System" <[email-masked]>
Date: Thu, 04 Dec 2025 09:20:02 +0000

This is an automatic notification regarding your bug report
which was filed against the kexec-tools package:

#917: /usr/sbin/kexec: The /etc/init.d/kexec script is now missing, breaking kexec functionality.

It has been closed by [email-masked].

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact [email-masked] by
replying to this email.

-- 
917: https://bugs.devuan.org/cgi/bugreport.cgi?bug=917
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: #917: fixed in src:kexec-tools version 1:2.0.32-3devuan1
From: [email-masked]
To: [email-masked]
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

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 <[email-masked]>
Changed-By: Mark Hindley <[email-masked]>
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

Subject: /usr/sbin/kexec: The /etc/init.d/kexec script is now missing, breaking kexec functionality.
From: David Kuehling <[email-masked]>
To: Devuan Bug Tracking System <[email-masked]>
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: [email-masked]

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