From owner-freebsd-bugs Fri Oct 25 18:10:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA11336 for bugs-outgoing; Fri, 25 Oct 1996 18:10:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA11330; Fri, 25 Oct 1996 18:10:03 -0700 (PDT) Resent-Date: Fri, 25 Oct 1996 18:10:03 -0700 (PDT) Resent-Message-Id: <199610260110.SAA11330@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, adam@veda.is Received: from veda.is (root@ubiq.veda.is [193.4.230.60]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA10845 for ; Fri, 25 Oct 1996 18:00:48 -0700 (PDT) Received: (from adam@localhost) by veda.is (8.8.2/8.7.3) id BAA01567; Sat, 26 Oct 1996 01:00:37 GMT Message-Id: <199610260100.BAA01567@veda.is> Date: Sat, 26 Oct 1996 01:00:37 GMT From: Adam David Reply-To: adam@veda.is To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1891: mountd fails to export Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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: