From d9de879f0c8c87f2903638af0b74bf36972cfc58 Mon Sep 17 00:00:00 2001 From: Onurhan Ak Date: Thu, 5 Feb 2026 05:39:14 -0500 Subject: [PATCH 1/2] dracut/30ignition/module-setup.sh: include groupmod binary in initramfs --- docs/release-notes.md | 2 ++ dracut/30ignition/module-setup.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/docs/release-notes.md b/docs/release-notes.md index 6d71e6f4f..fdbf3dac4 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -14,6 +14,8 @@ nav_order: 9 ### Bug fixes +- Include `groupmod` binary in initramfs ([#2190](https://github.com/coreos/ignition/pull/2190)) + ## Ignition 2.25.1 (2025-12-22) ### Bug fixes diff --git a/dracut/30ignition/module-setup.sh b/dracut/30ignition/module-setup.sh index f35af5d59..0e18dbbc2 100755 --- a/dracut/30ignition/module-setup.sh +++ b/dracut/30ignition/module-setup.sh @@ -33,6 +33,7 @@ install() { # present inst_multiple -o \ groupadd \ + groupmod \ groupdel \ mkfs.btrfs \ mkfs.ext4 \ From 0019f5eb81fbd7207e8bdffda189ba46680db56f Mon Sep 17 00:00:00 2001 From: Onurhan Ak Date: Thu, 5 Feb 2026 05:41:02 -0500 Subject: [PATCH 2/2] dracut/30ignition/module-setup.sh: fix indentation --- dracut/30ignition/module-setup.sh | 34 ++++++++++++++++--------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/dracut/30ignition/module-setup.sh b/dracut/30ignition/module-setup.sh index 0e18dbbc2..86f247212 100755 --- a/dracut/30ignition/module-setup.sh +++ b/dracut/30ignition/module-setup.sh @@ -14,9 +14,12 @@ depends() { } install_ignition_unit() { - local unit="$1"; shift - local target="${1:-ignition-complete.target}"; shift - local instantiated="${1:-$unit}"; shift + local unit="$1" + shift + local target="${1:-ignition-complete.target}" + shift + local instantiated="${1:-$unit}" + shift inst_simple "$moddir/$unit" "$systemdsystemunitdir/$unit" # note we `|| exit 1` here so we error out if e.g. the units are missing # see https://github.com/coreos/fedora-coreos-config/issues/799 @@ -111,23 +114,22 @@ install() { } installkernel() { - # required by hyperv platform to read kvp from the kernel - instmods hv_utils + # required by hyperv platform to read kvp from the kernel + instmods hv_utils - # required by applehv platform to read ignition file through vsock - instmods -c vsock - instmods -c vmw_vsock_virtio_transport_common - instmods -c vmw_vsock_virtio_transport + # required by applehv platform to read ignition file through vsock + instmods -c vsock + instmods -c vmw_vsock_virtio_transport_common + instmods -c vmw_vsock_virtio_transport - # required for cex card early initialization - if [[ ${DRACUT_ARCH:-$(uname -m)} == s390x ]]; then + # required for cex card early initialization + if [[ ${DRACUT_ARCH:-$(uname -m)} == s390x ]]; then instmods -c zcrypt_cex4 instmods -c pkey_cca - fi + fi - # required by nvidiabluefield platform to read ignition file through bootfifo sysfs interface - if [[ ${DRACUT_ARCH:-$(uname -m)} == aarch64 ]]; then + # required by nvidiabluefield platform to read ignition file through bootfifo sysfs interface + if [[ ${DRACUT_ARCH:-$(uname -m)} == aarch64 ]]; then instmods -c mlxbf_bootctl - fi + fi } -