Public bug reported: The service file "rpc-svcgssd.service" passes the environment variable "SVCGSSDARGS" within the exec command. The environment is pulled from "/run/sysconfig/nfs-utils" file, which is generated by "/usr/lib/systemd/scripts/nfs-utils_env.sh" script, which is called by the "nfs-config.service", which is a dependency of "rpc- svcgssd.service".
The nfs-utils_env.sh script is used to collect the configuration settings from "/etc/default/nfs-common" and "/etc/default/nfs-kernel- server" to create the include file for the nfs service in /run. Anyway $SVCGSSDOPTS is passed as argument for ExecStart, but it is never created. But "/etc/default/nfs-kernel-server" contains are predefined (and by default empty) variable RPCSVCGSSDOPTS with a comment '# Options for rpc.svcgssd'. So could you please replace $SVCGSSDOPTS with $RPCSVCGSSDOPTS in /lib/systemd/system/rpc-svcgssd.service. Some additional info: $ cat /etc/os-release NAME="Ubuntu" VERSION="16.04.1 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.1 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" UBUNTU_CODENAME=xenial $ apt-file search /lib/systemd/system/rpc-svcgssd.service nfs-common: /lib/systemd/system/rpc-svcgssd.service $ dpkg -l nfs-common Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===============================================-============================-============================-=================================================================================================== ii nfs-common 1:1.2.8-9ubuntu12 amd64 NFS support files common to client and server $ cat /lib/systemd/system/rpc-svcgssd.service [Unit] Description=RPC security service for NFS server DefaultDependencies=no Requires=run-rpc_pipefs.mount After=run-rpc_pipefs.mount local-fs.target PartOf=nfs-server.service PartOf=nfs-utils.service ConditionPathExists=/etc/krb5.keytab Wants=nfs-config.service After=nfs-config.service [Service] EnvironmentFile=-/run/sysconfig/nfs-utils Type=forking ExecStart=/usr/sbin/rpc.svcgssd $SVCGSSDARGS ** Affects: nfs-utils (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1634159 Title: nfs-common: rpc-svcgssd.service file uses SVCGSSDOPTS and not RPCSVCGSSDOPTS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1634159/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
