[Bug 1179980] Re: nfs-common: gssd upstart config does not permit usage of startup options
Steve Langasek
steve.langasek at canonical.com
Tue May 14 21:11:17 UTC 2013
This is a deliberate design decision. /etc/default files are
discouraged whenever they aren't required to be supported for legacy
reasons, because they slow down the boot with gratuitous spawning of
shell processes. If you need to override the 'exec' stanza of
/etc/init/gssd.conf, the recommended/supported way to do that is with an
upstart override:
# echo 'exec rpc.gssd -option1 -option2' > /etc/init/gssd.override
** Changed in: nfs-utils (Ubuntu)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1179980
Title:
nfs-common: gssd upstart config does not permit usage of startup
options
Status in “nfs-utils” package in Ubuntu:
Won't Fix
Bug description:
Ubuntu Version: Quantal
Package: nfs-common
Version: 1:1.2.6-3ubuntu2
Problem:
The upstart init config for gssd does not permit any command line options to gssd. There are however some very important options for gssd which should be configurable in /etc/default/nfs-common, using a variable RPCGSSDOPTS.
The following trivial patch fixes the problem:
--- /afs/uni-paderborn.de/user/o/odenbach/gssd.conf 2013-05-14 16:30:08.000000000 +0200
+++ gssd.conf 2013-05-14 16:22:04.000000000 +0200
@@ -74,7 +74,13 @@
fi
end script
-exec rpc.gssd
+script
+ if [ -f "$DEFAULTFILE" ]; then
+ . "$DEFAULTFILE"
+ fi
+
+ exec rpc.gssd $RPCGSSDOPTS
+end script
post-stop script
if mountpoint -q "$PIPEFS_MOUNTPOINT"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1179980/+subscriptions
More information about the foundations-bugs
mailing list