Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29471 - netmount init script should use more reasonable timeout for NFS
Summary: netmount init script should use more reasonable timeout for NFS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-23 17:33 UTC by Richard Garand
Modified: 2003-10-13 14:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Garand 2003-09-23 17:33:41 UTC
I find the NFS timeout in the netmount init script to be a bit long (I just 
rebooted with the NFS server down, and I estimate that it took about 10 
minutes for it to give up). The init script should use a lower timeout - 10 to 
30 seconds would be much better. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Roger 2003-10-03 10:10:38 UTC
This time-out problem now seems to be resolved on my box.

before I had 'sleep 2' to fix, now, with the newer nfs init.d script just
installed today, it appears to bypass 'sleep' entirely now. ... as it should
i would think.

thanks for acknowledging/adjusting ;-)

oh, and reading over you bug post, i believe the old init.d script was hanging
my box on boot for ~30 (which corresponds to teh sleep statement within the
init.d script).. and was unnecessary for a common nfs server (i'm guessing).

now, w/ the adjustments, the script recognizes that it doesn't have to sleep
at all.
Comment 2 Richard Garand 2003-10-03 19:00:41 UTC
I'm sure the problem was in nfsmount, though, and that only starts statd
with start-stop-daemon (how long can that take?) and executes mount -a -t
nfs... which must be where the problem lies.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-13 14:00:42 UTC
It was a bug in the dep caching code that did not pull in the
portmap and nfs rc-scripts.