From: Benjamin Drung Date: Tue, 27 Jan 2026 12:04:27 +0000 (+0100) Subject: test: include systemd-journald in client test rootfs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aaf8f24110f422cc0b84cb14971169daa90e455;p=thirdparty%2Fdracut-ng.git test: include systemd-journald in client test rootfs After commit d36012143c7c ("test: use systemd inside client test rootfs if available") some tests became racy (for example test 20 on debian:latest or fedora:latest). There is `made it to the test rootfs!` in the logs but not the `All OK`. Following warning can be found in the logs: ``` systemd[1]: systemd-journald.socket: Unit configuration changed while unit was running, and no socket file descriptors are open. Unit not functional until restarted. systemd[1]: systemd-udevd-kernel.socket: Unit configuration changed while unit was running, and no socket file descriptors are open. Unit not functional until restarted. systemd[1]: systemd-journald-dev-log.socket: Unit configuration changed while unit was running, and no socket file descriptors are open. Unit not functional until restarted. ``` Include `systemd-journald` in client test root file system when systemd is used to ensure that systemd-journald continues working. Hopefully fixes: https://github.com/dracut-ng/dracut-ng/issues/2137 --- diff --git a/test/modules.d/70test-root/module-setup.sh b/test/modules.d/70test-root/module-setup.sh index 6d894ce80..bcd9a0e0f 100755 --- a/test/modules.d/70test-root/module-setup.sh +++ b/test/modules.d/70test-root/module-setup.sh @@ -15,7 +15,7 @@ depends() { # Use systemd if available if [[ -e "$systemdutildir"/systemd ]]; then - deps+=" systemd" + deps+=" systemd systemd-journald" fi echo "$deps"