diff mbox series

utils/statd.man: Clarify the --name argument usage

Message ID 20191002005241.28308-1-marcos.souza.org@gmail.com (mailing list archive)
State New, archived
Headers show
Series utils/statd.man: Clarify the --name argument usage | expand

Commit Message

Marcos Paulo de Souza Oct. 2, 2019, 12:52 a.m. UTC
From: Marcos Paulo de Souza <mpdesouza@suse.com>

The man page does not clarifies that the --name argument is only used by
the sm-notify command, and statd itself listen to all interfaces. This
change makes clear that the --name argument is only passed to sm-notify.

Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
---
 utils/statd/statd.man | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Comments

Marcos Paulo de Souza Oct. 10, 2019, 2:57 p.m. UTC | #1
ping?

On Tue, 2019-10-01 at 21:52 -0300, Marcos Paulo de Souza wrote:
> From: Marcos Paulo de Souza <mpdesouza@suse.com>
> 
> The man page does not clarifies that the --name argument is only used
> by
> the sm-notify command, and statd itself listen to all interfaces.
> This
> change makes clear that the --name argument is only passed to sm-
> notify.
> 
> Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
> ---
>  utils/statd/statd.man | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)
> 
> diff --git a/utils/statd/statd.man b/utils/statd/statd.man
> index 71d58461..03732a6f 100644
> --- a/utils/statd/statd.man
> +++ b/utils/statd/statd.man
> @@ -185,18 +185,16 @@ restarts without the
>  option.
>  .TP
>  .BI "\-n, " "" "\-\-name " ipaddr " | " hostname
> -Specifies the bind address used for RPC listener sockets.
> +This string is only used by the
> +.B sm-notify
> +command as the source address from which to send reboot notification
> requests.
> +.IP
>  The
>  .I ipaddr
>  form can be expressed as either an IPv4 or an IPv6 presentation
> address.
>  If this option is not specified,
>  .B rpc.statd
>  uses a wildcard address as the transport bind address.
> -.IP
> -This string is also passed to the
> -.B sm-notify
> -command to be used as the source address from which
> -to send reboot notification requests.
>  See
>  .BR sm-notify (8)
>  for details.
Steve Dickson Oct. 14, 2019, 6:19 p.m. UTC | #2
On 10/1/19 8:52 PM, Marcos Paulo de Souza wrote:
> From: Marcos Paulo de Souza <mpdesouza@suse.com>
> 
> The man page does not clarifies that the --name argument is only used by
> the sm-notify command, and statd itself listen to all interfaces. This
> change makes clear that the --name argument is only passed to sm-notify.
> 
> Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
I was traveling... but.. Committed!

steved.

> ---
>  utils/statd/statd.man | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)
> 
> diff --git a/utils/statd/statd.man b/utils/statd/statd.man
> index 71d58461..03732a6f 100644
> --- a/utils/statd/statd.man
> +++ b/utils/statd/statd.man
> @@ -185,18 +185,16 @@ restarts without the
>  option.
>  .TP
>  .BI "\-n, " "" "\-\-name " ipaddr " | " hostname
> -Specifies the bind address used for RPC listener sockets.
> +This string is only used by the
> +.B sm-notify
> +command as the source address from which to send reboot notification requests.
> +.IP
>  The
>  .I ipaddr
>  form can be expressed as either an IPv4 or an IPv6 presentation address.
>  If this option is not specified,
>  .B rpc.statd
>  uses a wildcard address as the transport bind address.
> -.IP
> -This string is also passed to the
> -.B sm-notify
> -command to be used as the source address from which
> -to send reboot notification requests.
>  See
>  .BR sm-notify (8)
>  for details.
>
diff mbox series

Patch

diff --git a/utils/statd/statd.man b/utils/statd/statd.man
index 71d58461..03732a6f 100644
--- a/utils/statd/statd.man
+++ b/utils/statd/statd.man
@@ -185,18 +185,16 @@  restarts without the
 option.
 .TP
 .BI "\-n, " "" "\-\-name " ipaddr " | " hostname
-Specifies the bind address used for RPC listener sockets.
+This string is only used by the
+.B sm-notify
+command as the source address from which to send reboot notification requests.
+.IP
 The
 .I ipaddr
 form can be expressed as either an IPv4 or an IPv6 presentation address.
 If this option is not specified,
 .B rpc.statd
 uses a wildcard address as the transport bind address.
-.IP
-This string is also passed to the
-.B sm-notify
-command to be used as the source address from which
-to send reboot notification requests.
 See
 .BR sm-notify (8)
 for details.