Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Starting NFS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1968

PostPosted: Mon Jun 27, 2016 8:44 am    Post subject: Starting NFS Reply with quote

I'm starting NFS and its associated daemons in the default runlevel, but getting an error message:
Code:

rpc.nfsd address family AF_INET6 not supported by protocol TCP
rpc.nfsd unable to set any sockets for nfsd

(This is with ipv6 commented out of sysctl.conf).

After logging in running /etc/init.d/nfs start starts NFS with no further difficulty, so it's clearly
a timing problem; does anyone have any idea where I could put a delay to allow NFS to start
first time?

Thanks - Will
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 6959

PostPosted: Mon Jun 27, 2016 11:31 am    Post subject: Reply with quote

I have myself use a different solve for the problem, first because i need to check if my server is up or down in order to avoid nfs trying to mount share that have 0 chance to mount because the server is not ready ; bypassing the timing for each nfs mount try that will fails. Second to unconditionally make the service returning always 0 even if some nfs mount fail, because openrc will stops any depending service if one mount fail now (a totally stupid feature for me).
So i have create a mynetmount script that run netmount, and netmount is never run in default, but mynetmount is.

But if you just want fixing netmount, add this to rc.conf and it should do what you want
rc_netmount_need="net"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum