With this release dracut has undergone a major overhaul.
A lot of systemd related modules have been added.
The integration test suite has finally ironed out the flaky behaviour due to the parallel device probing of the kernel,
which bit sometimes in the non-kvm github CI. So, if you see any /dev/sda
in a setup script with more than two hard drives,
chances are, that the script works on the wrong disk. Same goes for network interfaces.
This release is also fully shellcheck
'ed with ShellCheck-0.7.2
and indented with shfmt
and astyle
.
The dracut project builds test containers every day for:
opensuse/tumbleweed-dnf:latest
archlinux:latest
fedora:rawhide
fedora:latest
fedora:33
These containers can easily be used to run the integration tests locally without root permissions via podman
.
We hope this serves as a blueprint for your distribution's CI process.
More information can be found in docs/HACKING.md.
Bug Fixes
- make testsuite pass on OpenSuse and Arch (8b2afb08)
- cope with distributions with
/usr/etc
files (3ad3b3a4) - deprecate gummiboot (5c94cf41)
- set vimrc and emacs indention according to .editorconfig (9012f399)
- correctly handle kernel parameters (501d82f7)
- remove dracut.pc on
make clean
(d643156d) - honor KVERSION environment in the Makefile (d8a454a5)
- always use mkdir -p (9cf7b1c5)
- dracut.sh:
- prevent symbolic links containing
//
(de0c0872) - adding missing globalvars for udev (f35d479d)
- sysctl global variables (3ca9aa1d)
- add global vars for modules-load (ec4539c6)
- omission is an addition to other omissions in conf files (96c31333)
- harden dracut against GZIP environment variable (d8e47e20)
- add a missing tmpfilesconfdir global variable (8849dd8d)
- include
modules.builtin.alias
in the initramfs (7f633747) - install all depmod relevant configuration files (50a01dd4)
- add
modules.builtin.modinfo
to the initramfs (87c4c178) - search for btrfs devices from actual mount poiont (3fdc734a)
- prevent symbolic links containing
- dracut-functions.sh:
- dracut-logger.sh: double dash trigger unknown logger warnings during run (4fbccde5)
- dracut-install:
- base:
- crypt:
- crypt-gpg:
- cope with different scdaemon location (44fd1c13)
- dbus-broker:
- enable the service (df1e5f06)
- dbus-daemon:
- only error out in install() (ae4fbb3d)
- dracut-systemd:
- don't refuse root=tmpfs when systemd is used (a96900a8)
- examples: remove the examples directory and reference to it (b37c90c8)
- fips:
- i18n:
- skip if data is missing (651fe01e)
- img-lib:
- ignored null byte in input (85eb9680)
- integrity:
- properly set up EVM when using an x509 cert (4bdd7eb2)
- iscsi:
- kernel-modules:
- mdraid:
- remove dependency statements (86b75634)
- memstrack:
- correct dependencies (c2ecc4d1)
- multipath:
- nbd:
- network:
- network-legacy:
- network-manager:
- cope with distributions not using
libexec
(22d6863e) - set timeout via command line option (8a51ee1f)
- run after dracut-cmdline (4d03404f)
- create /run directories (49b61496)
- use /run/NetworkManager/initrd/neednet in initqueue (6a37c6f6)
- only run NetworkManager if rd.neednet=1 (ac0e8f7d)
- nm-run.service: don't kill forked processes (1f21fac6)
- no default deps for nm-run.service (ba4bcf5f)
- nm-lib.sh does not require bash (3402142e)
- cope with distributions not using
- squash:
- post install should be the last step before stripping (8c8aecdc)
- systemd:
- systemd-hostnamed: extra quote (2aa65234)
- systemd-modules: remove dependency on systemd meta module (afef4557)
- systemd-modules-load:
- misc repairs (782ac8f1)
- systemd-networkd:
- systemd-resolved: remove nss libraries (12bef83c)
- systemd-sysctl:
- sysctl global variables (02acedd0)
- systemd-sysusers:
- misc fixes and cleanup (7359ba8a)
- systemd-udev: use global vars instead of fixed path (fd883a58)
- systemd-udevd: add udev id program files (562cb77b)
- systemd-verity:
- tpm2-tss: add tpm2 requirement (8f99fada)
- udev-rules:
- url-lib:
- fix passing args (5f6be515)
- zipl:
- don't depend on grub2 (6b499ec1)
Performance
- disable initrd compression when squash module is enabled (7c0bc0b2)
Features
- support ZSTD-compressed kernel modules (ce9af251)
- also restore the initramfs from /lib/modules (33e27fab)
- extend Makefile indent target (e0a0fa61)
- customize .editorconfig according to shfmt (1f621aba)
- squash module follow --compress option (5d05ffbd)
- bluetooth: implement bluetooth support in initrd (64ee2a53)
- btrfs: add 64-btrfs-dm.rules rules (d4caa86a)
- mkinitrd: remove mkinitrd (43df4ee2)
- nbd: support ipv6 link local nbds (b12f8188)
- network-manager: run as daemon with D-Bus (112f03f9)
- qemu: include the virtio_mem kernel module (f3dcb606)
- skipcpio: speed up and harden skipcpio (63033495)
- squash:
- systemd-ac-power: introducing the systemd-ac-power module (e7407230)
- systemd-hostnamed: introducing the systemd-hostnamed module (bf273e3e)
- systemd-initrd: add initrd-usr-fs.target (5eb73610)
- systemd-journald: introducing the systemd-journald module (3697891b)
- systemd-ldconfig: introducing the systemd-ldconfig module (563c434e)
- systemd-network-management: introducing systemd-network-management module (e942d86c)
- systemd-resolved: introducing the systemd-resolved module (b7d3caef)
- systemd-rfkill: introducing the systemd-rfkill module (21536544)
- systemd-sysext: introducing the systemd-sysext module (fc88af54)
- systemd-timedated: introducing the systemd-timedated module (1c41cc90)
- systemd-timesyncd: introducing the systemd-timesyncd module (2257d545)
- systemd-tmpfiles: introducing the systemd-tmpfiles module (2b61be32)
- systemd-udevd: introducing the systemd-udevd module (3534789c)
- systemd-verity: introducing the systemd-verity module (3d4dea58)
- tpm2-tss: introducing the tpm2-tss module (8743b073)
Contributors
- Harald Hoyer harald@redhat.com
- Jóhann B. Guðmundsson johannbg@gmail.com
- Kairui Song kasong@redhat.com
- Dusty Mabe dusty@dustymabe.com
- Beniamino Galvani bgalvani@redhat.com
- Mikhail Novosyolov m.novosyolov@rosalinux.ru
- Renaud Métrich rmetrich@redhat.com
- Adam Alves adamoa@gmail.com
- Daniel Molkentin daniel.molkentin@suse.com
- David Hildenbrand david@redhat.com
- David Tardon dtardon@redhat.com
- Jaroslav Jindrak dzejrou@gmail.com
- Jonas Jelten jj@sft.lol
- Lennart Poettering lennart@poettering.net
- Lev Veyde lveyde@redhat.com
- Peter Robinson pbrobinson@fedoraproject.org
- Stefan Berger stefanb@linux.ibm.com
- Đoàn Trần Công Danh congdanhqx@gmail.com