90cf2cebb2
Resolves: RHEL-44417,RHEL-71409
30 lines
901 B
Diff
30 lines
901 B
Diff
From f1c96726a753198321ce124c413476d6eb1b2d43 Mon Sep 17 00:00:00 2001
|
|
From: David Tardon <dtardon@redhat.com>
|
|
Date: Thu, 11 Mar 2021 15:48:23 +0100
|
|
Subject: [PATCH] rc-local: order after network-online.target
|
|
|
|
I think this was the intent of commit 91b684c7300879a8d2006038f7d9185d92c3c3bf,
|
|
just network-online.target didn't exist back then.
|
|
|
|
RHEL-only: bugfix
|
|
|
|
Related: RHEL-40924
|
|
---
|
|
units/rc-local.service.in | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/units/rc-local.service.in b/units/rc-local.service.in
|
|
index 6fb0838cdb..40ffc15c99 100644
|
|
--- a/units/rc-local.service.in
|
|
+++ b/units/rc-local.service.in
|
|
@@ -13,7 +13,8 @@
|
|
Description={{RC_LOCAL_PATH}} Compatibility
|
|
Documentation=man:systemd-rc-local-generator(8)
|
|
ConditionFileIsExecutable={{RC_LOCAL_PATH}}
|
|
-After=network.target
|
|
+After=network-online.target
|
|
+Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=forking
|