On Mon, 2020-07-20 at 13:33 +0800, Qiyu Yan wrote:
Yes, full reboot always confirm that everything that needs restart is correctly restarted, also those don't need to, personally, I don't like this design.
(I think) The better way is: https://dnf-plugins-core.readthedocs.io/en/latest/needs_restarting.html Or https://dnf-plugins-extras.readthedocs.io/en/latest/tracer.html
Agreed. That's also my preferred method, using the DNF tracer plugin so it's called automatically:
python3-dnf-plugin-tracer
It will tell you what programs you need to restart, or if you need to log out and in again. It will also tell you when you should reboot. It occasionally has a false positive, i.e. telling you to reboot when it doesn't seem to be necessary, but that's a minor issue.
poc