- Package:
- src:zfs-linux
- Source:
- src:zfs-linux
- Submitter:
- Igor Krpanic
- Date:
- 2026-08-11 02:19:02 UTC
- Severity:
- normal
- Tags:
Dear Maintainer, I am working on debian-installer addon module which would make zfs modules and tools available in Debian installer. This addon is building zfs modules and tools from source in debootstraped chroot to avoid zfs binaries bundling. For that I am using zfs-linux source package. debian/README.Source documents building udeb packages with BUILD_UDEB=true, but this is broken. Problems I found when trying it on trixie with zfs 2.4.3 from backports: - debian/rules still uses old package names (libzfs5-udeb, libzpool6-udeb) in the BUILD_UDEB blocks. control.udeb.in was updated to libzfs7/libzpool7, but rules was not, so dh_makeshlibs and dh_strip fail. rules also references libzfsbootenv1-udeb, which is not defined in control.udeb.in. - the udeb install files are named libnvpair3linux-udeb.install.in and so on, but the packages are called libnvpair3-udeb etc., so dh_install ignores them and the library udebs are built empty. The files also point to .libs/ build tree paths that no longer exist in debian/tmp. - appending control.udeb.in to debian/control fails with "duplicate field Package", because control has no blank line at the end. - dh_makeshlibs --add-udeb=zfsutils-udeb fails, because zfsutils-linux has no shared libraries. - libnvpair3-udeb gets a dependency on libtirpc3t64 instead of libtirpc3-udeb, because libtirpc's shlibs file has no udeb line. The installer cannot install a normal deb. - zfs.ko in the zfs-modules-*-di udeb is not stripped (around 107 MB unpacked). The same problems exist in 2.3.2-2 in trixie, only with the older library names (rules uses libzfs5 there while control.udeb.in has libzfs6). I attach 6 patches against the packaging git (debian/2.4.3-2) that fix these points. With them, BUILD_UDEB=true builds all the udebs. They apply to master only; the trixie tree would need the same changes with its own library names. I tested the resulting udebs in the trixie debian-installer (netboot initrd and netinst ISO, in QEMU): the modules load, and zpool/zfs work in the installer (pool create, snapshot, scrub, export/import). Regards, Igor Krpanic
We believe that the bug you reported is fixed in the latest version of zfs-linux, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1144055@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Shengqi Chen <harry@debian.org> (supplier of updated zfs-linux package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Tue, 11 Aug 2026 00:06:49 +0800 Source: zfs-linux Architecture: source Version: 2.4.3-3 Distribution: unstable Urgency: medium Maintainer: Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@alioth-lists.debian.net> Changed-By: Shengqi Chen <harry@debian.org> Closes: 1142294 1144055 Changes: zfs-linux (2.4.3-3) unstable; urgency=medium . [ Igor Krpanic ] * d/rules: fix outdated udeb package names (Closes: #1144055) * d/: rename udeb install files to match udeb package names * d/rules: fix appending of control.udeb.in * d/rules: strip modules in the -di udeb * d/shlibs.local: map libtirpc to libtirpc3-udeb for udebs * d/rules: copy DKMS files instead of moving them . [ Benjamin Drung ] * Drop depending on busybox-initramfs (Closes: #1142294, LP: #2157328) Checksums-Sha1: e961620e327fc8699145999378fd4266b5f334d2 3843 zfs-linux_2.4.3-3.dsc 40d96cb0b9b04ac5b39b39b69b25f7fad1125ffc 111856 zfs-linux_2.4.3-3.debian.tar.xz 22122e83748c3c523dfd709dc1c9f31e6b5ae0dc 12900 zfs-linux_2.4.3-3_source.buildinfo Checksums-Sha256: 55639082d4143855471f4252dd307b42efda50cd76b2d2407050145976878b8e 3843 zfs-linux_2.4.3-3.dsc 3b75098fc903fe96ad68d7c6279896cb4314b14eb9391d9082f339f141140a17 111856 zfs-linux_2.4.3-3.debian.tar.xz 84225de662c067ac24a4766862cdf9e2a3ae8021b97f763a663423a9e114afc8 12900 zfs-linux_2.4.3-3_source.buildinfo Files: bd0f0259ae0974d6d7d2c86f40f494fa 3843 contrib/kernel optional zfs-linux_2.4.3-3.dsc 3aca2eceded41072c5d75b7876aff9e7 111856 contrib/kernel optional zfs-linux_2.4.3-3.debian.tar.xz aab43a41610c9e3dd937ca78eb2afa52 12900 contrib/kernel optional zfs-linux_2.4.3-3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE+Fg++qmpHzqjSzySzhGnsHs6uUYFAmp6fxwACgkQzhGnsHs6 uUYtLBAAkPGyeEd9hWVGLXojEw9PlHFnlnBBHqlOChBJZf87VXfmKffCQMK45tKj eCERmNrBaU1a3Mmf+YFzwg8JhcAcrP/TgpjJBKeENAnaBtxAhbK2THDFTZfCMDwE JBAwTI/KB7f32Z4XMU+2z/5DCorzMzzEYIyUfClxShgE255k8wTomAjlhZn1bwCO N2RsWpRxMXK6xEGXnqV6kSL1QjR6FpHh2QWwhSNDR4OZkjTAQ0s7H5cT/Uyg5+Zc iwGey50bo3i0i5tcGlnjV5/Q11BM3OXKqx+r4y308gIRoj0k4UE/DNFa9mjz829N YrT3M4M7AHNpxEw2ranHo56I6ZaPoSa/mmKGEHxypIHuL+IyoCxSPB58kMB2eUTH kYtvOecu0eZ7+NUQyZJFqFx0rPb/vkGaS3hKFhTGmL6GIy9K3tP5Y9w2Q2HIhqdF l5U+pMPsXkIZlh91Xkvwmt0IcqLwKbVKHjsJdj61RgAbEBf6XuILJWnXEywh31WJ Xajc8WtLkYU1L37SXpqaACYU+b4B1HlNWTSucIe7pj1tLd08sFz1etWWQTbzgzGy TQamdEChVEzWm9wIbROvB8Xt7YimjPq0KIz2LD6iO8b0akCo2R5uxWdRMflPjSsA 0NvVtRitBbCkN4P4C5/OTKzPn/OFQGdZgU9dYtah4LEIs6gAEb4= =cTN1 -----END PGP SIGNATURE-----