svn commit: r319232 - stable/11/usr.sbin/rpcbind

Ngie Cooper ngie at FreeBSD.org
Tue May 30 17:37:41 UTC 2017


Author: ngie
Date: Tue May 30 17:37:40 2017
New Revision: 319232
URL: https://svnweb.freebsd.org/changeset/base/319232

Log:
  MFC r317155,r317162,r317163,r317164:
  
  r317155:
  
  rpcbind(8): wordsmith -h description and mention -W in the SYNOPSIS section
  
  -W was already documented in the OPTIONS section.
  
  r317162:
  
  rpcbind(8): add a description for /var/run/rpcbind.sock under the FILES section
  
  r317163:
  
  rpcbind(8): post-humously document -w (warmstart) support added in r74462
  
  warmstart support saves portmap/rpcbind(8) registration state on exit and
  restores the saved registration state on restart.
  
  r317164:
  
  Fix indentation per style.Makefile(5)

Modified:
  stable/11/usr.sbin/rpcbind/Makefile
  stable/11/usr.sbin/rpcbind/rpcbind.8
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/rpcbind/Makefile
==============================================================================
--- stable/11/usr.sbin/rpcbind/Makefile	Tue May 30 17:37:37 2017	(r319231)
+++ stable/11/usr.sbin/rpcbind/Makefile	Tue May 30 17:37:40 2017	(r319232)
@@ -15,12 +15,12 @@ CFLAGS+= -DINET6
 .endif
 
 .if ${MK_TCP_WRAPPERS} != "no"
-CFLAGS+=	-DLIBWRAP
-LIBADD+=	wrap
+CFLAGS+= -DLIBWRAP
+LIBADD+= wrap
 .endif
 
 .if ${MK_TESTS} != "no"
-SUBDIR+=	tests
+SUBDIR+= tests
 .endif
 
 WARNS?=	1

Modified: stable/11/usr.sbin/rpcbind/rpcbind.8
==============================================================================
--- stable/11/usr.sbin/rpcbind/rpcbind.8	Tue May 30 17:37:37 2017	(r319231)
+++ stable/11/usr.sbin/rpcbind/rpcbind.8	Tue May 30 17:37:40 2017	(r319232)
@@ -2,7 +2,7 @@
 .\" Copyright 1989 AT&T
 .\" Copyright 1991 Sun Microsystems, Inc.
 .\" $FreeBSD$
-.Dd March 6, 2014
+.Dd April 19, 2017
 .Dt RPCBIND 8
 .Os
 .Sh NAME
@@ -10,7 +10,7 @@
 .Nd universal addresses to RPC program number mapper
 .Sh SYNOPSIS
 .Nm
-.Op Fl 6adiLls
+.Op Fl 6adiLlswW
 .Op Fl h Ar bindip
 .Sh DESCRIPTION
 The
@@ -85,7 +85,7 @@ is also specified.
 With this option, the name-to-address translation consistency
 checks are shown in detail.
 .It Fl h Ar bindip
-Specify specific IP addresses to bind to for TCP and UDP requests.
+IP addresses to bind to when servicing TCP and UDP requests.
 This option
 may be specified multiple times and is typically necessary when running
 on a multi-homed host.
@@ -135,6 +135,22 @@ clients from using
 to connect to services from a privileged port.
 .It Fl W
 Enable libwrap (TCP wrappers) support.
+.It Fl w
+Enable the warmstart feature.
+.Pp
+The warmstart feature saves RPC registrations on termination.
+Any saved RPC registrations are restored on restart if
+.Fl w
+is specified.
+This feature helps avoid RPC service interruption when restarting
+.Nm .
+warmstart support must be compiled in to
+.Nm .
+Portmap registrations are stored in
+.Pa /tmp/portmap.file .
+.Nm
+registrations are stored in
+.Pa /tmp/rpcbind.file .
 .El
 .Sh NOTES
 All RPC servers must be restarted if
@@ -142,7 +158,14 @@ All RPC servers must be restarted if
 is restarted.
 .Sh FILES
 .Bl -tag -width /var/run/rpcbind.sock -compact
+.It Pa /tmp/portmap.file
+saved portmap registrations file.
+.It Pa /tmp/rpcbind.file
+saved
+.Nm
+registrations file.
 .It Pa /var/run/rpcbind.sock
+socket used for local connections.
 .El
 .Sh SEE ALSO
 .Xr rpcbind 3 ,


More information about the svn-src-all mailing list