[Bug 2068026] [NEW] initramfs-tools hook does not support zstd-compressed kernel modules

Benjamin Drung 2068026 at bugs.launchpad.net
Tue Jun 4 12:54:03 UTC 2024


Public bug reported:

librem-ec-acpi-dkms in librem-ec-acpi uses:

```
    for kmod in $(find "${MODULESDIR}/${dir}" ${exclude:-} -name "$pattern*.ko" -print); do
        manual_add_modules $(basename ${kmod} .ko)
    done
```

vmxnet in open-vm-tools uses:

```
if find "${DESTDIR}"/lib/modules -name pcnet32.ko >/dev/null; then
	manual_add_modules vmxnet
fi
```

Ubuntu 24.04 (noble) ships kernel modules compressed (e.g.
pcnet32.ko.zst) and those snippets will not find these compressed
modules.

** Affects: librem-ec-acpi (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: open-vm-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: open-vm-tools (Ubuntu)
   Importance: Undecided
       Status: New

** Package changed: initramfs-tools (Ubuntu) => librem-ec-acpi (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/2068026

Title:
  initramfs-tools hook does not support zstd-compressed kernel modules

Status in librem-ec-acpi package in Ubuntu:
  New
Status in open-vm-tools package in Ubuntu:
  New

Bug description:
  librem-ec-acpi-dkms in librem-ec-acpi uses:

  ```
      for kmod in $(find "${MODULESDIR}/${dir}" ${exclude:-} -name "$pattern*.ko" -print); do
          manual_add_modules $(basename ${kmod} .ko)
      done
  ```

  vmxnet in open-vm-tools uses:

  ```
  if find "${DESTDIR}"/lib/modules -name pcnet32.ko >/dev/null; then
  	manual_add_modules vmxnet
  fi
  ```

  Ubuntu 24.04 (noble) ships kernel modules compressed (e.g.
  pcnet32.ko.zst) and those snippets will not find these compressed
  modules.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/librem-ec-acpi/+bug/2068026/+subscriptions




More information about the foundations-bugs mailing list