> On 4 Nov 2024, at 22:24, Stephen Morris <[email protected]> wrote:
> 
> Sudo needs-restarting --services tells me nothing which apparently is normal 
> if there are no "important" packages (the man page does provide a url that 
> shows a list of packages that are checked) or services that need restarting.

I found issues with the needs-restarting logic in dnf4 and not use this as the 
most reliable query.

dnf needs-restarting --services --reboot hint

I found that both options were needed. I also check if the kernel was in the 
dnf update
that I will have done just before this query.

The bug in dnf4 was that it's logic for --reboothint was buggy and sometimes
it would not suggest a reboot was needed. It was comparing dates that do not 
mean
what the dnf authors thought they did. I do not know if this is fix for dnf5.

Barry

-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to