From ace23737ab3478d9fdc5b5ea657541639dbbe0cf Mon Sep 17 00:00:00 2001 From: Pingfan Liu Date: Thu, 13 Jun 2019 11:45:36 +0800 Subject: [PATCH] dracut-kdump-capture.service: Use OnFailureJobMode instead of deprecated OnFailureIsolate systemd has the following message "OnFailureIsolate is deprecated. Please use OnFailureJobMode= instead" Changing the file to meet systemd's requirement Signed-off-by: Pingfan Liu Acked-by: Kairui Song --- dracut-kdump-capture.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut-kdump-capture.service b/dracut-kdump-capture.service index 57139c9..3f20aba 100644 --- a/dracut-kdump-capture.service +++ b/dracut-kdump-capture.service @@ -12,7 +12,7 @@ After=dracut-initqueue.service dracut-pre-mount.service dracut-mount.service dra Before=initrd-cleanup.service ConditionPathExists=/etc/initrd-release OnFailure=emergency.target -OnFailureIsolate=yes +OnFailureJobMode=isolate [Service] Environment=DRACUT_SYSTEMD=1