forked from pool/rpcbind
https://sourceforge.net/projects/rpcbind/files/rpcbind/1.2.7/1.2.7-ChangeLog/download * rpcinfo: try connecting using abstract address * Listen on an AF_UNIX abstract address if supported * autotools/systemd: call rpcbind with -w only on enabled warm starts * rpcbind: fix double free in init_transport - Refresh and rename patches (while turning them into git patches) * 0001-systemd-unit-files.patch -> 0001-systemd-rpcbind.service-Fix-ordering-add-etc-sysconf.patch * harden_rpcbind.service.patch -> 0001-systemd-rpcbind.service-Add-hardening-bsc-1181400.patch OBS-URL: https://build.opensuse.org/package/show/network/rpcbind?expand=0&rev=103
26 lines
640 B
Diff
26 lines
640 B
Diff
From a71ec1287fd779d097e9a2b02ada8144eb7de079 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 ecebe97..9887b82 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.45.2
|
|
|