Dnf automatic should support restart now!
https://github.com/rpm-software-management/dnf/pull/1879
However its o my going to work on rhel 10 or anything that has very very up to date DNF version.
However its o my going to work on rhel 10 or anything that has very very up to date DNF version.
1. Restart is ok: automatically apply all security updates as they come out ("dnf-automatic), then restart if required ("needs-restarting -r").
2. Restart is not ok: automatically apply all kernel patches as they come out("kpatch auto")