]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
test: include systemd-journald in client test rootfs
authorBenjamin Drung <benjamin.drung@canonical.com>
Tue, 27 Jan 2026 12:04:27 +0000 (13:04 +0100)
committerLaszlo <laszlo.gombos@gmail.com>
Tue, 27 Jan 2026 12:41:46 +0000 (07:41 -0500)
commit4aaf8f24110f422cc0b84cb14971169daa90e455
tree3dab70083f3f1425000e012ddc34f2daa5939e3c
parentff95609ea85ee5fe28bda4adb0f80ef1cfe8182c
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
test/modules.d/70test-root/module-setup.sh