From 52d46c4d1fbd4c88d69c2fcf7837b2f2ba7ef6f2 Mon Sep 17 00:00:00 2001
From: "Maxin B. John" <maxin.john@intel.com>
Date: Thu, 12 Jan 2017 16:50:58 +0200
Subject: [PATCH] netbase: add rpcbind as an alias to sunrpc

the patch comes from:
https://bugs.archlinux.org/task/20273

Upstream-Status: Pending

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>

---
 etc-rpc      | 2 +-
 etc-services | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/etc-rpc b/etc-rpc
index 1b30625..9a9a81a 100644
--- a/etc-rpc
+++ b/etc-rpc
@@ -1,7 +1,7 @@
 # This file contains user readable names that can be used in place of rpc
 # program numbers.
 
-portmapper	100000	portmap sunrpc
+portmapper	100000	portmap sunrpc rpcbind
 rstatd		100001	rstat rstat_svc rup perfmeter
 rusersd		100002	rusers
 nfs		100003	nfsprog
diff --git a/etc-services b/etc-services
index fa7ae24..10ba2bc 100644
--- a/etc-services
+++ b/etc-services
@@ -51,8 +51,8 @@ kerberos	88/udp		kerberos5 krb5 kerberos-sec	# Kerberos v5
 iso-tsap	102/tcp		tsap		# part of ISODE
 acr-nema	104/tcp		dicom		# Digital Imag. & Comm. 300
 pop3		110/tcp		pop-3		# POP version 3
-sunrpc		111/tcp		portmapper	# RPC 4.0 portmapper
-sunrpc		111/udp		portmapper
+sunrpc		111/tcp		portmapper rpcbind # RPC 4.0 portmapper
+sunrpc		111/udp		portmapper rpcbind
 auth		113/tcp		authentication tap ident
 sftp		115/tcp
 nntp		119/tcp		readnews untp	# USENET News Transfer Protocol
