You have been subscribed to a public bug:
After the introduction of finalrd, "systemctl kexec" (with a kernel
preloaded by "kexec -l ...") no longer kexec()s -- it reboots instead.
Can be reproduced for example using a livecd (say, xubuntu-18.04
-desktop-amd64.iso):
sudo -i
apt-get update
apt-get install kexec-tools finalrd
systemctl start finalrd # optional
kexec -l /cdrom/casper/vmlinuz
systemctl kexec
Expected results: the system kexec's into the kernel and panics (due to
lack of /init, since we haven't given it an initrd).
Actual results: the system reboots (e.g. the livecd's bootloader menu
runs).
If we don't install "finalrd" above, kexec works normally.
** Affects: kexec-tools (Ubuntu)
Importance: Undecided
Status: New
** Affects: finalrd (Ubuntu)
Importance: Undecided
Status: New
--
"systemctl kexec" reboots
https://bugs.launchpad.net/bugs/1862300
You received this bug notification because you are a member of Kernel Packages,
which is subscribed to kexec-tools in Ubuntu.
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp