Hi
I also have to dissagree with Steve Langasek (vorlon). If you use a command
wrongly I do not see why it should supress the errormessages. Please apply the
patch or this modified version after you have tested it.
I would like it as a default option and not to override or add to the custom
options.
I have not tested it yet, but it should be something like this:
--- /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"
+ if [ -e /run/rpcbind/portmap.xdr ] || \
+ [ -e /run/rpcbind/rpcbind.xdr ] ; then
+ OPTIONS="-w"
+ fi
if [ -f /etc/default/rpcbind ]; then
. /etc/default/rpcbind
elif [ -f /etc/rpcbind.conf ]; then
. /etc/rpcbind.conf
fi
exec rpcbind $OPTIONS
end script
Please apply some patch, it has gone almost a year now since first
report and that is not so great I think. Thank you.
--
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