Bug 1530721

Summary: rpcbind.socket should create both tcp and udp listening sockets
Product: Red Hat Enterprise Linux 7 Reporter: Steve Dickson <steved>
Component: rpcbindAssignee: Steve Dickson <steved>
Status: CLOSED ERRATA QA Contact: Yongcheng Yang <yoyang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: rhandlin, steved, xzhou, yoyang
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpcbind-0.2.0-45.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 11:48:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1531486    

Description Steve Dickson 2018-01-03 16:40:00 UTC
Description of problem:

The rpcbind.socket file only creates tcp sockets. It 
also needs to create the udp sockets as well. 

ListenStream=0.0.0.0:111
ListenDatagram=0.0.0.0:111
ListenStream=[::]:111
ListenDatagram=[::]:111

Comment 7 Yongcheng Yang 2018-07-26 09:28:49 UTC
Have verified in rpcbind-0.2.0-45.el7

############
# Previously
############
[root ~]# rpm -q rpcbind
rpcbind-0.2.0-44.el7.x86_64
[root ~]# netstat -pan | grep -e 'rpcbind' -e ':111'
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      671/rpcbind         
tcp6       0      0 :::111                  :::*                    LISTEN      671/rpcbind         
udp        0      0 0.0.0.0:111             0.0.0.0:*                           671/rpcbind         
udp        0      0 0.0.0.0:838             0.0.0.0:*                           671/rpcbind         
udp6       0      0 :::111                  :::*                                671/rpcbind         
udp6       0      0 :::838                  :::*                                671/rpcbind         
unix  2      [ ACC ]     STREAM     LISTENING     15299    1/systemd            /var/run/rpcbind.sock
[root ~]# netstat -pan | grep '111'
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      671/rpcbind         
tcp6       0      0 :::111                  :::*                    LISTEN      671/rpcbind         
udp        0      0 0.0.0.0:111             0.0.0.0:*                           671/rpcbind         
udp6       0      0 :::111                  :::*                                671/rpcbind         
[root ~]# 

###########
# Currently
###########
[root ~]# rpm -q rpcbind
rpcbind-0.2.0-45.el7.x86_64
[root ~]# netstat -pan | grep -e 'rpcbind' -e ':111'
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1/systemd           
tcp6       0      0 :::111                  :::*                    LISTEN      1/systemd           
udp        0      0 0.0.0.0:111             0.0.0.0:*                           1/systemd           
udp        0      0 0.0.0.0:603             0.0.0.0:*                           852/rpcbind         
udp6       0      0 :::111                  :::*                                1/systemd           
udp6       0      0 :::603                  :::*                                852/rpcbind         
unix  2      [ ACC ]     STREAM     LISTENING     71885    1/systemd            /var/run/rpcbind.sock
[root ~]# netstat -pan | grep '111'
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1/systemd           
tcp6       0      0 :::111                  :::*                    LISTEN      1/systemd           
udp        0      0 0.0.0.0:111             0.0.0.0:*                           1/systemd           
udp6       0      0 :::111                  :::*                                1/systemd           
[root ~]#

Comment 9 Yongcheng Yang 2018-09-11 09:13:03 UTC
Moving to VERIFIED according to comment #7 for now.

Comment 11 errata-xmlrpc 2018-10-30 11:48:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3313