2019-10-02 06:22:03

by Marcos Paulo de Souza

[permalink] [raw]
Subject: [PATCH] utils/statd.man: Clarify the --name argument usage

From: Marcos Paulo de Souza <[email protected]>

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 <[email protected]>
---
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.
--
2.23.0


2019-10-10 14:55:59

by Marcos Paulo de Souza

[permalink] [raw]
Subject: Re: [PATCH] utils/statd.man: Clarify the --name argument usage

ping?

On Tue, 2019-10-01 at 21:52 -0300, Marcos Paulo de Souza wrote:
> From: Marcos Paulo de Souza <[email protected]>
>
> 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 <[email protected]>
> ---
> 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.

2019-10-14 23:10:24

by Steve Dickson

[permalink] [raw]
Subject: Re: [PATCH] utils/statd.man: Clarify the --name argument usage



On 10/1/19 8:52 PM, Marcos Paulo de Souza wrote:
> From: Marcos Paulo de Souza <[email protected]>
>
> 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 <[email protected]>
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.
>