linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gssd: add verbosity options to the rpc.gssd man page
@ 2019-01-23 10:09 Pierguido Lambri
  0 siblings, 0 replies; 3+ messages in thread
From: Pierguido Lambri @ 2019-01-23 10:09 UTC (permalink / raw)
  To: Linux NFS Mailing list

It also adds the commented out entries in the nfs.conf
default file and references to the verbosity entries in
the gssd man page too.

Signed-off-by: Pierguido Lambri <plambri@redhat.com>
---
 nfs.conf             | 2 ++
 systemd/nfs.conf.man | 2 ++
 utils/gssd/gssd.man  | 8 ++++++++
 3 files changed, 12 insertions(+)

diff --git a/nfs.conf b/nfs.conf
index 5546109..a6f6f2d 100644
--- a/nfs.conf
+++ b/nfs.conf
@@ -9,6 +9,8 @@
 # debug=0
 #
 #[gssd]
+# Verbosity=0
+# RPC-Verbosity=0
 # use-memcache=0
 # use-machine-creds=1
 # use-gss-proxy=0
diff --git a/systemd/nfs.conf.man b/systemd/nfs.conf.man
index 699db3f..9b112cd 100644
--- a/systemd/nfs.conf.man
+++ b/systemd/nfs.conf.man
@@ -211,6 +211,8 @@ for details.
 .TP
 .B gssd
 Recognized values:
+.BR Verbosity ,
+.BR RPC-Verbosity ,
 .BR use-memcache ,
 .BR use-machine-creds ,
 .BR use-gss-proxy ,
diff --git a/utils/gssd/gssd.man b/utils/gssd/gssd.man
index e620f0d..4f7bd60 100644
--- a/utils/gssd/gssd.man
+++ b/utils/gssd/gssd.man
@@ -305,6 +305,14 @@ section of the
 .I /etc/nfs.conf
 configuration file.  Values recognized include:
 .TP
+.B Verbosity
+Value which is equivalent to the number of
+.BR -v .
+.TP
+.B RPC-Verbosity
+Value which is equivalent to the number of
+.BR -r .
+.TP
 .B use-memcache
 A Boolean flag equivalent to
 .BR -M .
-- 
2.20.1


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

* Re: [PATCH] gssd: add verbosity options to the rpc.gssd man page
  2019-03-11 17:55 Steve Dickson
@ 2019-03-12 13:17 ` Steve Dickson
  0 siblings, 0 replies; 3+ messages in thread
From: Steve Dickson @ 2019-03-12 13:17 UTC (permalink / raw)
  To: Linux NFS Mailing list



On 3/11/19 1:55 PM, Steve Dickson wrote:
> From: Pierguido Lambri <plambri@redhat.com>
> 
> It also adds the commented out entries in the nfs.conf
> default file.
> 
> Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1668026
> 
> Signed-off-by: Pierguido Lambri <plambri@redhat.com>
> Signed-off-by: Steve Dickson <steved@redhat.com>
> ---
>  nfs.conf             | 2 ++
>  systemd/nfs.conf.man | 2 ++
>  utils/gssd/gssd.c    | 4 ++--
>  3 files changed, 6 insertions(+), 2 deletions(-)
Committed...

steved.
> 
> diff --git a/nfs.conf b/nfs.conf
> index d332375..faa07b1 100644
> --- a/nfs.conf
> +++ b/nfs.conf
> @@ -9,6 +9,8 @@
>  # debug=0
>  #
>  [gssd]
> +# verbosity=0
> +# rpc-verbosity=0
>  # use-memcache=0
>  # use-machine-creds=1
>  # use-gss-proxy=0
> diff --git a/systemd/nfs.conf.man b/systemd/nfs.conf.man
> index 699db3f..e3654a3 100644
> --- a/systemd/nfs.conf.man
> +++ b/systemd/nfs.conf.man
> @@ -211,6 +211,8 @@ for details.
>  .TP
>  .B gssd
>  Recognized values:
> +.BR verbosity ,
> +.BR rpc-verbosity ,
>  .BR use-memcache ,
>  .BR use-machine-creds ,
>  .BR use-gss-proxy ,
> diff --git a/utils/gssd/gssd.c b/utils/gssd/gssd.c
> index 7eeb05f..19ad4da 100644
> --- a/utils/gssd/gssd.c
> +++ b/utils/gssd/gssd.c
> @@ -890,8 +890,8 @@ main(int argc, char *argv[])
>  
>  	read_gss_conf();
>  
> -	verbosity = conf_get_num("gssd", "Verbosity", verbosity);
> -	rpc_verbosity = conf_get_num("gssd", "RPC-Verbosity", rpc_verbosity);
> +	verbosity = conf_get_num("gssd", "verbosity", verbosity);
> +	rpc_verbosity = conf_get_num("gssd", "rpc-verbosity", rpc_verbosity);
>  
>  	while ((opt = getopt(argc, argv, "DfvrlmnMp:k:d:t:T:R:")) != -1) {
>  		switch (opt) {
> 

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

* [PATCH] gssd: add verbosity options to the rpc.gssd man page
@ 2019-03-11 17:55 Steve Dickson
  2019-03-12 13:17 ` Steve Dickson
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Dickson @ 2019-03-11 17:55 UTC (permalink / raw)
  To: Linux NFS Mailing list

From: Pierguido Lambri <plambri@redhat.com>

It also adds the commented out entries in the nfs.conf
default file.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1668026

Signed-off-by: Pierguido Lambri <plambri@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
 nfs.conf             | 2 ++
 systemd/nfs.conf.man | 2 ++
 utils/gssd/gssd.c    | 4 ++--
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/nfs.conf b/nfs.conf
index d332375..faa07b1 100644
--- a/nfs.conf
+++ b/nfs.conf
@@ -9,6 +9,8 @@
 # debug=0
 #
 [gssd]
+# verbosity=0
+# rpc-verbosity=0
 # use-memcache=0
 # use-machine-creds=1
 # use-gss-proxy=0
diff --git a/systemd/nfs.conf.man b/systemd/nfs.conf.man
index 699db3f..e3654a3 100644
--- a/systemd/nfs.conf.man
+++ b/systemd/nfs.conf.man
@@ -211,6 +211,8 @@ for details.
 .TP
 .B gssd
 Recognized values:
+.BR verbosity ,
+.BR rpc-verbosity ,
 .BR use-memcache ,
 .BR use-machine-creds ,
 .BR use-gss-proxy ,
diff --git a/utils/gssd/gssd.c b/utils/gssd/gssd.c
index 7eeb05f..19ad4da 100644
--- a/utils/gssd/gssd.c
+++ b/utils/gssd/gssd.c
@@ -890,8 +890,8 @@ main(int argc, char *argv[])
 
 	read_gss_conf();
 
-	verbosity = conf_get_num("gssd", "Verbosity", verbosity);
-	rpc_verbosity = conf_get_num("gssd", "RPC-Verbosity", rpc_verbosity);
+	verbosity = conf_get_num("gssd", "verbosity", verbosity);
+	rpc_verbosity = conf_get_num("gssd", "rpc-verbosity", rpc_verbosity);
 
 	while ((opt = getopt(argc, argv, "DfvrlmnMp:k:d:t:T:R:")) != -1) {
 		switch (opt) {
-- 
2.20.1


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

end of thread, other threads:[~2019-03-12 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-23 10:09 [PATCH] gssd: add verbosity options to the rpc.gssd man page Pierguido Lambri
2019-03-11 17:55 Steve Dickson
2019-03-12 13:17 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).