2 Answers
- Newest
- Most votes
- Most comments
0
I'll start with the answer I gave on GitHub, and expand a little:
We have a bunch of updates to the rpm and dnf ecosystems in AL2023.4 (see the release notes) ... We're carefully managing what versions of these packages we bring in, so that we maintain compatibility.
AL2023.4 was released in March of 2024, so was probably just after your question here.
The dnf-plugins-core package does contain the needs-restarting plugin, which can be used to determine if a reboot is needed:
bash-5.2# dnf needs-restarting -r; echo $?
No core libraries or services have been updated since boot-up.
Reboot should not be necessary.
0
You can also automatically restart services after updates.
Hopefully the above two commands help with your desire to apply updates and then automatically work out what needs restarting.
answered 2 years ago
Relevant content
asked 2 years ago
- AWS OFFICIALUpdated 23 days ago

https://github.com/amazonlinux/amazon-linux-2023/issues/636