- Update to version 059+suse.488.g81715832:
This is the 3rd backport of the most important fixes and features from the upstream master branch,
while the release date of version 060 is still undefined.
* fix(systemd-udevd): add missing override paths
* fix(systemd-journald): add systemd-sysusers dependency
* fix(base): correct handling of quiet in loginit
* chore(suse): require gawk instead of awk
* refactor(install): log about missing firmware only once
* fix(integrity): do not require ls
* fix(dracut-init.sh): `module_check` method ignores `forced` option
* fix(man): add missing initrd-root-device.target to flow chart
* fix(dracut-init.sh): use the local _ret variable
* fix(dracut.sh): use gawk for strtonum
* fix(man): remove duplicate entry
OBS-URL: https://build.opensuse.org/request/show/1101888
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=500
- Update to version 059+suse.476.g5e324584:
This is the 2nd backport of the most important fixes and features from the upstream master branch,
while the release date of version 060 is still undefined.
Features:
* feat(network-wicked): remove module
* feat(systemd-rfkill): remove module
* feat(livenet): add memory size check depending on live image size
* feat(nvmf): add code for parsing the NBFT
Fixes:
* fix(systemd-sysext): handle confexts and correct extensions search path
* fix(modsign): load keys to correct keyring
* fix(dmsquash-live-autooverlay): specify filesystemtype when it is already known
* fix(fs-lib): remove quoting form the first argument of the e2fsck call
* fix(Makefile): remove leftover rpm build rules
* fix(Makefile): no longer upload to kernel.org
* fix(nvmf): support /etc/nvme/config.json
* fix(nvmf): install 8021q module unconditionally
* fix(install.d): respect even more kernel-install vars, plus style fixes
* fix(install.d): respect more kernel-install env variables
* fix(dracut.sh): also prevent fsfreeze for tmpfs
* fix(dmsquash-live): allow other fstypes
* fix(bluetooth): make bluetooth rules more strict
* fix(bluetooth): add missing files
* fix(bluetooth): include it if Appearance matches the value assigned for keyboard
* fix(btrfs): do not require module via cmdline when --no-kernel
* fix(btrfs): add missing cmdline function
Other:
* refactor(dracut-init.sh): remove redundant "dracut" from "dracut module" prints
* refactor(virtiofs): remove exit after die
* build: remove rpm spec file and build rules
* docs: remove rd.lvm.snapsize and rd.lvm.snapshot
* chore(gentoo.conf): remove examples to avoid confusion
* chore: remove git2spec.pl, it is no longer used
OBS-URL: https://build.opensuse.org/request/show/1099025
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=498
- Update to version 059+suse.447.g9d1fc722:
This a is backport of the most important fixes and features from the upstream master branch,
while the release date of version 060 is still undefined.
Features:
* chore(shfmt): update to pass with shfmt v3.5.1
* feat(dracut-init.sh): do not print by default if an udev rule is skipped
* feat(lsinitrd): notify user on missing compressor
* feat(dracut): use log level indicator in console output
* feat(kernel-modules): driver support for macbook keyboards
* feat(dracut-init.sh): specify if a module cannot be found or cannot be installed
Fixes:
* fix(multipath): explicitly check if `hostonly_cmdline` is `yes`
* fix(systemd-timedated): correct typo in override path
* fix(systemd-resolved): correct typo in override path
* fix(systemd-networkd): correct typos in override paths
* fix(dracut-init.sh): correct check in `is_qemu_virtualized` function
* fix(Makefile): execute command -v instead of which
* fix(network-legacy): typo
* fix(network,dbus): improve dependency checking
* fix(systemd-pcrphase): only include systemd-pcrphase-initrd.service
* fix(systemd-tmpfiles): do not include systemd-tmpfiles-clean.timer
* fix(systemd-journald): do not include systemd-journal-flush.service
* fix(systemd): do not include systemd-random-seed.service
* fix(kernel-modules): add interconnect drivers
* fix(dracut-lib.sh): remove successful finished initqueue scripts
* fix(udev-rules): remove firmware.rules
* fix(dracut.sh): silence the output of hardlinking files by default
* fix(virtiofs): add virtio_pci kernel module to virtiofs
* fix(dracut-systemd): rootfs-generator cannot write outside of generator dir
* fix(dracut-systemd): check and create generator dir outside of inner function
* fix(dracut-systemd): do not hardcode the systemd generator directory
* fix(dracut-functions): avoid calling grep with PCRE (-P)
* fix(dracut-initramfs-restore.sh): handle /etc/machine-id empty or uninitialized
* fix(lsinitrd.sh): handle /etc/machine-id empty or uninitialized
* fix(dracut.sh): handle /etc/machine-id empty or uninitialized
* fix(systemd-networkd): add missing conf files and services
* fix(dracut-functions.sh): convert mmcblk to the real kernel module name
* fix(multipath): remove dependency on multipathd.socket
* fix(99base): adjust to allow mksh as initrd shell
* fix(base): do not quote $CLINE in the `set` command
* fix(systemd-ac-power): correct systemd-ac-power binary path
* fix(dracut.sh): use dynamically uefi's sections offset
* fix(lvmthinpool-monitor): activate lvm thin pool before extend its size
* fix(dmsquash-live): restore compatibility with earlier releases
* fix(dracut.sh): kmoddir does not handle trailing /
* fix(udev-rules): remove old eudev specific rule
* fix(udev-rules): remove old redhat specific rule
* fix(udev-rules): remove old edd_id extra rules
* fix(udev-rules): remove old debian specific rules
* fix(kernel-modules): add UFS drivers
* fix(kernel-modules): use modalias info in get_dev_module()
* fix(crypt): add missing libraries
* revert(network-manager): avoid restarting NetworkManager
* fix(dracut.sh): handle sbsign errors for UEFI builds
* fix(dracut.sh): handle out of space error for UEFI builds
* fix(network): IPv6: don't wait for RA for static IPv6 assignments
* fix(network-legacy): always include af_packet
* fix(network): don't assume prefix length 64 by default
* fix(iscsi): prefix syntax for static iBFT IPv6 addresses
* fix(iscsi): install 8021q module unconditionally
* fix(plymouth): remove /etc/system-release dependency
* fix(network-manager): add "After" dependency on dbus.service
* fix(fido2): libfido2.so depends on libz.so
* fix(dracut-install): continue parsing if ldd prints "cannot execute binary file"
* fix: make iso-scan trigger udev events
* fix(install): do not undef _FILE_OFFSET_BITS
* fix(dracut.sh): --sysroot option broken if global variables not set in conf
* fix(lsinitrd.sh): handle filenames with special characters
* fix(dracut-systemd): remove unused argument
* fix(dracut-init.sh): correct typo in comment
* fix(dracut.sh): correct --help and --version exit codes
* fix(crypt-gpg): do not use always --card-status
* fix(dmsquash-live): live:/dev/*
* fix(load_fstype): avoid false positive searchs
* fix: shellcheck 0.8.0
OBS-URL: https://build.opensuse.org/request/show/1093898
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=496
- Update to version 059+suse.375.gafb362e4:
* fix(network-legacy): handle do_dhcp calls without arguments (bsc#1210640)
fips=1 and separate /boot break s390x (bsc#1204478):
* fix(fips): move fips-boot script to pre-pivot
* fix(fips): only unmount /boot if it was mounted by the fips module
* feat(fips): add progress messages
* fix(fips): do not blindly remove /boot
OBS-URL: https://build.opensuse.org/request/show/1082465
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=494
- Update to version 057+suse.337.g4162a70e:
* fix(network-legacy): misleading duplicate address detection using wicked (bsc#1201235)
A series of fixes for NVMeoF boot (bsc#1203368):
* fix(man): dracut.cmdline.7: clarify "rd.nvmf.discover=fc,auto"
* fix(network): avoid double brackets around IPv6 address
* feat(nvmf): set rd.neednet=1 if tcp records encountered
* fix(man): dracut.cmdline(7): correct syntax for rd.nonvmf
* fix(network): don't use same ifname multiple times
* fix(nvmf): run cmdline hook before parse-ip-opts.sh
* fix(nvmf): avoid calling "exit" in a cmdline hook
* fix(nvmf): make sure "rd.nvmf.discover=fc,auto" takes precedence
* fix(nvmf): don't use "finished" queue for autoconnect
* fix(nvmf): don't create did-setup file
* fix(nvmf): no need to load the nvme module
* fix(nvmf): don't try to validate network connections in cmdline hook
* fix(nvmf): nvme list-subsys prints the address using commas as separator
* fix(systemd): add missing modprobe@.service (bsc#1203749)
* fix(i18n): do not fail if FONT in /etc/vconsole.conf has the file extension (bsc#1203267)
OBS-URL: https://build.opensuse.org/request/show/1010479
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=476
- Update to version 057+suse.315.gd210fc38:
* chore(suse): update spec
Fix "directories not owned by a package" caused by bash-completion directories not owned by dracut.
Do not install modules incompatible with the system architecture.
* chore(suse): change default persistent policy
* ci(suse.conf.example): update SUSE-specific config
* chore(suse): fix 99-debug.conf
OBS-URL: https://build.opensuse.org/request/show/1003523
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=474
- Update to version 055+suse.226.g44139dde:
* fix(zfcp_rules): remove collect based udev rule creators
* fix(dasd_rules): remove collect based udev rule creators
* fix(kernel-modules-extra): handle zstd module extension
* fix(ifcfg): add SUSE specific write-ifcfg file (bsc#1193518)
* fix(dracut-functions): skip iSCSI sessions without initiatorname (bsc#1195011)
* fix(dracut-functions.sh): ip route parsing (bsc#1195011)
* fix(fips): missing sourcing of dracut-lib
* fix(fips): wrong error message
* fix(network-legacy): install only existing SUSE specific files (bsc#1194879)
* fix(network-legacy): set dhclient as optional (bsc#1194879)
* fix(40network): consistent use of "$gw" for gateway (bsc#1192685)
* fix(multipathd-configure.service): drop unneeded dependencies
* fix(multipath): check if mpathconf is available
* fix(multipathd.service): drop dependencies on iscsi and iscsid
* fix(multipathd.service): adapt to upstream multipath-tools unit file
* fix(multipathd.service): remove dependency on systemd-udev-settle
* fix(fips): avoid shellcheck warnings
* fix(fips): get _vmname value only if it is needed
* fix(fips.sh): respect rd.fips.skipkernel
* fix(fips): alignment with the upstream format
OBS-URL: https://build.opensuse.org/request/show/949590
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=452
- Update to version 055+suse.194.gdd41932a:
* fix(network-legacy): add wicked as an alternative to arping (bsc#1193670)
* fix(network): add wicked as an alternative to arping (bsc#1193670)
- Update to version 055+suse.191.g67eb4ea8:
* fix(dracut-initramfs-restore.sh): add test for SUSE initrd name (bsc#1194570)
* fix(dracut.spec): require util-linux-systemd (bsc#1194162)
* fix(network-wicked): multiple path corrections
* fix(drm): add privacy screen modules to the initrd (bsc#1193590)
* fix(dracut.spec): update usrmerged mkinitrd dir
* fix(url-lib): improve ca-bundle detection (bsc#1175892)
OBS-URL: https://build.opensuse.org/request/show/946940
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=451
- Update to version 055+suse.158.g51e87247:
* chore(suse): add fido2 module (jsc#SLE-21070)
* feat(crypt): check if fido2 module is needed in hostonly mode (jsc#SLE-21070)
* feat(fido2): introducing the fido2 module (jsc#SLE-21070)
* feat(crypt): check if tpm2-tss module is needed in hostonly mode (jsc#SLE-21070)
* fix(dracut-functions.sh): get block device driver if in a virtual subsystem (bsc#1189776)
* fix(mdraid): allow UUID comparison for more than one UUID (bsc#1192665)
* fix(dracut.spec): update dependency for suse-module-tools
* fix(network-legacy): route parsing issues in ifup (bsc#1182688)
* fix(systemd-udevd): make collect optional (bsc#1177870)
OBS-URL: https://build.opensuse.org/request/show/935123
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=449
- Update to version 055+suse.106.g760b0c69:
* chore(suse): add Conflicts for old suse-module-tools to specfile (bsc#1187115)
- Update to version 055+suse.104.g9d45c1df:
* feat(suse-initrd): add INITRD_MODULES from /etc/sysconfig/kernel, too
* fix(suse-initrd): call dracut_instmods with hostonly=
* fix(suse-initrd): use $kernel rather than $(uname -r)
- Update to version 055+suse.100.ga2700279:
* fix(suse-initrd): remove references to INITRD_MODULES (bsc#1187115)
* chore(suse): erase conditional for usrmerge from specfile
* chore(suse): fix specfile for usrmerge
OBS-URL: https://build.opensuse.org/request/show/900623
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=437
* docs: update NEWS.md and AUTHORS
* fix(fs-lib): install fsck utilities
* fix(integrity): require ALLOW_METADATA_WRITES to come from EVM config file
* fix(install): configure logging earlier
* fix(warpclock): minor cleanups
* fix(dash): minor cleanups
* fix(mksh): minor cleanups
* feat(install): add default value for --firmwaredirs
* fix(dracut-functions): get_maj_min without get_maj_min_cache_file set
* fix(dracut): pipe hardlink output to `dinfo`
* fix(install): sane default --kerneldir
* fix(bash): minor cleanups
* fix(squash): don't mount the mount points if already mounted
* ci: add shfmt to Fedora containers
* fix(base): add missing `str_replace` to `dracut-dev-lib.sh`
* feat(dracut.sh): detect running in a container
* fix(base): split out `dracut-dev-lib.sh`
* fix(dracut-util): print error message with trailing newline
* fix(packit): downstream has renamed the master branch to main
- Update to version 054+suse.96.gb5aa64d2:
* fix(suse-initrd) fix list of modprobe.d directories
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=436
* chore(suse) update spec
- Update to version 054+suse.94.g1648453e:
* chore(suse): re-add SUSE mkinitrd
- Update to version 054+suse.93.gd393f006:
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
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=434
Highlights: https://github.com/dracutdevs/dracut/releases/tag/053
dracut.sh:
unfreeze /boot on exit (d87ae137)
proper return code for inst_multiple in dracut-init.sh (d437970c)
fcoe:
rename rd.nofcoe to rd.fcoe (6f7823bc)
rd.nofcoe=0 should disable fcoe (805b46c2)
i18n:
get rid of eval calls (5387ed24), backported for 052 downstream
create the keyboard symlinks again (9e1c7f3d), backported for 052 downstream
network-manager:
run as a service if systemd module is present (c17c5b76)
rework how NM is started in debug mode (34c73b33)
drm: skip empty modalias files in drm module setup (c3f24184)
Highlights: https://github.com/dracutdevs/dracut/releases/tag/052
- Link release announcement for 052, fix typo
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=427
* chore: update suse/dracut.spec
- Update to version 052+suse.88.gc78b4ac8:
* fix(i18n): get rid of `eval` calls
* fix(i18n): create the keyboard symlinks again
* docs: update NEWS.md and AUTHORS
* chore: add `CONTRIBUTORS` target to Makefile
* docs: update docs/RELEASE.md
* docs: move NEWS to NEWS.md
* ci: force binary files for grep on disk images
* docs: RELEASE.md
* fix: shellcheck for dracut-init.sh
* fix: shellcheck for dracut-init.sh
* fix: shellcheck for dracut-init.sh
* fix: shellcheck for dracut-init.sh
* fix: shellcheck for dracut-init.sh
* fix: shellcheck for dracut.sh
* fix: shellcheck for dracut.sh
* fix: shellcheck for dracut.sh
* fix: shellcheck for dracut.sh
* fix: shellcheck for dracut.sh
* fix: shellcheck for dracut.sh
* fix: shellcheck for dracut.sh
* fix: shellcheck for dracut-functions.sh
* fix: shellcheck for dracut-logger.sh
* fix: shellcheck for modules.d/99squash/module-setup.sh
* fix: shellcheck for modules.d/99squash/clear-squash.sh
* fix: shellcheck for modules.d/99fs-lib/module-setup.sh
* fix: shellcheck for modules.d/99base/module-setup.sh
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=424