[systemd-devel] PATCH: fix kexec support when using /dev/initctl

Frederic Crozat fcrozat at suse.com
Mon Aug 22 07:19:51 PDT 2011


Hi,

when the various sysvinit compat symlink are not installed, calling
kexec /boot/vmlinuz .... doesn't kexec the system because
systemd-initctl doesn't check /sys/kernel/kexec_loaded value (unlike
when using systemctl reboot or when systemctl is symlinked
to /sbin/shutdown).

Attached patch fixes the issue (and move kexec_loaded function to
util.[ch] since it is used in two places now).
-- 
Frederic Crozat <fcrozat at suse.com>
SUSE


More information about the systemd-devel mailing list