Skip to contentSkip to conversation

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

PATCH In review Marcos Paulo de Souza 3 participants 3 messages Oct 2, 2019 – Oct 14, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 utils/statd/statd.man | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
utils/statd/statd.man +4 -6
index 71d58461..03732a6f 100644
@@ -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.
Signature · 1 line
2.23.0
#1 lore raw

ping?

Quoted 43 lines · Marcos Paulo de Souza

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.

---
 utils/statd/statd.man | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
utils/statd/statd.man +3 -1
index 71d58461..03732a6f 100644
@@ -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

utils/statd/statd.man +0 -4
-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 lore raw
In reply to Marcos Paulo de Souza
Quoted 7 lines · Marcos Paulo de Souza

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.

I was traveling... but.. Committed!

steved.

Quoted 32 lines
---
 utils/statd/statd.man | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
utils/statd/statd.man +4 -6
index 71d58461..03732a6f 100644
@@ -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.