summaryrefslogtreecommitdiff
path: root/network.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-01-02 11:45:30 +0000
committerCoprDistGit <infra@openeuler.org>2025-01-02 11:45:30 +0000
commit0c7cee0ded8e93647df65a46426e86d26e6be703 (patch)
tree6a521fe908c77a0b86341328e3cf424d98e686ac /network.patch
parenta2858c41aefd6ade0911bb326602534f73ea2b28 (diff)
automatic import of galeraopeneuler24.09
Diffstat (limited to 'network.patch')
-rw-r--r--network.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/network.patch b/network.patch
new file mode 100644
index 0000000..8d9f483
--- /dev/null
+++ b/network.patch
@@ -0,0 +1,19 @@
+Make sure the network is actually up at the moment of the service startup:
+https://systemd.io/NETWORK_ONLINE/
+
+Offered upstream:
+https://github.com/codership/galera/pull/667
+https://groups.google.com/g/codership-team/c/Cn4UO3MkNQs
+
+--- galera-26.4.18/garb/files/garb.service 2024-04-17 19:39:35.000000000 +0200
++++ galera-26.4.18/garb/files/garb.service_patched 2024-06-09 07:47:19.245480639 +0200
+@@ -4,7 +4,8 @@
+ Description=Galera Arbitrator Daemon
+ Documentation=man:garbd(8)
+ Documentation=https://galeracluster.com/library/documentation/arbitrator.html
+-After=network.target
++After=network-online.target
++Wants=network-online.target
+
+ [Install]
+ WantedBy=multi-user.target