File 0001-change-lockingdir-to-run.patch of Package rpcbind.12560

From bcea958dfa15ca8215662cc44d003be4904f7e68 Mon Sep 17 00:00:00 2001
From: Thomas Blume <thomas.blume@suse.com>
Date: Thu, 16 May 2019 09:32:38 +0200
Subject: [PATCH] change lockingdir to /run

---
 src/rpcbind.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rpcbind.c b/src/rpcbind.c
index c4265cd..3664b4f 100644
--- a/src/rpcbind.c
+++ b/src/rpcbind.c
@@ -106,7 +106,7 @@ char *nss_modules = "files";
 /* who to suid to if -s is given */
 #define RUN_AS  "daemon"
 
-#define RPCBINDDLOCK "/var/run/rpcbind.lock"
+#define RPCBINDDLOCK "/run/rpcbind.lock"
 
 int runasdaemon = 0;
 int insecure = 0;
-- 
2.16.4

openSUSE Build Service is sponsored by