Linux-NFS Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] utils/statd.man: Clarify the --name argument usage
@ 2019-10-02  0:52 Marcos Paulo de Souza
  2019-10-10 14:57 ` Marcos Paulo de Souza
  2019-10-14 18:19 ` Steve Dickson
  0 siblings, 2 replies; 3+ messages in thread
From: Marcos Paulo de Souza @ 2019-10-02  0:52 UTC (permalink / raw)
  To: linux-nfs, steved; +Cc: Marcos Paulo de Souza

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.
-- 
2.23.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] utils/statd.man: Clarify the --name argument usage
  2019-10-02  0:52 [PATCH] utils/statd.man: Clarify the --name argument usage Marcos Paulo de Souza
@ 2019-10-10 14:57 ` Marcos Paulo de Souza
  2019-10-14 18:19 ` Steve Dickson
  1 sibling, 0 replies; 3+ messages in thread
From: Marcos Paulo de Souza @ 2019-10-10 14:57 UTC (permalink / raw)
  To: Marcos Paulo de Souza, steved, linux-nfs; +Cc: Marcos Paulo de Souza

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] utils/statd.man: Clarify the --name argument usage
  2019-10-02  0:52 [PATCH] utils/statd.man: Clarify the --name argument usage Marcos Paulo de Souza
  2019-10-10 14:57 ` Marcos Paulo de Souza
@ 2019-10-14 18:19 ` Steve Dickson
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Dickson @ 2019-10-14 18:19 UTC (permalink / raw)
  To: Marcos Paulo de Souza, linux-nfs; +Cc: Marcos Paulo de Souza



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.
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-02  0:52 [PATCH] utils/statd.man: Clarify the --name argument usage Marcos Paulo de Souza
2019-10-10 14:57 ` Marcos Paulo de Souza
2019-10-14 18:19 ` Steve Dickson

Linux-NFS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-nfs/0 linux-nfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-nfs linux-nfs/ https://lore.kernel.org/linux-nfs \
		linux-nfs@vger.kernel.org linux-nfs@archiver.kernel.org
	public-inbox-index linux-nfs

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-nfs


AGPL code for this site: git clone https://public-inbox.org/ public-inbox