|
|
6657fd |
diff -up rpcbind-1.2.5/configure.ac.orig rpcbind-1.2.5/configure.ac
|
|
|
6657fd |
--- rpcbind-1.2.5/configure.ac.orig 2018-08-21 13:16:53.778658897 -0400
|
|
|
6657fd |
+++ rpcbind-1.2.5/configure.ac 2018-08-21 13:18:30.810307201 -0400
|
|
|
6657fd |
@@ -26,8 +26,8 @@ AC_ARG_ENABLE([rmtcalls],
|
|
|
6657fd |
AM_CONDITIONAL(RMTCALLS, test x$enable_rmtcalls = xyes)
|
|
|
6657fd |
|
|
|
6657fd |
AC_ARG_WITH([statedir],
|
|
|
6657fd |
- AS_HELP_STRING([--with-statedir=ARG], [use ARG as state dir @<:@default=/var/run/rpcbind@:>@])
|
|
|
6657fd |
- ,, [with_statedir=/var/run/rpcbind])
|
|
|
6657fd |
+ AS_HELP_STRING([--with-statedir=ARG], [use ARG as state dir @<:@default=/run/rpcbind@:>@])
|
|
|
6657fd |
+ ,, [with_statedir=/run/rpcbind])
|
|
|
6657fd |
AC_SUBST([statedir], [$with_statedir])
|
|
|
6657fd |
|
|
|
6657fd |
AC_ARG_WITH([rpcuser],
|
|
|
6657fd |
diff -up rpcbind-1.2.5/configure.orig rpcbind-1.2.5/configure
|
|
|
6657fd |
--- rpcbind-1.2.5/configure.orig 2018-08-15 11:00:32.000000000 -0400
|
|
|
6657fd |
+++ rpcbind-1.2.5/configure 2018-08-21 13:18:30.811307187 -0400
|
|
|
6657fd |
@@ -1391,7 +1391,7 @@ Optional Features:
|
|
|
6657fd |
Optional Packages:
|
|
|
6657fd |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
|
6657fd |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
|
6657fd |
- --with-statedir=ARG use ARG as state dir [default=/var/run/rpcbind]
|
|
|
6657fd |
+ --with-statedir=ARG use ARG as state dir [default=/run/rpcbind]
|
|
|
6657fd |
|
|
|
6657fd |
--with-rpcuser=ARG use ARG for RPC [default=root]
|
|
|
6657fd |
|
|
|
6657fd |
@@ -3901,7 +3901,7 @@ fi
|
|
|
6657fd |
if test "${with_statedir+set}" = set; then :
|
|
|
6657fd |
withval=$with_statedir;
|
|
|
6657fd |
else
|
|
|
6657fd |
- with_statedir=/var/run/rpcbind
|
|
|
6657fd |
+ with_statedir=/run/rpcbind
|
|
|
6657fd |
fi
|
|
|
6657fd |
|
|
|
6657fd |
statedir=$with_statedir
|
|
|
6657fd |
diff -up rpcbind-1.2.5/man/rpcbind-fr.8.orig rpcbind-1.2.5/man/rpcbind-fr.8
|
|
|
6657fd |
--- rpcbind-1.2.5/man/rpcbind-fr.8.orig 2018-08-15 10:51:19.000000000 -0400
|
|
|
6657fd |
+++ rpcbind-1.2.5/man/rpcbind-fr.8 2018-08-21 13:18:30.812307174 -0400
|
|
|
6657fd |
@@ -138,8 +138,8 @@ est redémarré.
|
|
|
6657fd |
.Xr rpcbind 3 ,
|
|
|
6657fd |
.Xr rpcinfo 8
|
|
|
6657fd |
.Sh FILES
|
|
|
6657fd |
-.Bl -tag -width /var/run/rpcbind.sock -compact
|
|
|
6657fd |
-.It Pa /var/run/rpcbind.sock
|
|
|
6657fd |
+.Bl -tag -width /run/rpcbind.sock -compact
|
|
|
6657fd |
+.It Pa /run/rpcbind.sock
|
|
|
6657fd |
.Sh TRADUCTION
|
|
|
6657fd |
Aurelien CHARBON (Sept 2003)
|
|
|
6657fd |
.El
|
|
|
6657fd |
diff -up rpcbind-1.2.5/src/rpcbind.c.orig rpcbind-1.2.5/src/rpcbind.c
|
|
|
6657fd |
--- rpcbind-1.2.5/src/rpcbind.c.orig 2018-08-15 10:51:19.000000000 -0400
|
|
|
6657fd |
+++ rpcbind-1.2.5/src/rpcbind.c 2018-08-21 13:18:30.812307174 -0400
|
|
|
6657fd |
@@ -106,7 +106,7 @@ char *nss_modules = "files";
|
|
|
6657fd |
/* who to suid to if -s is given */
|
|
|
6657fd |
#define RUN_AS "daemon"
|
|
|
6657fd |
|
|
|
6657fd |
-#define RPCBINDDLOCK "/var/run/rpcbind.lock"
|
|
|
6657fd |
+#define RPCBINDDLOCK RPCBIND_STATEDIR "/rpcbind.lock"
|
|
|
6657fd |
|
|
|
6657fd |
int runasdaemon = 0;
|
|
|
6657fd |
int insecure = 0;
|