[systemd-devel] [PATCH] systemctl: refuse to do kexec, if no kernel is loaded

Lennart Poettering lennart at poettering.net
Mon Mar 24 12:43:26 PDT 2014


On Tue, 18.03.14 14:14, harald at redhat.com (harald at redhat.com) wrote:

> From: Harald Hoyer <harald at redhat.com>
> 
> Doing a kexec with no kernel loaded would currently issue a normal reboot.
> This might not be wanted, if the goal of kexec is to circumvent the boot
> loader. Better fail to kexec, than to reboot into a maybe broken setup.

Hmm, my assumption was always that we should support uploading a kernel
from a service at shutdown kexed. THis patch of yours would break a
setup like that?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list