d3b44f80bd
submit patch to fix corosync start failed issue OBS-URL: https://build.opensuse.org/request/show/184593 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=32
21 lines
559 B
Diff
21 lines
559 B
Diff
Index: corosync-2.3.1/init/corosync.in
|
|
===================================================================
|
|
--- corosync-2.3.1.orig/init/corosync.in
|
|
+++ corosync-2.3.1/init/corosync.in
|
|
@@ -29,6 +29,7 @@ PATH="/sbin:/bin:/usr/sbin:/usr/bin:@SBI
|
|
success()
|
|
{
|
|
echo -ne "[ OK ]\r"
|
|
+ rtrn=0
|
|
}
|
|
|
|
failure()
|
|
@@ -106,6 +107,7 @@ start()
|
|
# they also assume that init scripts will create
|
|
# required subdirectories for proper operations
|
|
mkdir -p @LOCALSTATEDIR@/run
|
|
+ mkdir -p @LOCALSTATEDIR@/lock/subsys
|
|
|
|
if status $prog > /dev/null 2>&1; then
|
|
success
|