behaviour of "systemctl kexec" not matching man page, sabotaging kexec reboots with kexec-tools
Timo Weingärtner
timo.weingaertner at itscope.de
Fri Feb 21 12:31:51 GMT 2020
Hallo Michael,
21.02.20 12:07 Michael Biebl:
> [dropping debian-devel]
[re-adding kexec-tools maintainer and therefore not deleting context]
(I understand that you don't want to have yet another discussion about systemd
breaking things too publicly.)
> Am 20.02.20 um 18:30 schrieb Timo Weingärtner:
> > IMO there are some options to proceed:
> > 1) improve the heuristic in systemctl so that it succeeds if kexec-tools
> > is installed, maybe with some option in system.conf.
> > 2) work around the systemd bug in kexec-tools by loading the kernel at
> > boot and kernel install times¹, wasting about 40 MiB of RAM.
> > 3) provide a wrapper script (say "kexecreboot") in kexec-tools that runs
> > the long version above and also loads a kernel in the case of sysvinit
> > with kexec-tools/load_kexec=false.
> > 4) provide a wrapper script and dpkg-divert systemctl.
>
> I think https://github.com/systemd/systemd/issues/7730 should be helpful
> to understand what's going on.
I read that before already.
> "systemctl kexec" as it is today requires EFI boot and the kernels being
> installed following the boot loader spec [1], which is not the case for
> Debian. The error messages you are seeing are a result of that.
OK. What is your proposal for fixing the problem now?
> Regards,
> Michael
>
> [1] https://systemd.io/BOOT_LOADER_SPECIFICATION/
Mit freundlichen Grüßen,
Timo Weingärtner
Systemadministrator
--
ITscope GmbH
Ludwig-Erhard-Allee 20
D-76131 Karlsruhe
Tel: +49 721 627376-0
Fax: +49 721 66499175
https://www.itscope.com
Handelsregister: AG Mannheim, HRB 232782 Sitz der Gesellschaft: Karlsruhe
Geschäftsführer: Alexander Münkel, Benjamin Mund, Stefan Reger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200221/cb034274/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list