Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2017 17:42:48 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r319242 - stable/10/usr.sbin/rpcbind
Message-ID:  <201705301742.v4UHgmgs050231@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue May 30 17:42:48 2017
New Revision: 319242
URL: https://svnweb.freebsd.org/changeset/base/319242

Log:
  MFC r317154,r317155,r317162,r317163,r317164:
  
  r317154:
  
  Print out the signal number on exit in terminate(..) if WARMSTART is compiled
  into rpcbind.
  
  The signal number can provide helpful diagnostic info.
  
  Obtained from:	Isilon OneFS
  
  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/10/usr.sbin/rpcbind/Makefile
  stable/10/usr.sbin/rpcbind/rpcbind.8
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/rpcbind/Makefile
==============================================================================
--- stable/10/usr.sbin/rpcbind/Makefile	Tue May 30 17:38:15 2017	(r319241)
+++ stable/10/usr.sbin/rpcbind/Makefile	Tue May 30 17:42:48 2017	(r319242)
@@ -15,17 +15,17 @@ CFLAGS+= -DINET6
 .endif
 
 .if ${MK_TCP_WRAPPERS} != "no"
-CFLAGS+=	-DLIBWRAP
-DPADD+=		${LIBWRAP}
-LDADD+=		-lwrap
+CFLAGS+= -DLIBWRAP
+DPADD+=	${LIBWRAP}
+LDADD+=	-lwrap
 .endif
 
 .if ${MK_TESTS} != "no"
-SUBDIR+=	tests
+SUBDIR+= tests
 .endif
 
-DPADD+=		${LIBUTIL}
-LDADD+=		-lutil
+DPADD+=	${LIBUTIL}
+LDADD+=	-lutil
 
 WARNS?=	1
 

Modified: stable/10/usr.sbin/rpcbind/rpcbind.8
==============================================================================
--- stable/10/usr.sbin/rpcbind/rpcbind.8	Tue May 30 17:38:15 2017	(r319241)
+++ stable/10/usr.sbin/rpcbind/rpcbind.8	Tue May 30 17:42:48 2017	(r319242)
@@ -2,7 +2,7 @@
 .\" Copyright 1989 AT&T
 .\" Copyright 1991 Sun Microsystems, Inc.
 .\" $FreeBSD$
-.Dd April 23, 2007
+.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.
@@ -133,6 +133,22 @@ to use non-privileged ports for outgoing connections, 
 clients from using
 .Nm
 to connect to services from a privileged port.
+.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
@@ -140,7 +156,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 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705301742.v4UHgmgs050231>