[Bug 1179980] [NEW] nfs-common: gssd upstart config does not permit usage of startup options
Christopher Odenbach
odenbach at uni-paderborn.de
Tue May 14 15:02:39 UTC 2013
Public bug reported:
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"
** Affects: nfs-utils (Ubuntu)
Importance: Undecided
Status: New
--
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:
New
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