Thanks for the bug report. systemd supplies its own kexec service files and ties kexec rather closely to EFI which is not a great idea. I will take a look at what I can do to break this dependency since I will be working soon to upgrade kexec-tools to latest version.

--
Khalid

On 8/2/22 08:45, Martin-Éric Racine wrote:

> Package: kexec-tools
> Version: 1:2.0.24-1
> Severity: important
>
The init.d scripts are currently skipped on hosts running systemd. This is a bad idea:

$ sudo systemctl kexec
No kexec kernel loaded and autodetection failed.
Automatic loading works only on systems booted with EFI.

Therefore init.d scripts should only be skipped if we run systemd AND on an EFI-enabled host.

Martin-Éric

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: i386 (i586)

Kernel: Linux 5.18.0-3-686 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kexec-tools depends on:
ii  debconf [debconf-2.0]  1.5.79
ii  dpkg                   1.21.9
ii  libc6                  2.33-8
ii  lsb-base               11.2

kexec-tools recommends no packages.

kexec-tools suggests no packages.

-- debconf information:
* kexec-tools/use_grub_config: true
* kexec-tools/load_kexec: true


Reply via email to