Skip to content

dracut-103

Choose a tag to compare

@LaszloGombos LaszloGombos released this 14 Jul 01:45
· 1638 commits to main since this release
103

New dracut modules introduced by this release:

  • hwdb: separate out hwdb module

Notable new features:

  • erofs support for dmsquash-live module
  • install platform/chrome modules on ARM/RISC-V
  • force the inclusion of crypttab entries with x-initrd.attach
  • configuration files for common packaging options (50-hostonly.conf.example)

Commits that resolve notable regressions:

  • perf(dracut-install): memoize find_kmod_module_from_sysfs_node
  • perf(dracut-install): use driver/module sysfs dirs for module name
  • fix(crypt): decryption when rd.luks.name is set
  • fix(systemd-pcrphase): make tpm2-tss an optional dependency

The project builds test containers daily for the following Linux distributions:

  • Alpine, Arch, Debian (amd64 and arm64), Fedora (amd64 and arm64), Gentoo, openSUSE, Ubuntu, Void
  • These Linux distributions test dracut in various configurations (systemd/OpenRC/runit, glibc/musl, dhclient/NetworkManager/systemd-networkd).

Features

  • add common config for Integrity Measurement (5d9fe8c5)
  • add additional common configs (69e119da)
  • crypt: force the inclusion of crypttab entries with x-initrd.attach (61ab3386)
  • debug: add findmnt to help debugging (41d61114)
  • dmdquash-live: add support for using erofs (ca5ae5d3)
  • dracut: search for zstd compressor first (9663307c)
  • dracut-install:
    • configure if weak dep is still not supported in kmod (77c3efa6)
    • add weak dependencies support (8517a6be)
    • add hashmap_get_exists() (2b13d74d)
  • hwdb: separate out hwdb module (3c5d5e39)
  • kernel-modules: install platform/chrome modules on ARM/RISC-V (e69e4132)
  • lsinitrd.sh: support configurable initrd filenames (7c11c8cf)
  • multipath: warn if included with no multipath devices and no user conf (ae1b1003)
  • qemu: include the virtio_crypto kernel module (0fe20f85)
  • test:
    • add erofs-utils to the containers (e11bc8bf)
    • support V=2 without logtee (3f005c8a)

Bug Fixes

  • check for searched initrds to be present (9c396ce2)
  • rename dracut.conf.d .conf files to conf.example (ddc9e4e9)
  • disable SC2317 for calls by for_each_host_dev_and_slaves (23c9d85a)
  • quote single CTTY parameter (61d93421)
  • address shellcheck SC2166 (d3802b10)
  • move shellcheck SC3045 override to occurrences (e1728ee9)
  • 01fips: replace read -d that is not supported by dash (15b94c44)
  • 90kernel-modules: install blk modules using symbol blk_alloc_disk (194ef8eb)
  • Dockerfile-Gentoo: add requirements for systemd-pcrphase (f7e19b3a)
  • TEST-35-ISCSI-MULTI: increrase storage space (9f183a98)
  • TEST-40-NBD:
    • disable broken tests (eb32b30b)
    • return actual test run result from test_run() (cfe3ce3c)
    • enable serial console for test runs (1993786f)
    • don't double-pass test dir to marker check (5928c938)
  • TEST-NFS: use --add instead of --modules to create test-makeroot (0a94eab6)
  • convertfs:
    • drop unused find_mount function (04628fc4)
    • disable SC2317 for EXIT trap function (6668694d)
    • quote single CP_HARDLINK variable (00ba4dae)
  • crypt: decryption when rd.luks.name is set (015a0fa6)
  • dbus: drop unreachable return statement (c3764b92)
  • dbus-daemon: actually enable the dbus service and socket (71f2ff50)
  • dmsquash-live:
  • dmsquash-live-autooverlay: quote variables (24ab9e66)
  • dracut:
    • microcode loading named .initramfs (cd3f04ab)
    • address shellcheck SC2004 (79e372de)
    • quote strip_cmd variable (538689bc)
  • dracut-catimages.sh: drop unused dwarning function (34bf2fe4)
  • dracut-functions: avoid awk in get_maj_min() (ec7efd57)
  • dracut-init: change lookup order for rules files (46932e33)
  • dracut-init.sh:
  • dracut-initramfs-restore.sh: correct initrd globbing (cc5e8d6f)
  • dracut-install: copy xattr when use clone ioctl (3e1d0bc1)
  • dracut-lib:
  • dracut.sh: drop unused read_arg function (a9ea0175)
  • fips: remove reference to kernel module zlib in fips module (22f451d5)
  • iscsi: address shellcheck SC2319 (54676c83)
  • lsinitrd.sh: disable SC2317 for cat functions (f62049b2)
  • lunmask: quote LUN variable (d20be112)
  • lvmthinpool-monitor: adress shellcheck SC2319 (199f4108)
  • man: clarify semantics for --kernel-cmdline (aba502f3)
  • mdraid: try to assemble the missing raid device (3fd43858)
  • multipath:
    • omit module if included with no multipath devices (377d52cb)
    • omit module if included with no multipath devices (4957ffa9)
  • net-lib: require and install only the necessary binaries (29609268)
  • network: deprioritize connman for network selection (dec4978f)
  • network-legacy: quote bridgename variable (bc166ece)
  • nfs:
    • support rpcbind user named _rpc (4a236f01)
    • quote rpcpipefspath variable (58a46715)
  • release: version lock clog (58d4d7d6)
  • rt: use singular argument for timeout value (e2e6579a)
  • shell-completion: remove hashbang from bash completions (c50e742c)
  • syslog: quote conf variable (28e1b17b)
  • systemd: check for systemd-vconsole-setup.service (5a3ad259)
  • systemd-hostnamed:
    • also enable socket units (133978d9)
    • add missing systemd-hostnamed.socket (f25bb1e2)
  • systemd-networkd:
    • remove default network if others were generated (02a1ea4b)
    • add support for proper netroot invocation (0e1e7871)
    • this module depends on systemd (1aa2e4ff)
  • systemd-pcrphase:
    • make tpm2-tss an optional dependency (a2193b71)
    • in hostonly mode do not try to include systemd-pcrphase (96d153fe)
  • test:
    • run test 14 with systemd again (43fa0c4e)
    • reenable extended tests for Arch (130f4dfc)
    • tests needs more storage space (96aa5073)
    • use --add instead of --modules to create test-makeroot (51d06540)
    • use -cpu max by default (44f5359f)
  • test-root: quote _terminfodir variable (db4ea5f3)
  • udev-rules: install all rules even if systemd is not installed (df8bf213)
  • zipl:
  • znet: quote initdir variable (79dbd435)

Performance

  • dracut-install:
    • use driver/module sysfs dirs for module name (d71bec4a)
    • memoize find_kmod_module_from_sysfs_node (6500e954)
    • preload kmod resources for quicker module lookup (5a3f3773)

Contributors