[Bug 2093005] [NEW] No warning on kernel version mismatch
Jonah Janzen
2093005 at bugs.launchpad.net
Sun Jan 5 00:24:05 UTC 2025
Public bug reported:
When running ubuntu-image on a host with a different kernel version than
the image being built, a warning or even error should be emitted, as
this can cause incompatibilities in the chroot environment.
I encountered this issue when using the ship-live seed, which contains
Nvidia driver packages. ubuntu-image will fail during the configuration
of the driver packages, as depmod in the chroot environment looks under
/lib/modules/<host kernel version> instead of /lib/modules/<image kernel
version>.
You can run the attached classic image definition on a system with an
outdated kernel to reproduce it.
** Affects: ubuntu-image
Importance: Undecided
Status: New
** Attachment added: "test-image.yaml"
https://bugs.launchpad.net/bugs/2093005/+attachment/5849444/+files/test-image.yaml
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to Ubuntu Image.
https://bugs.launchpad.net/bugs/2093005
Title:
No warning on kernel version mismatch
Status in Ubuntu Image:
New
Bug description:
When running ubuntu-image on a host with a different kernel version
than the image being built, a warning or even error should be emitted,
as this can cause incompatibilities in the chroot environment.
I encountered this issue when using the ship-live seed, which contains
Nvidia driver packages. ubuntu-image will fail during the
configuration of the driver packages, as depmod in the chroot
environment looks under /lib/modules/<host kernel version> instead of
/lib/modules/<image kernel version>.
You can run the attached classic image definition on a system with an
outdated kernel to reproduce it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/2093005/+subscriptions
More information about the foundations-bugs
mailing list