Mailinglist Archive: opensuse (1461 mails)

< Previous Next >
Re: [opensuse] Mounting NFS Shares During Boot
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Sat, 16 May 2009 08:02:24 -0700
  • Message-id: <200905160802.24758.rschulz@xxxxxxxxx>
On Saturday May 16 2009, Anders Johansson wrote:
On Saturday 16 May 2009 16:29:42 Randall R Schulz wrote:
From the header of /etc/init.d/nfs:

### BEGIN INIT INFO
# Provides: nfs
# Required-Start: $network $portmap
# Required-Stop: $network $portmap
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: NFS client services
# Description: All necessary services for NFS clients
### END INIT INFO


I believe that's meant to keep nfs from running until the network
and the port mapper are initialized.

The portmapper (or in 11.1 rpcbind) listens to "all available
interfaces". This means it can start even if only localhost is up.

Unless you added your network interface to MANDATORY_DEVICES in
/etc/sysconfig/network/config, either by editing the config file
directly or by setting the interface as mandatory in YaST, the
startup script is not going to wait for it, it will allow it to
initialize in the background.

That could be it. The hint in /etc/sysconfig/network/config:

# /etc/init.d/rc5.d/S*network start -o debug fake | grep MANDAT

shows three lines of output including MANDATORY_DEVICES, all of them
empty.

[ By the way, if you're in a position to do something about this, the
recipe shown there should be fixed, since all the output
from /etc/init.d/network, at least with the invocation given, goes to
standard error. Hence a 2>&1 redirection is needed so grep gets the
output. ]


Anders


Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >