From owner-freebsd-bugs Tue Jan 14 09:40:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA25308 for bugs-outgoing; Tue, 14 Jan 1997 09:40:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA25279; Tue, 14 Jan 1997 09:40:03 -0800 (PST) Resent-Date: Tue, 14 Jan 1997 09:40:03 -0800 (PST) Resent-Message-Id: <199701141740.JAA25279@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, root@blackfire.com Received: from blackfire.com (hill153.uwyo.edu [129.72.150.153]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id JAA24876 for ; Tue, 14 Jan 1997 09:34:46 -0800 (PST) Received: (qmail 633 invoked by uid 0); 14 Jan 1997 17:35:53 -0000 Message-Id: <19970114173553.632.qmail@blackfire.com> Date: 14 Jan 1997 17:35:53 -0000 From: root@blackfire.com Reply-To: root@blackfire.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/2495: mountd does not like any lines but the first one (/etc/exports) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2495 >Category: bin >Synopsis: mountd does not like any lines in /etc/exports except 1st one >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 14 09:40:01 PST 1997 >Last-Modified: >Originator: System Administrator >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD 3.0-CURRENT, running on a dual-homed host, exporting several drives to one host. Client is running FreeBSD 2.1.6-RELEASE. >Description: This prvents me from being able to mount any directories except first one. >How-To-Repeat: Use the following /etc/exports: /usr/home -maproot=0 ai /usr/local/bin -maproot=0 ai /usr/local/etc -maproot=0 ai /usr/local/sbin -maproot=0 ai Directories can be individually removed, ANY of the above works if it is the FIRST entry. The '-maproot=0' can be removed with no effect on 2-4 lines. Client gives access denied errors. If mountd is compiled from FreeBSD-current source, with the DEBUG define, it gives the following output: (I have put a star before each line that appears in the logs when compiled without DEBUG) bash# ./mountd Getting export list. Got line /usr/home -maproot=0 ai Making new ep fs=0x20015,0x1 doing opt -maproot=0 ai got host ai Got line /usr/local/bin -maproot=0 ai Found ep fs=0x20015,0x1 doing opt -maproot=0 ai got host ai * Can't change attributes for /usr/local/bin. Bad exports list line /usr/local/bin -maprootGot line /usr/local/etc -maproot=0 ai Found ep fs=0x20015,0x1 doing opt -maproot=0 ai got host ai * Can't change attributes for /usr/local/etc. Bad exports list line /usr/local/etc -maprootGot line /usr/local/sbin -maproot=0 ai Found ep fs=0x20015,0x1 doing opt -maproot=0 ai got host ai * Can't change attributes for /usr/local/sbin. Bad exports list line /usr/local/sbin -maprootGetting mount list. Here we go. At this point, it talks to the first directory only... >Fix: None known. >Audit-Trail: >Unformatted: