From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 24 21:40:06 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15FC7106568F for ; Sun, 24 Aug 2008 21:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 522968FC25 for ; Sun, 24 Aug 2008 21:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7OLe5nd021403 for ; Sun, 24 Aug 2008 21:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7OLe5Al021402; Sun, 24 Aug 2008 21:40:05 GMT (envelope-from gnats) Resent-Date: Sun, 24 Aug 2008 21:40:05 GMT Resent-Message-Id: <200808242140.m7OLe5Al021402@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99C711065674 for ; Sun, 24 Aug 2008 21:36:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id A07CB8FC0A for ; Sun, 24 Aug 2008 21:36:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m7OLa4Ht082671 for ; Sun, 24 Aug 2008 21:36:04 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m7OLa4WC082670; Sun, 24 Aug 2008 21:36:04 GMT (envelope-from nobody) Message-Id: <200808242136.m7OLa4WC082670@www.freebsd.org> Date: Sun, 24 Aug 2008 21:36:04 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/126806: exports documentation incorrect or X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2008 21:40:06 -0000 >Number: 126806 >Category: misc >Synopsis: exports documentation incorrect or >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 24 21:40:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: CURRENT >Organization: n/a >Environment: FreeBSD optimus.gateway.2wire.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Aug 18 21:49:28 PDT 2008 root@:/usr/obj/usr/src/sys/OPTIMUS amd64 >Description: Either the documentation for exports or the parsing being done is incorrect. According to the examples in exports(5), I should be able to do the following... /usr /usr/local -maproot=0:10 friends .. in exports, and it should work. What I tried (just as an experiment): optimus# cat /etc/exports /scratch -alldirs -maproot=nobody /store -alldirs -maproot=nobody /var /usr -alldirs -maproot=nobody What I got however was /var and /usr aren't being exported: optimus# showmount -e Exports list on localhost: /store Everyone /scratch Everyone According to /var/log/messages from syslog it was a bad "line" in exports: Aug 24 14:28:00 optimus mountd[686]: bad exports list line /var /usr I'm not sure if this is a documentation issue or a functional issue, but the fact is that the 2 items don't align with one another. Thanks, -Garrett >How-To-Repeat: echo "/var /usr -alldirs -maproot=nobody" >> /etc/exports && killall -HUP mountd >Fix: >Release-Note: >Audit-Trail: >Unformatted: