William Harrington wrote:
On Fri, October 23, 2015 02:40, Bruce Dubbs wrote:
I've been trying to update nfs-utils but have had problems starting
nfsd. The error message is:
writing fd to kernel failed: errno 97
This apparently happens when trying to set up for ipv6. Passing
--disable-ipv6 to the nfs-utils configure fixes it for me, but what is
wrong with my kernel? I have:
CONFIG_IPV6=y
That should be enough.
I'm curious if rcpbind starts without errors. Also, is ipv6 support
enabled by default during configure/build of rcpbind and libtirpc?
I'd look at the rpc side of things. It has been a long time since I've
needed nfs, and I don't remember if there is one bootscript for nfs which
starts everything or if rcpbind is in a script by itself.
There are two boot scripts: rpcbind and nfs-server.
I started playing around with the ipv6 options in the kernel. I enabled
everything and then nfsd worked. I then tried to remove the options a
few at a time to see where it failed. I finally got back to the
original configuration and it still worked. So the bottom line is that
just rebooting worked. I suppose my different tests may have corrupted
some data within the kernel, but I don't really know.
In any case, I can no longer reproduce the error so I guess we need to
drop it unless someone else sees the problem.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page