Bug 2248665 - akmods doesn't understand fedora systemd-boot installs and mistakes updateloaderentries/grubby for an actual grub system
Summary: akmods doesn't understand fedora systemd-boot installs and mistakes updateloa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: akmods
Version: 39
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Nicolas Chauvet (kwizart)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-08 08:48 UTC by Maxime Gervais
Modified: 2023-12-15 19:03 UTC (History)
8 users (show)

Fixed In Version: akmods-0.5.8-6.fc39
Clone Of:
Environment:
Last Closed: 2023-12-15 19:03:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Maxime Gervais 2023-11-08 08:48:10 UTC
akmods launches the following command if the grubby binary is found: 'grubby --default-kernel | sed -e 's/^.*vmlinuz-//'. But updateloaderentries (linked as /sbin/grubby by sdubby) doesn't have --default-kernel option and print the 'usage: ...' message on stdout instead. This cause the followings errors in logs (but fortunately, akmods find the right kernel anyway):

nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Building and installing nvidia-kmod[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for updateloaderentries.sh:[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: updateloaderentries.sh: could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/updateloaderentries.sh:/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/updateloaderentries.sh:/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for When[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: When could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/When/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/When/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for run[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: run could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/run/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/run/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for as[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: as could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/as/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/as/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for updateloaderentries[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: updateloaderentries could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/updateloaderentries/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/updateloaderentries/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for it[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: it could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/it/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/it/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for doesn't[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: doesn't could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/doesn't/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/doesn't/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for require[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: require could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/require/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/require/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for any[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: any could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/any/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/any/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for parameters[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: parameters could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/parameters/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/parameters/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for and[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: and could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/and/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/and/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for merges[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: merges could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/merges/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/merges/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for The[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: The could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/The/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/The/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for /etc/kernel/cmdline[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /etc/kernel/cmdline could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels//etc/kernel/cmdline/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules//etc/kernel/cmdline/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for and[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: and could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/and/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/and/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for /proc/cmdline[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /proc/cmdline could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels//proc/cmdline/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules//proc/cmdline/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for into[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: into could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/into/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/into/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for all[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: all could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/all/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/all/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for systemd-boot[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: systemd-boot could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/systemd-boot/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/systemd-boot/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for configurations.[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: configurations. could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/configurations./
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/configurations./build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for grubby:[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: grubby: could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/grubby:/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/grubby:/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for When[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: When could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/When/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/When/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for run[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: run could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/run/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/run/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for symlinked[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: symlinked could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/symlinked/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/symlinked/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for as[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: as could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/as/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/as/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for grubby,[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: grubby, could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/grubby,/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/grubby,/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for it[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: it could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/it/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/it/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for takes[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: takes could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/takes/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/takes/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for the[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: the could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/the/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/the/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for grubby[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: grubby could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/grubby/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/grubby/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for --args,[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: --args, could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/--args,/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/--args,/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for --remove-args[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: --remove-args could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/--remove-args/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/--remove-args/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for and[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: and could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/and/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/and/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for --info[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: --info could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/--info/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/--info/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for switches.[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: switches. could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/switches./
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/switches./build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for All[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: All could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/All/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/All/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for three[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: three could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/three/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/three/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for take[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: take could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/take/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/take/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for a[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: a could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/a/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/a/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for uname[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: uname could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/uname/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/uname/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for -r[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: -r could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/-r/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/-r/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for compatible[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: compatible could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/compatible/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/compatible/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for option[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: option could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/option/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/option/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for to[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: to could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/to/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/to/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for specify[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: specify could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/specify/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/specify/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for the[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: the could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/the/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/the/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for kernel/initrd[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: kernel/initrd could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/kernel/initrd/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/kernel/initrd/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for being[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: being could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/being/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/being/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for modified/shown[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: modified/shown could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/modified/shown/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/modified/shown/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for or[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: or could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/or/
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/or/build/Is the correct kernel-devel package installed?[ÉCHOUÉ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Checking kmods exist for ALL.[  OK  ]
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: Files needed for building modules against kernel
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: ALL. could not be found as the following
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: directories are missing:
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /usr/src/kernels/ALL./
nov. 08 09:10:43 localhost-live.home systemd-inhibit[73516]: /lib/modules/ALL./build/Is the correct kernel-devel package installed?[ÉCHOUÉ]

Reproducible: Always

Steps to Reproduce:
1. Run akmods --force on systemd-boot only Fedora installation
Actual Results:  
Lots of errors in log

Expected Results:  
Same logs has on grub2 Fedora installations

Comment 1 Jeremy Linton 2023-12-04 21:04:41 UTC
So, I addd a --default-kernel option to sdubby/updateloaderentries but that doesn't fix the problem because the sed vmlinux fails to parse the version from the resulting pat. As such I opened a PR https://src.fedoraproject.org/rpms/akmods/pull-request/17 to tweak akmods so that it understands this situation and goes ahead and uses its bootctl logic instead.

I'm also going to reassign this BZ to that component, with the understanding that at some point i'm going to push the change to support --default-kernel but that probably isn't the best fix for akmods.

Comment 2 Nicolas Chauvet (kwizart) 2023-12-05 08:35:49 UTC
I've merged the PR and building for f39+.


Can I use this as an opportunity to ask how to deal with kernel cmdline options with systemd-boot(and/or sdubby) ?

We prefer to use cmdline because it's easier to switch back to nouveau on boot for any reason while still having the nvidia driver installed rather that tweak anything from the config userspace.
ostree systems make that task even more relevant.
(see also https://bugzilla.rpmfusion.org/show_bug.cgi?id=6809)

Comment 3 Nicolas Chauvet (kwizart) 2023-12-05 09:09:02 UTC
Also seems there is a need to clarify the situation with alternatives bootloader entries:
Anyone of you tried boom-boot: https://koji.fedoraproject.org/koji/buildinfo?buildID=2328172 ?

Comment 4 Nicolas Chauvet (kwizart) 2023-12-05 10:08:15 UTC
(In reply to Nicolas Chauvet (kwizart) from comment #3)
> Also seems there is a need to clarify the situation with alternatives
> bootloader entries:
> Anyone of you tried boom-boot:
> https://koji.fedoraproject.org/koji/buildinfo?buildID=2328172 ?

My bad, seems like for a different purpose (I even used it some time ago).

Comment 5 Jeremy Linton 2023-12-05 16:57:10 UTC
re: comment 2 above: I'm not 100% sure I understand the question. But the sdubby package is providing a grubby like utility for programmatically updating the BLS/kernel command line entries to solve the problem of not having to worry about grub vs systemd-boot BLS entries. But as you point out there are various other utilities that can do both as well, so just using grubby isn't the only choice.

Comment 6 Fedora Update System 2023-12-07 13:03:27 UTC
FEDORA-2023-8cbf675b24 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8cbf675b24

Comment 7 Fedora Update System 2023-12-08 01:32:22 UTC
FEDORA-2023-8cbf675b24 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-8cbf675b24`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-8cbf675b24

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-12-15 19:03:45 UTC
FEDORA-2023-8cbf675b24 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.