[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-02-26 Thread Launchpad Bug Tracker
This bug was fixed in the package dracut - 060+5-1ubuntu3.3

---
dracut (060+5-1ubuntu3.3) noble; urgency=medium

  * Fix missing compressed blobs that match wildcard fwpath (LP:
#2095518)

 -- You-Sheng Yang   Thu, 13 Feb 2025 15:21:06 +0100

** Changed in: dracut (Ubuntu Noble)
   Status: Fix Committed => Fix Released

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-02-26 Thread Launchpad Bug Tracker
This bug was fixed in the package dracut - 103-1ubuntu3.1

---
dracut (103-1ubuntu3.1) oracular; urgency=medium

  * Fix missing compressed blobs that match wildcard fwpath (LP:
#2095518)

 -- You-Sheng Yang   Thu, 13 Feb 2025 15:16:38 +0100

** Changed in: dracut (Ubuntu Oracular)
   Status: Fix Committed => Fix Released

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-02-17 Thread You-Sheng Yang
Verified:
* dracut-install/plucky version 106-2ubuntu1
* dracut-install/oracular-proposed version 103-1ubuntu3.1
* dracut-install/noble-proposed version 060+5-1ubuntu3.3

** Tags removed: verification-needed verification-needed-noble 
verification-needed-oracular
** Tags added: verification-done verification-done-noble 
verification-done-oracular

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-02-17 Thread You-Sheng Yang
Also merged in the upstream.

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-02-14 Thread Timo Aaltonen
Hello You-Sheng, or anyone else affected,

Accepted dracut into oracular-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/dracut/103-1ubuntu3.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
oracular to verification-done-oracular. If it does not fix the bug for
you, please add a comment stating that, and change the tag to
verification-failed-oracular. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: dracut (Ubuntu Oracular)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-oracular

** Changed in: dracut (Ubuntu Noble)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-noble

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-02-13 Thread Launchpad Bug Tracker
This bug was fixed in the package dracut - 106-2ubuntu1

---
dracut (106-2ubuntu1) plucky; urgency=medium

  * Merge from Debian unstable. Remaining changes:
- drop udevsettle patch (these kind of patches should be applied upstream)
- drop 90overlay-root in favor of 90overlayfs (Closes: #1017039)
- dracut-core:
  - demote cryptsetup, systemd-cryptsetup, dmraid, dmsetup, kpartx, lvm2,
and mdadm to suggests
  - demote binutils to suggests. its only needed when using UEFI executables
- Include all packages with dracut modules in Apport bug reports
- autopkgtest: add TEST-70-ISCSI and TEST-71-ISCSI-MULTI
- Plymouth hook: Use alternatives instead of plymouth-set-default-theme
- Set -H --hostonly-mode=sloppy as default arguments via a config file.
  * run upstream-dracut-live autopkgtest on armhf and ppc64el
  * move 99-ubuntu.conf to 10-ubuntu.conf (to ease overwriting it)

dracut (106-2) unstable; urgency=medium

  * new patches (all accepted upstream):
- test(ISCSI): skip root=ibft if qemu -acpitable is not supported
- test(FULL-SYSTEMD): skip encrypted root if qemu -smbios is not supported
- test: use persistent names for network devices
- fix(dracut-install): install compressed blobs that match wildcard fwpath
  (LP: #2095518)
  * autopkgtest: explicitly depend on ipxe-qemu
  * dracut-core: install upstream dracut.conf.d subdirectories
(to be used with --confdir)
  * Enable autopkgtest for s390x

dracut (106-1) unstable; urgency=medium

  * New upstream release.
  * Update debian/watch to point to dracut-ng upstream
  * dracut-live: suggest isomd5sum (for checkisomd5 command) (Closes: #1095162)
  * dracut-core: install /usr/lib/kernel/install.d (Closes: #1082811)
  * Drop patches included upstream and refresh remaining patches
  * Move modules:
- reserve range 50-59 to out of tree dracut modules
- fix(shell-interpreter): move later in the module ordering
- move 01systemd-sysusers to 60systemd-sysusers
  * dracut-core: remove moved upstream docs
  * dracut-core: drop dracut.html (please use man pages instead)
  * dracut-core: add new modules 01systemd-battery-check and 97systemd-emergency
  * test: reorganize tests (new numbering schema)
  * Run upstream autopkgtest as root
  * test: depend on dbus and systemd-container for TEST-41-FULL-SYSTEMD
  * new patches:
- test: log error when constructing sysroot
- test(FULL-SYSTEMD): skip systemd-network-management if missing
  * dracut-core: drop gawk dependency

dracut (105-3) unstable; urgency=medium

  * Add patches to improve test cases in error case
  * autopkgtest: add TEST-20-NFS test

 -- Benjamin Drung   Thu, 13 Feb 2025 12:29:40 +0100

** Changed in: dracut (Ubuntu Plucky)
   Status: Fix Committed => Fix Released

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-02-13 Thread Benjamin Drung
Uploaded dracut 106-2ubuntu1 with this patch. Sponsored SRUs, but
renamed the oracular version to 103-1ubuntu3.1.

** Changed in: dracut (Ubuntu Plucky)
   Status: In Progress => Fix Committed

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-02-12 Thread Benjamin Drung
https://github.com/dracut-ng/dracut-ng/pull/1152 got merged upstream.
I'll prepare the plucky version including this fix.

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-02-12 Thread Simon Chopin
I spent quite a bit of time on this issue, and ended up commenting
directly on the upstream PR. I think it might be worth it to upload this
to plucky as is, but I'd wait for upstream input before SRUing, but I'd
rather defer to bdrung's opinion on this.

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-02-10 Thread You-Sheng Yang
Upstream have not yet taken action but tagging the issue/pr for broader
notice. SRU in order not to block oem projects.

** Description changed:

+ [SRU Justificaiton]
+ 
+ [ Impact ]
+ 
+ Linux kernel modules may declare firmware blobs to be installed along
+ with the module itself to ensure driver functions, and the paths may
+ contains wildcards to be expanded by other tools.
+ 
+ ```
+ $ find /lib/modules/$(uname -r) -name \*.ko.zst -exec bash -c "m=\$(basename 
"{}"); m=\${m%%.*}; modinfo \$m|grep '^firmware:.*\*'" \;
+ firmware: brcm/brcmbt4388*.ptb
+ firmware: brcm/brcmbt4388*.bin
+ firmware: brcm/brcmbt4387*.ptb
+ firmware: brcm/brcmbt4387*.bin
+ firmware: brcm/brcmbt4378*.ptb
+ firmware: brcm/brcmbt4378*.bin
+ firmware: brcm/brcmbt4377*.ptb
+ firmware: brcm/brcmbt4377*.bin
+ firmware: intel/ish/ish_*.bin
+ firmware: ath11k/WCN6855/hw2.1/*
+ firmware: ath11k/WCN6855/hw2.0/*
+ firmware: ath11k/QCN9074/hw1.0/*
+ firmware: ath11k/QCA6390/hw2.0/*
+ firmware: brcm/brcmfmac*-sdio.*.bin
+ firmware: brcm/brcmfmac*-sdio.*.txt
+ firmware: brcm/brcmfmac*-pcie.*.txcap_blob
+ firmware: brcm/brcmfmac*-pcie.*.clm_blob
+ firmware: brcm/brcmfmac*-pcie.*.bin
+ firmware: brcm/brcmfmac*-pcie.*.txt
+ firmware: brcm/brcmfmac*-pcie.txt
+ ```
+ 
+ dracut is the tool that helps building initramfs at this moment, and
+ it's implementation for resolving compressed firmware blobs (and
+ therefore a different filename suffix) doesn't really handle it
+ (wildcard in the middle) correctly. This causes wildcard firmwares, even
+ needed by the system, may not be packed into initramfs as expected.
+ 
+ Usually this is not a big deal, and we have been switching to xz/zst for
+ a while. However, in Intel ISH driver, it declares:
+ 
+ ```
+ firmware:   intel/ish/ish_*.bin
+ firmware:   intel/ish/ish_lnlm.bin
+ ```
+ 
+ It tries to resolve the best match of a vendor/model specific
+ configuration by DMI info, and since the ones matched with that wildcard
+ filename will never be installed into initramfs, leaving only the
+ generic blob available and always available at driver loading, it will
+ use the generic firmware unconditionally and break sensor functions for
+ a few platforms.
+ 
+ The fix tries to rewrite the resolution in dracut a bit, so that it will
+ match and copy compressed blobs as well.
+ 
+ [ Test Plan ]
+ 
+ 1. touch `/lib/firmware/intel/ish/ish_foo.bin.zst`
+ 2. `update-initramefs -v -u -k $(uname -r)`, and check if above file was 
added.
+ 
+ [ Where problems could occur ]
+ 
+  * This fix will then add brcm, ish firmware blobs into initramfs if
+ necessary for the running platform as they should have been. Would
+ slightly increase initramfs size if affected.
+ 
+ [ Other Info ]
+ 
+ * First found for dracut >= 060, used by Ubuntu Noble, and extent to
+ Jammy/Oracular/Plucky as well.
+ 
+ * Upstream bug and pull request in review: https://github.com/dracut-
+ ng/dracut-ng/issues/1150
+ 
+ == original bug report ==
+ 
  [Describe the bug]
  
  Take kernel module intel-ish-ipc for example, it has two firmware
  declarations:
  
  ```
  $ modinfo intel-ish-ipc | grep ^firmware
  firmware: intel/ish/ish_*.bin
  firmware: intel/ish/ish_lnlm.bin
  ```
  
  And with additional custom ISH firmware installed from [bug
  2094768](https://bugs.launchpad.net/bugs/2094768), update-initramefs
  gives:
  
  ```
  $ update-initramefs -v -u -k $(uname -r)
  ...
  dracut-install: Missing firmware intel/ish/ish_*.bin for kernel module 
intel_ish_ipc
  dracut-install: mkdir '/var/tmp/mkinitramfs_9uk7FI/lib/firmware/intel/ish'
  dracut-install: cp 
'/lib/firmware/intel/ish/ish_lnlm_39ceeaf8_58.7724.2.bin.zst' 
'/var/tmp/mkinitramfs_9uk7FI/lib/firmware/intel/ish/ish_lnlm_39ceeaf8_58.7724.2.bin.zst'
  dracut-install: ln -s 'ish_lnlm_39ceeaf8_58.7724.2.bin.zst' 
'/var/tmp/mkinitramfs_9uk7FI/lib/firmware/intel/ish/ish_lnlm.bin.zst'
  ...
  ```
  
  In source code for `/usr/lib/dracut/dracut-install`, that is, source
  package dracut, file `src/install/dracut-install.c`, function
  `install_firmware`, it tries to invoke `glob()` with full path expanded
  from "intel/ish/ish_*.bin", but while all the binaries were compressed,
  this matches no file and none of the custom ISH firmware blobs will be
  installed.
  
  [Distribution used]
  
  Ubuntu
  
  [Dracut version]
  
  This was first found in Ubuntu/Noble, which has 060, but from the git
  history and the differences, this should be reproducible with all
  versions of dracut.
  
  [Init system]
  
  Systemd.
  
  [To Reproduce]
  
  1. touch `/lib/firmware/intel/ish/ish_foo.bin.zst`
  2. `update-initramefs -v -u -k $(uname -r)`, and check if above file was 
added.
  
  [Expected behavior]
  
  Any file under `/lib/firmware/intel/ish` matches `intel/ish/ish_*.bin`,
  compressed (.zst, .xz) or uncompressed (.bin), should be added into the
  newly created initramefs.
  
  [Additional context]
  
  Upstream bug: https://github.com/dracut-ng/dracut-ng/issues/1150

** C

[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-02-10 Thread You-Sheng Yang
> is dracut the right place to solve this?

Yes. dracut is the one that packs initramfs.

> is kmod a more appropriate place to fix this?

This is an already established way for a kernel module to declare the
need of firmware blobs with undetermined name. kmod reads these
information, and it cannot help determine whether a .zst or a .xz suffix
should be used.

> Are .xz and .zst the only possible extensions that dracut will have to
handle?

From the source code, yes, only xz and zst.

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-02-03 Thread Dave Jones
I suspect this is one for @bdrung particularly to review, but I'll offer
some general observations:

My first question is: is dracut the right place to solve this? If
modinfo is reporting files that don't exist, and the kernel packaging is
the thing that's creating compressed modules in the first place, is kmod
a more appropriate place to fix this?

Assuming dracut *is* the right place fix this: Are .xz and .zst the only
possible extensions that dracut will have to handle? This is probably
more relevant for the upstream PR, but are other compression formats
possible (.gz, .bz2, and so on)? To avoid ballooning the number of file
existence checks potentially needed, should this be configurable by
platform to limit the checks to compression regimes they select?

Finally, as the intention appears to be to SRU this to earlier releases,
the SRU template [1] will need to be followed. However, it's probably
premature to go through this until a fix has landed in development.

[1]: https://canonical-sru-docs.readthedocs-
hosted.com/en/latest/reference/bug-template/#reference-sru-bug-template

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-01-22 Thread You-Sheng Yang
Upstream pull request https://github.com/dracut-ng/dracut-ng/pull/1152

** Changed in: dracut (Ubuntu Plucky)
   Status: New => In Progress

** Changed in: dracut (Ubuntu Plucky)
   Importance: Undecided => High

** Changed in: dracut (Ubuntu Plucky)
 Assignee: (unassigned) => You-Sheng Yang (vicamo)

** Changed in: dracut (Ubuntu Oracular)
   Status: New => In Progress

** Changed in: dracut (Ubuntu Oracular)
   Importance: Undecided => High

** Changed in: dracut (Ubuntu Oracular)
 Assignee: (unassigned) => You-Sheng Yang (vicamo)

** Changed in: dracut (Ubuntu Noble)
   Status: New => In Progress

** Changed in: dracut (Ubuntu Noble)
   Importance: Undecided => High

** Changed in: dracut (Ubuntu Noble)
 Assignee: (unassigned) => You-Sheng Yang (vicamo)

** Changed in: dracut (Ubuntu Jammy)
   Status: New => In Progress

** Changed in: dracut (Ubuntu Jammy)
   Importance: Undecided => High

** Changed in: dracut (Ubuntu Jammy)
 Assignee: (unassigned) => You-Sheng Yang (vicamo)

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-01-22 Thread You-Sheng Yang
Attached debdiffs for Noble/Oracular/Plucky. Jammy takes a non-trivial
backport.

Also pushed to https://launchpad.net/~vicamo/+archive/ubuntu/sru for
reference.


** Attachment added: "dracut_103-1ubuntu4.oracular.debdiff"
   
https://bugs.launchpad.net/bugs/2095518/+attachment/5853511/+files/dracut_103-1ubuntu4.oracular.debdiff

** Attachment added: "dracut_105-2ubuntu6.plucky.debdiff"
   
https://bugs.launchpad.net/bugs/2095518/+attachment/5853512/+files/dracut_105-2ubuntu6.plucky.debdiff

** Attachment added: "dracut_060+5-1ubuntu3.3.noble.debdiff"
   
https://bugs.launchpad.net/bugs/2095518/+attachment/5853513/+files/dracut_060+5-1ubuntu3.3.noble.debdiff

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2095518] Re: dracut-install does not install compressed wildcard blobs

2025-01-22 Thread You-Sheng Yang
Jammy doesn't seem to support per blob zst compression, but it still has
the same problem with xz compressed blobs.

** Description changed:

+ [Describe the bug]
+ 
  Take kernel module intel-ish-ipc for example, it has two firmware
  declarations:
  
  ```
  $ modinfo intel-ish-ipc | grep ^firmware
  firmware: intel/ish/ish_*.bin
  firmware: intel/ish/ish_lnlm.bin
  ```
  
- And with additional custom ISH firmware installed from bug 2094768,
- update-initramefs gives:
+ And with additional custom ISH firmware installed from [bug
+ 2094768](https://bugs.launchpad.net/bugs/2094768), update-initramefs
+ gives:
  
  ```
  $ update-initramefs -v -u -k $(uname -r)
  ...
  dracut-install: Missing firmware intel/ish/ish_*.bin for kernel module 
intel_ish_ipc
  dracut-install: mkdir '/var/tmp/mkinitramfs_9uk7FI/lib/firmware/intel/ish'
  dracut-install: cp 
'/lib/firmware/intel/ish/ish_lnlm_39ceeaf8_58.7724.2.bin.zst' 
'/var/tmp/mkinitramfs_9uk7FI/lib/firmware/intel/ish/ish_lnlm_39ceeaf8_58.7724.2.bin.zst'
  dracut-install: ln -s 'ish_lnlm_39ceeaf8_58.7724.2.bin.zst' 
'/var/tmp/mkinitramfs_9uk7FI/lib/firmware/intel/ish/ish_lnlm.bin.zst'
  ...
- 
  ```
  
- In source code for /usr/lib/dracut/dracut-install, that is, source
- package dracut, file src/install/dracut-install.c, function
- install_firmware, it tries to invoke `glob()` with full path expanded
+ In source code for `/usr/lib/dracut/dracut-install`, that is, source
+ package dracut, file `src/install/dracut-install.c`, function
+ `install_firmware`, it tries to invoke `glob()` with full path expanded
  from "intel/ish/ish_*.bin", but while all the binaries were compressed,
  this matches no file and none of the custom ISH firmware blobs will be
  installed.
+ 
+ [Distribution used]
+ 
+ Ubuntu
+ 
+ [Dracut version]
+ 
+ This was first found in Ubuntu/Noble, which has 060, but from the git
+ history and the differences, this should be reproducible with all
+ versions of dracut.
+ 
+ [Init system]
+ 
+ Systemd.
+ 
+ [To Reproduce]
+ 
+ 1. touch `/lib/firmware/intel/ish/ish_foo.bin.zst`
+ 2. `update-initramefs -v -u -k $(uname -r)`, and check if above file was 
added.
+ 
+ [Expected behavior]
+ 
+ Any file under `/lib/firmware/intel/ish` matches `intel/ish/ish_*.bin`,
+ compressed (.zst, .xz) or uncompressed (.bin), should be added into the
+ newly created initramefs.
+ 
+ [Additional context]
+ 
+ Upstream bug: https://github.com/dracut-ng/dracut-ng/issues/1150

** Also affects: dracut (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Also affects: dracut (Ubuntu Oracular)
   Importance: Undecided
   Status: New

** Also affects: dracut (Ubuntu Plucky)
   Importance: Undecided
   Status: New

** Also affects: dracut (Ubuntu Noble)
   Importance: Undecided
   Status: New

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

Title:
  dracut-install does not install compressed wildcard blobs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2095518/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs