rpcbind/0001-change-lockingdir-to-run.patch
Dirk Mueller 3a69582139 Accepting request 893559 from home:pevik:branches:network
- Update to rpcbind 1.2.6
- Remove 0031-rpcbind-manpage.patch (accepted upstream in commit 4bedcee)
- Drop pmap_set.c (installed as pmap_set2): bnc#446388 is from 2008, for
  openSUSE 11.
- Refresh 0001-change-lockingdir-to-run.patch
- Replace %setup with %autosetup

OBS-URL: https://build.opensuse.org/request/show/893559
OBS-URL: https://build.opensuse.org/package/show/network/rpcbind?expand=0&rev=94
2021-05-28 10:02:01 +00:00

26 lines
640 B
Diff

From 4d32e143124fa47466bbc91f54067674f212c3e3 Mon Sep 17 00:00:00 2001
From: Thomas Blume <thomas.blume@suse.com>
Date: Wed, 12 Jun 2019 10:09:01 +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 cc848b1..65054ff 100644
--- a/src/rpcbind.c
+++ b/src/rpcbind.c
@@ -105,7 +105,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