[Pkg-sysvinit-devel] timing issue in mountnfs

Petter Reinholdtsen pere at hungry.com
Thu Aug 6 06:15:05 UTC 2009


[Steve Wray]
> Hi there,
>
> I've encountered what I believe is a timing problem in mountnfs.
>
> It does not seem to give enough time between bringing up the network  
> interface and attempting NFS mounts.
>
> I'm referring to /etc/network/if-up.d/mountnfs
>
> I solved this by inserting some sleeps.

Yeah, I am aware of this.  The problem is really in the linux kernel,
which have become event based and thus unpredictable.  We are working
on a proper fix for this.

Can you provide information about the network equipment you have
(network card, computer model, switch vendor and model) and setup
(content of /etc/network/interfaces and output from lspci), and submit
it as a bug against the initscripts package?  I've seen similar with
static IP configuration and cisco switches, and would like to see if
this is similar or a different setup.

> I'd file a bug report but I don't believe that I'm qualified; I
> found my solution by trial and error and theres probably a 'right'
> way to do this that you have provided... and which I've been unable
> to figure out.

I suspect the problem could be improved slightly in the ifupdown
package, but am not sure.  Lets start with initscripts and take it
from there.

Happy hacking,
-- 
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list