Bug#747514: systemd breaks kexec-tools

Patrick Häcker pat_h at web.de
Sun Oct 19 11:19:17 BST 2014


> I'd like to have his input on what we need to do within systemd.
With kexec-tools 1:2.0.7-3 kexec works with systemd when using the reboot 
command.

> I notice systemd also has a "systemctl kexec" command. Have you tried
> that? If that doesn't work, we probably need to fix that integration as
> well.
Unfortunately, "systemctl kexec" does still not work, or at least not as you 
would expect having kexec-tools in mind.
http://lists.freedesktop.org/archives/systemd-devel/2012-March/004760.html
implies, that systemd is executing the already loaded kernel, but does not 
load an kernel itself.

This behavior certainly has its use cases, though I think it's not clear in 
the documentation (systemctl's man page). So before this bug can be closed, 
the documentation should probably be improved, adding something like:

"This option reboots using kexec with a kernel which must manually be loaded 
beforehand using 'kexec --load'. If no kernel has been loaded, this option 
does a reboot without using kexec, even if kexec is configured as default for 
regular reboots in /etc/default/kexec."

Interestingly, if you have kexec configured as default, but really want to do 
a complete reboot through the system firmware, using "systemctl kexec" is the 
way to go. This is a bit unexpected, but can be quite useful.

Kind regards
Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20141019/43101d27/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list