Bug#1028416: systemctl kexec doesn't shutdown system properly and corrupts mounted filesystems

Michael Biebl biebl at debian.org
Wed Jan 11 22:40:23 GMT 2023


Control: reassign -1 kexec-tools

Am 10.01.23 um 20:34 schrieb KOLANICH:
> Package: systemd
> Version: 252.4-1
> Severity: grave
> So do kexec-tools if a user has chosen to use it for
> reboots during package configuration.
> Either of the following can cause fs corruption (to the point one has to 
> use `fsck -y`):
> a) the procedure described in 
> https://wiki.archlinux.org/title/Kexec#Manually
> 1. `kexec -l /boot/vmlinuz-6.0.0-6-amd64 
> --initrd=/boot/initrd-6.0.0-6-amd64 --reuse-cmdline`
> 2. `systemctl kexec`
> b) Just choosing to use kexec for reboots when installing it, and then 
> rebooting.

Since systemd basically just calls kexec [1] and running kexec directly 
shows the same issue, let's reassign this to kexec-tools

Michael


[1] 
https://github.com/systemd/systemd/blob/main/src/shutdown/shutdown.c#L584


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20230111/1eeeb98d/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list