new packages: nfs-utils, libgssglue, rpcbind
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
commit b3b031b07cc5909aaf964f9d4cf46f6097769320
|
||||
Author: Steve Dickson <steved@redhat.com>
|
||||
Date: Wed Aug 21 14:40:22 2013 -0400
|
||||
|
||||
rpcbind: rpcuser not being set in Makefile.am
|
||||
|
||||
Commit 8d7a0708 cause a regression where the rpcuser id was not
|
||||
being set, which in turn cause rpcbind to immediately exit.
|
||||
This patch removes the extra ',' that was in the AC_ARG_WITH
|
||||
statement in the configure.ac file.
|
||||
|
||||
Signed-off-by: Steve Dickson <steved@redhat.com>
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 2b67720..1cf42d3 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -23,7 +23,7 @@ AC_ARG_WITH([statedir],
|
||||
AC_SUBST([statedir], [$with_statedir])
|
||||
|
||||
AC_ARG_WITH([rpcuser],
|
||||
- AS_HELP_STRING([--with-rpcuser=ARG], [use ARG for RPC @<:@default=root@:>@]),
|
||||
+ AS_HELP_STRING([--with-rpcuser=ARG], [use ARG for RPC @<:@default=root@:>@])
|
||||
,, [with_rpcuser=root])
|
||||
AC_SUBST([rpcuser], [$with_rpcuser])
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
Index: rpcbind-0.2.0/src/rpcbind.c
|
||||
===================================================================
|
||||
--- rpcbind-0.2.0.orig/src/rpcbind.c
|
||||
+++ rpcbind-0.2.0/src/rpcbind.c
|
||||
@@ -114,7 +114,7 @@ char *tcptrans; /* Name of TCP transpor
|
||||
char *udp_uaddr; /* Universal UDP address */
|
||||
char *tcp_uaddr; /* Universal TCP address */
|
||||
#endif
|
||||
-static char servname[] = "rpcbind";
|
||||
+static char servname[] = "sunrpc";
|
||||
static char superuser[] = "superuser";
|
||||
|
||||
int main __P((int, char *[]));
|
||||
Index: rpcbind-0.2.0/src/rpcinfo.c
|
||||
===================================================================
|
||||
--- rpcbind-0.2.0.orig/src/rpcinfo.c
|
||||
+++ rpcbind-0.2.0/src/rpcinfo.c
|
||||
@@ -632,7 +632,7 @@ get_inet_address (addr, host)
|
||||
{
|
||||
memset (&hints, 0, sizeof hints);
|
||||
hints.ai_family = AF_INET;
|
||||
- if ((error = getaddrinfo (host, "rpcbind", &hints, &res)) != 0 &&
|
||||
+ if ((error = getaddrinfo (host, "sunrpc", &hints, &res)) != 0 &&
|
||||
(error = getaddrinfo (host, "portmapper", &hints, &res)) != 0)
|
||||
{
|
||||
fprintf (stderr, "rpcinfo: %s: %s\n",
|
||||
@@ -0,0 +1,2 @@
|
||||
# RPCbind options
|
||||
RPCBIND_OPTS="-i"
|
||||
Reference in New Issue
Block a user