4295f9
From 10c26ebc7cd9bff3d73ff9a89ddec44bde88e4cd Mon Sep 17 00:00:00 2001
4295f9
From: David Tardon <dtardon@redhat.com>
4295f9
Date: Thu, 11 Mar 2021 15:48:23 +0100
4295f9
Subject: [PATCH] rc-local: order after network-online.target
4295f9
4295f9
I think this was the intent of commit 91b684c7300879a8d2006038f7d9185d92c3c3bf,
4295f9
just network-online.target didn't exist back then.
4295f9
4295f9
RHEL-only
4295f9
4295f9
Resolves: #1954429
4295f9
---
4295f9
 units/rc-local.service.in | 3 ++-
4295f9
 1 file changed, 2 insertions(+), 1 deletion(-)
4295f9
4295f9
diff --git a/units/rc-local.service.in b/units/rc-local.service.in
4295f9
index 55e83dfe00..0eee722154 100644
4295f9
--- a/units/rc-local.service.in
4295f9
+++ b/units/rc-local.service.in
4295f9
@@ -13,7 +13,8 @@
4295f9
 Description={{RC_LOCAL_PATH}} Compatibility
4295f9
 Documentation=man:systemd-rc-local-generator(8)
4295f9
 ConditionFileIsExecutable={{RC_LOCAL_PATH}}
4295f9
-After=network.target
4295f9
+After=network-online.target
4295f9
+Wants=network-online.target
4295f9
 
4295f9
 [Service]
4295f9
 Type=forking