Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: gerald_clark on November 22, 2009, 03:29:07 AM

Title: nfs-utils under 2.5
Post by: gerald_clark on November 22, 2009, 03:29:07 AM
I am having a problem with nfs-server running mounted.
rpc.mountd fails to start unless it is after exportfs.

Another issue is that /usr/local/etc/exports is a symlink into mounted extension, and not writeable.
It does not appear to be used, though. /etc/exports is used.
Title: Re: nfs-utils under 2.5
Post by: Jason W on November 22, 2009, 07:10:50 AM
I will test the rpc.mountd function when I get home to my nfs setup.

The exports file in /usr/local/etc/ is just there to be copied to /etc/ by the startup script if it does not exist.  The "cp -p" function copies the target, that is the real file.

Taken from the startup script:

[ -f /etc/exports ] || cp -p /usr/local/etc/exports /etc/
Title: Re: nfs-utils under 2.5
Post by: Jason W on November 22, 2009, 07:21:29 AM
Upon looking at Slackware's nfs init script, exportfs is indeed before starting the daemons.  I will change the init.d script to match it.
Title: Re: nfs-utils under 2.5
Post by: gerald_clark on November 22, 2009, 12:25:15 PM
Thanks, Jason.
That fixed the server problem.