1
0
forked from rpms/rpcbind
rpcbind/rpcbind-0.2.0-rpcuser.patch
Steve Dickson 88d609af69 Fixed typo causing rpcbind to run as root (bz 734598)
Signed-off-by: Steve Dickson <steved@redhat.com>
2012-10-14 12:29:40 -04:00

25 lines
702 B
Diff

commit e81d689a6a8605cfc3b90a62a357705e180f532c
Author: Steve Dickson <steved@redhat.com>
Date: Sun Oct 14 12:20:04 2012 -0400
Fixed typo in Makefile.am which cause rpcbind to run as root
Commit 8d7a0708 introduce a regression that cause rpcbind
to run as root instead of the user define by RPCBIND_USER
Signed-off-by: Steve Dickson <steved@redhat.com>
diff --git a/Makefile.am b/Makefile.am
index 9fa608e..d10c906 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
-DSEVERITY=LOG_INFO \
-DINET6 \
-DRPCBIND_STATEDIR="\"$(statedir)\"" \
- -DRPCUSER="\"$(rpcuser)\"" \
+ -DRPCBIND_USER="\"$(rpcuser)\"" \
-D_GNU_SOURCE \
$(TIRPC_CFLAGS)