File corosync-init-lockfile-path-error.patch of Package corosync

--- corosync-2.4.3.orig/init/corosync.in	2017-09-21 23:14:59.000000000 +0800
+++ corosync-2.4.3/init/corosync.in	2017-10-23 12:09:54.209149758 +0800
@@ -29,6 +29,7 @@
 success()
 {
 	echo -ne "[  OK  ]\r"
+	rtrn=0
 }
 
 failure()
@@ -109,6 +110,7 @@
 	# 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