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

--- corosync-2.3.6.orig/init/corosync.in	2016-05-27 23:36:30.000000000 +0800
+++ corosync-2.3.6/init/corosync.in	2016-12-15 10:29:45.495412517 +0800
@@ -108,7 +108,7 @@
 	# to avoid to clean it up on every boot.
 	# 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
openSUSE Build Service is sponsored by