dracut-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:
- 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:
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:
- TEST-NFS: use --add instead of --modules to create test-makeroot (0a94eab6)
- convertfs:
- 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:
- 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:
- net-lib: require and install only the necessary binaries (29609268)
- network: deprioritize connman for network selection (dec4978f)
- network-legacy: quote bridgename variable (bc166ece)
- nfs:
- 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:
- systemd-networkd:
- systemd-pcrphase:
- test:
- 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:
Contributors
- Laszlo Gombos laszlo.gombos@gmail.com
- Benjamin Drung benjamin.drung@canonical.com
- BtbN timo@rothenpieler.org
- Antonio Alvarez Feijoo antonio.feijoo@suse.com
- Brian C. Lane bcl@redhat.com
- Alper Nebi Yasak alpernebiyasak@gmail.com
- Cornelius Hoffmann coding@hoffmn.de
- Hector Martin marcan@marcan.st
- Jose Ignacio Tornos Martinez jtornosm@redhat.com
- Andrew Ammerlaan andrewammerlaan@gentoo.org
- Cameron Baird cameronbaird@microsoft.com
- Daniel McIlvaney damcilva@microsoft.com
- David Tardon dtardon@redhat.com
- Huaxin Lu luhuaxin1@huawei.com
- Ian Wienand iwienand@redhat.com
- Lidong Zhong lidong.zhong@suse.com
- Louis Sautier sautier.louis@gmail.com
- Paul Charlton techguru@byiq.com
- Pavel Valena pvalena@redhat.com
- Timo Rothenpieler timo@rothenpieler.org