How about using the fix suggested by in Debian Bug # 645880
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645880) ?
Simply start rpcbind without the '-w' option if neither of the relevant xdr
files exist.
I've modified the patch from the above Debian bug for compatibility with
Upstart:
--- /etc/init/portmap.conf (0.2.0-7ubuntu1) 2012-05-23 11:06:40.755992557
+1200
+++ /etc/init/portmap.conf 2012-05-23 11:43:56.813215443 +1200
@@ -24,11 +24,15 @@
pre-start exec mkdir -p /run/rpcbind
script
- OPTIONS="-w"
+ OPTIONS=""
if [ -f /etc/default/rpcbind ]; then
. /etc/default/rpcbind
elif [ -f /etc/rpcbind.conf ]; then
. /etc/rpcbind.conf
fi
+ if [ -e /run/rpcbind/portmap.xdr ] || \
+ [ -e /run/rpcbind/rpcbind.xdr ] ; then
+ OPTIONS="$OPTIONS -w"
+ fi
exec rpcbind $OPTIONS
end script
** Bug watch added: Debian Bug tracker #645880
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645880
** Patch added: "portmap.conf.diff"
https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/835833/+attachment/3158823/+files/portmap.conf.diff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/835833
Title:
spurious syslog error because of use of -w on boot [rpcbind.xdr /
portmap.xdr : errno 2 (no such file)]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/835833/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs