forked from rpms/rpcbind
Fixed typo causing rpcbind to run as root (bz 734598)
Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
parent
581c25086e
commit
88d609af69
24
rpcbind-0.2.0-rpcuser.patch
Normal file
24
rpcbind-0.2.0-rpcuser.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
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)
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: rpcbind
|
Name: rpcbind
|
||||||
Version: 0.2.0
|
Version: 0.2.0
|
||||||
Release: 17%{?dist}
|
Release: 18%{?dist}
|
||||||
Summary: Universal Addresses to RPC Program Number Mapper
|
Summary: Universal Addresses to RPC Program Number Mapper
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -12,6 +12,7 @@ Source1: rpcbind.service
|
|||||||
Source2: rpcbind.socket
|
Source2: rpcbind.socket
|
||||||
|
|
||||||
Patch001: rpcbind-0_2_1-rc3.patch
|
Patch001: rpcbind-0_2_1-rc3.patch
|
||||||
|
Patch002: rpcbind-0.2.0-rpcuser.patch
|
||||||
|
|
||||||
Requires: glibc-common setup
|
Requires: glibc-common setup
|
||||||
Conflicts: man-pages < 2.43-12
|
Conflicts: man-pages < 2.43-12
|
||||||
@ -33,6 +34,7 @@ RPC calls on a server on that machine.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch001 -p1
|
%patch001 -p1
|
||||||
|
%patch002 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
@ -130,6 +132,9 @@ fi
|
|||||||
%dir %attr(700,rpc,rpc) /var/lib/rpcbind
|
%dir %attr(700,rpc,rpc) /var/lib/rpcbind
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Oct 14 2012 Steve Dickson <steved@redhat.com> - 0.2.0-18
|
||||||
|
- Fixed typo causing rpcbind to run as root (bz 734598)
|
||||||
|
|
||||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-17
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-17
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user