summaryrefslogtreecommitdiffstats
path: root/utils/gssd/gssd.c
diff options
context:
space:
mode:
authorScott Mayhew <smayhew@redhat.com>2017-04-09 15:20:06 -0400
committerSteve Dickson <steved@redhat.com>2017-04-09 15:22:07 -0400
commit29c322e391ad377f3e3902df0997d402c55aa0ce (patch)
tree4c0f6feba48451b2aac945f6abdd6c32404ee0ff /utils/gssd/gssd.c
parentabe0774b0f39bdb32790e6ed20627e6fc43682f3 (diff)
downloadnfs-utils-29c322e391ad377f3e3902df0997d402c55aa0ce.tar.gz
nfs-utils-29c322e391ad377f3e3902df0997d402c55aa0ce.tar.xz
nfs-utils-29c322e391ad377f3e3902df0997d402c55aa0ce.zip
gssd: add a deprecation warning for pipefs-directory in gssd section
All the daemons should use the same rpc_pipefs, so pipefs-directory should be specified in the [general] section. Signed-off-by: Scott Mayhew <smayhew@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/gssd.c')
-rw-r--r--utils/gssd/gssd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/gssd/gssd.c b/utils/gssd/gssd.c
index 77125f1..28f9649 100644
--- a/utils/gssd/gssd.c
+++ b/utils/gssd/gssd.c
@@ -857,6 +857,10 @@ read_gss_conf(void)
s = conf_get_str("gssd", "pipefs-directory");
if (!s)
s = conf_get_str("general", "pipefs-directory");
+ else
+ printerr(0, "WARNING: Specifying pipefs-directory in the [gssd] "
+ "section of %s is deprecated. Use the [general] "
+ "section instead.", NFS_CONFFILE);
if (s)
pipefs_path = s;
s = conf_get_str("gssd", "keytab-file");