Is there some good reason why the nfs rc script exits if /etc/exports
is empty? [ -s /etc/exports ] || exit 0
If an admin adds something to /etc/exports, they have to kick the
rc script too. Seems silly.
-- Mark
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
On Monday February 3, [email protected] wrote:
>
> Is there some good reason why the nfs rc script exits if /etc/exports
> is empty? [ -s /etc/exports ] || exit 0
Empty (or non-existant) /etc/exports means that you don't want to
export anything, so the relevant daemons aren't run at all.
>
> If an admin adds something to /etc/exports, they have to kick the
> rc script too. Seems silly.
If you want to start a service that wasn't previously configured, then
running the rc script is the normal thing to do.
Put a comment in /etc/exports if you really want the daemons, but no
exports.
NeilBrown
>
> -- Mark
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> NFS maillist - [email protected]
> https://lists.sourceforge.net/lists/listinfo/nfs
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
On Mon, Feb 03, 2003 at 11:31:21AM +1100, Mark Goodwin wrote:
>
> Is there some good reason why the nfs rc script exits if /etc/exports
> is empty? [ -s /etc/exports ] || exit 0
>
> If an admin adds something to /etc/exports, they have to kick the
> rc script too. Seems silly.
>
We did
# echo "#" > /etc/exports
for this purpose.
H.J.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs