From: Michael Biebl Date: Wed, 12 Jan 2022 11:29:34 +0000 (+0100) Subject: test: enable systemd-oomd.service X-Git-Tag: v251-rc1~544^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F22090%2Fhead;p=thirdparty%2Fsystemd.git test: enable systemd-oomd.service Enable the service to ensure dbus-org.freedesktop.oom1.service exists and D-Bus activation works. See #18469 --- diff --git a/test/units/testsuite-55.sh b/test/units/testsuite-55.sh index f0837d22a3e..009933e6654 100755 --- a/test/units/testsuite-55.sh +++ b/test/units/testsuite-55.sh @@ -35,6 +35,10 @@ echo -e "[Service]\nEnvironment=SYSTEMD_LOG_LEVEL=debug" >/etc/systemd/system/sy systemctl daemon-reload +# enable the service to ensure dbus-org.freedesktop.oom1.service exists +# and D-Bus activation works +systemctl enable systemd-oomd.service + # if oomd is already running for some reasons, then restart it to make sure the above settings to be applied if systemctl is-active systemd-oomd.service; then systemctl restart systemd-oomd.service