Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #60222

Bug#884871: rpc.svcgssd starts while disabled in /etc/default/nfs-kernel-server

From Sergio Gelato <Sergio.Gelato@astro.su.se>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#884871: rpc.svcgssd starts while disabled in /etc/default/nfs-kernel-server
Date 2018-02-16 16:00 +0100
Message-ID <vjPEu-1T6-5@gated-at.bofh.it> (permalink)
References <uYSGZ-Nx-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


rpc.svcgssd is also needed on clients in order to support NFSv4.0 callbacks.
It was moved from nfs-kernel-server to nfs-common for this reason. See
Debian bug #651558.

Apparently the task of starting rpc.svcgssd under SysV init is still entrusted
to the nfs-kernel-server package. Maybe something needs to be done about that.

If you are using systemd, you may find the file systemd/README in the source
package to be of interest. The relevant portion reads:

"rpc.gssd and rpc.svcgssd are assumed to be needed if /etc/krb5.keytab
is present.
If a site needs this file present but does not want the gss daemons
running, it should create
   /etc/systemd/system/rpc-gssd.service.d/01-disable.conf
and
   /etc/systemd/system/rpc-svcgssd.service.d/01-disable.conf

containing
   [Unit]
   ConditionNull=false
"

I think this (or equivalent information; I'd have suggested "systemctl disable"
instead of the above approach) should be included somewhere under
/usr/share/doc/nfs-common/.

As for the side question on how to disable version 4.0 but not 4.1:
try passing --no-nfs-version=4.0 to nfsd. (I haven't tested this myself
yet, only read utils/nfsd/nfsd.c. The man page is too terse about this.)

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#884871: nfs-kernel-server: svcgssd starts anyways when "disabled" in /etc/default/nfs-kernel-server Matt Weatherford <mbw@uw.edu> - 2017-12-20 21:00 +0100
  Bug#884871: rpc.svcgssd starts while disabled in /etc/default/nfs-kernel-server Sergio Gelato <Sergio.Gelato@astro.su.se> - 2018-02-16 16:00 +0100

csiph-web