Date: Sat, 26 Oct 1996 01:00:37 GMT From: Adam David <adam@veda.is> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/1891: mountd fails to export Message-ID: <199610260100.BAA01567@veda.is> Resent-Message-ID: <199610260110.SAA11330@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1891 >Category: bin >Synopsis: mountd fails to export >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 25 18:10:01 PDT 1996 >Last-Modified: >Originator: Adam David >Organization: Veda Internet >Release: FreeBSD 2.2-CURRENT i386 >Environment: NFS >Description: if one of the hostnames in /etc/exports is misspelt or fails to resolve due to a transient failure, the whole line is junked even when other hosts are specified and available. This also applies to hostnames included via netgroups. >How-To-Repeat: assuming that "friendly" is a valid host on the local foo.com network foo# echo "/usr friendly moo.cow" >exports.foo foo# mountd exports.foo foo# showmount -e Exports list on localhost: foo# echo "/usr friendly" >exports.foo foo# kill -HUP `cat /var/run/mountd.pid` foo# showmount -e Exports list on localhost: /usr friendly.foo.com foo# >Fix: Skip the host instead of skipping immediately to the next line every time get_host() returns an error. or: Document that it is a requirement for all hosts in /etc/exports to be defined in /etc/hosts in order to prevent failed exports to reachable hosts. or: Document that it is advisable to separate host lists topologically into separate lines in /etc/exports >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610260100.BAA01567>