Open arianvp opened 1 month ago
systemctl start kexec.target
does still work as expected. Perhaps we should just update the docs.
Problem is that systemctl kexec
checks if a kernel and bails out if there isn't any.
It didnt use to do that. And that would mean prepare-kexec.service
would get pulled in just in time to load the kernel
Describe the bug
Seems systemd added extra checks to
systemctl
that make it fail before our customprepare-kexec.service
runs.Steps To Reproduce
Expected behavior
https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/kexec.nix gets pulled in and then kexec happens.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.