Comment 15 for bug 835833

Revision history for this message
Ming Lei (tom-leiming) wrote : Re: spurious syslog error because of use of -w on boot [rpcbind.xdr / portmap.xdr : errno 2 (no such file)]

The error message can be avoided by the change below[1], but which can not
prevent the warning[2] from being dumped during boot, so something is still
wrong.

[1],
--- /etc/init/portmap.conf.ori 2012-01-25 16:26:41.294206952 +0800
+++ /etc/init/portmap.conf 2012-01-25 16:16:03.884262204 +0800
@@ -31,5 +31,7 @@
   . /etc/rpcbind.conf
  fi

+ if [ ! -f /var/run/rpcbind/rpcbind.xdr ]; then touch /var/run/rpcbind/rpcbind.xdr; fi
+ if [ ! -f /var/run/rpcbind/portmap.xdr ]; then touch /var/run/rpcbind/portmap.xdr; fi
  exec rpcbind $OPTIONS
 end script

[2],
"waiting for network configuration",
"waiting 60 more seconds"
"booting without complete network configuration"