On Wed, Jul 6, 2022, at 11:12 PM, Francis.Montagnac@inria.fr wrote:
Hi.
On Wed, 06 Jul 2022 11:05:54 -0500 Roger Heflin wrote:
I manually do the update and reboot, and likely do not wait for all of the kernel module rebuilds to get done.
To prevent that, you can enable the akmods-shutdown.service: it will build and install all the kmods for all the installed kernel during the shutdown.
This service does;
ExecStart=/bin/true ExecStop=-/usr/sbin/akmods-shutdown
If dnf has a kernel update I check for the modules with my 'kerncheck' alias:
kerncheck: aliased to ls -ltr /lib/modules/*/extra;echo;ls -ltr /lib/modules;echo;echo -n "Currently booted to: ";uname -r;echo
That format is for csh/tcsh.