[Bug 1697339] Re: rpc.gssd performs reverse DNS by default (regardless of -D flag)

Andreas Hasenack andreas at canonical.com
Fri Apr 26 18:00:56 UTC 2019


Oh, hm, I was mislead, this is using systemd already, it's just shipping
the upstart files along for the ride.

So:
/lib/systemd/system/rpc-gssd.service reads /run/sysconfig/nfs-utils, which is generated by /lib/systemd/system/nfs-config.service by calling /usr/lib/systemd/scripts/nfs-utils_env.sh.

That wrapper /usr/lib/systemd/scripts/nfs-utils_env.sh sources
/etc/default/nfs-common and /etc/default/nfs-kernel-server, but doesn't
handle rpc.gssd options. In fact, it has this comment:

# the following are supported by the systemd units, but not exposed in default files
...
# echo RPCGSSDARGS=\"$RPCGSSDARGS\"


So even if you define RPCGSSDARGS in one of those /etc/default/nfs* files, it won't be passed along to the systemd service. Why was it decided like that? No idea :/

I guess the answer to my question in #10 is "use a systemd service
override and add the -D option there"?

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1697339

Title:
  rpc.gssd performs reverse DNS by default (regardless of -D flag)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1697339/+subscriptions



More information about the Ubuntu-server-bugs mailing list