I load my kernel into kexec with: kexec -l "/usr/src/linux/arch/x86/boot/bzImage" --append "root=/dev/sdb2 init=/bin/systemd fbcon=rotate:3 drm_kms_helper.poll=0 quiet" when I then run: systemctl kexec my system gets rebooted normally and kexec is not called apparently.
kexec is hardcoded to /sbin/kexec in src/shutdown.c:352. On my system (gentoo) kexec lives in /usr/sbin I changed line 352 to: const char *args[3] = { "/usr/sbin/kexec", "-e", NULL }; and everything runs fine...
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.