Devuan bug report logs -
#917
/usr/sbin/kexec: The /etc/init.d/kexec script is now missing, breaking kexec functionality.
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to devuan-bugs@lists.dyne.org, dvdkhlng@posteo.de, devuan-dev@lists.dyne.org:
bug#917; Package kexec-tools.
(Wed, 22 Oct 2025 13:00:01 GMT) (full text, mbox, link).
Acknowledgement sent
to David Kuehling <dvdkhlng@posteo.de>:
New bug report received and forwarded. Copy sent to dvdkhlng@posteo.de, devuan-dev@lists.dyne.org.
(Wed, 22 Oct 2025 13:00:02 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):
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
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#917; Package kexec-tools.
(Wed, 22 Oct 2025 13:12:02 GMT) (full text, mbox, link).
Message #8 received at 917@bugs.devuan.org (full text, mbox, reply):
Control: tags -1 debian
Control: forwarded -1 https://bugs.debian.org/1111802
David,
Thanks for this.
This issue is also apparent on Debian non-systemd installations. See #1111802.
The Debian maintainer appears open to resolving it. It may be worthwhile asking
politely if there is a solution pending.
Thanks
Mark
Added tag(s) debian.
Request was from Mark Hindley <mark@hindley.org.uk>
to 917-submit@bugs.devuan.org.
(Wed, 22 Oct 2025 13:12:02 GMT) (full text, mbox, link).
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#917; Package kexec-tools.
(Thu, 04 Dec 2025 08:20:01 GMT) (full text, mbox, link).
Message #15 received at 917@bugs.devuan.org (full text, mbox, reply):
On Wed, Oct 22, 2025 at 02:10:18PM +0100, Mark Hindley wrote:
> The Debian maintainer appears open to resolving it. It may be worthwhile asking
> politely if there is a solution pending.
The Debian bug has been closed, but just having the initscripts as examples is
inadequate for our use.
I suppose there is no alternative other than to fork to replace them.
Mark
Reply sent
to dak@devuan.org:
You have taken responsibility.
(Thu, 04 Dec 2025 09:20:01 GMT) (full text, mbox, link).
Notification sent
to David Kuehling <dvdkhlng@posteo.de>:
bug acknowledged by developer.
(Thu, 04 Dec 2025 09:20:02 GMT) (full text, mbox, link).
Message #20 received at 917-done@bugs.devuan.org (full text, mbox, reply):
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.