Linux NFS development
 help / color / mirror / Atom feed
* [nfs-utils PATCH v4] systemd: add instructions for disabling gssd to nfs.systemd.man
@ 2017-07-20 20:24 Scott Mayhew
  2017-07-22  8:48 ` NeilBrown
  0 siblings, 1 reply; 9+ messages in thread
From: Scott Mayhew @ 2017-07-20 20:24 UTC (permalink / raw)
  To: steved; +Cc: linux-nfs

We've had several users complain about gssd automatically starting.  Not
everyone who has a krb5.keytab want to use secure NFS; the instructions
for disabling gssd ought to be on the man page in addition to the README
(which may not even be included in a distro's nfs-utils package).

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
---
 systemd/nfs.systemd.man | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/systemd/nfs.systemd.man b/systemd/nfs.systemd.man
index 01801eb..7675320 100644
--- a/systemd/nfs.systemd.man
+++ b/systemd/nfs.systemd.man
@@ -79,11 +79,26 @@ unit should be enabled.
 Several other units which might be considered to be optional, such as
 .I rpc-gssd.service
 are careful to only start if the required configuration file exists.
-.I rpc-gsdd.service
+.I rpc-gssd.service
 will not start if the
 .I krb5.keytab
 file does not exist (typically in
 .IR /etc ).
+.B rpc.gssd
+is assumed to be needed if the
+.I krb5.keytab
+file is present.  If a site needs this file present but does not want
+.B rpc.gssd
+running, it should create
+.B /etc/systemd/system/rpc-gssd.service.d/01-disable.conf
+containing
+.RS
+.nf
+[Unit]
+ConditionNull=false
+.fi
+.RE
+
 .SS Restarting NFS services
 Most NFS daemons can be restarted at any time.  They will reload any
 state that they need, and continue servicing requests.  This is rarely
-- 
2.9.4


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

end of thread, other threads:[~2017-07-26 18:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-20 20:24 [nfs-utils PATCH v4] systemd: add instructions for disabling gssd to nfs.systemd.man Scott Mayhew
2017-07-22  8:48 ` NeilBrown
2017-07-22 16:25   ` Scott Mayhew
2017-07-22 22:54     ` NeilBrown
2017-07-25 15:18       ` Scott Mayhew
2017-07-25 22:16         ` NeilBrown
2017-07-25 15:19   ` [nfs-utils PATCH] systemd: add a blurb about masking rpc-gssd to the man page Scott Mayhew
2017-07-25 22:20     ` NeilBrown
2017-07-26 18:05     ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox