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 piliu@redhat.com --- 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
On Thu, Jun 13, 2019 at 11:45 AM Pingfan Liu piliu@redhat.com wrote:
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 piliu@redhat.com
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 -- 2.7.5
Thanks for the patch.
Acked-by: Kairui Song kasong@redhat.com