Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2017 20:23:27 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r317163 - head/usr.sbin/rpcbind
Message-ID:  <201704192023.v3JKNRuZ086798@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Wed Apr 19 20:23:27 2017
New Revision: 317163
URL: https://svnweb.freebsd.org/changeset/base/317163

Log:
  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.
  
  MFC after:	7 weeks
  Sponsored by:	Dell EMC Isilon

Modified:
  head/usr.sbin/rpcbind/rpcbind.8

Modified: head/usr.sbin/rpcbind/rpcbind.8
==============================================================================
--- head/usr.sbin/rpcbind/rpcbind.8	Wed Apr 19 20:04:45 2017	(r317162)
+++ head/usr.sbin/rpcbind/rpcbind.8	Wed Apr 19 20:23:27 2017	(r317163)
@@ -10,7 +10,7 @@
 .Nd universal addresses to RPC program number mapper
 .Sh SYNOPSIS
 .Nm
-.Op Fl 6adiLlsW
+.Op Fl 6adiLlswW
 .Op Fl h Ar bindip
 .Sh DESCRIPTION
 The
@@ -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,6 +158,12 @@ 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



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