Date: Sun, 24 Aug 2008 21:36:04 GMT From: Garrett Cooper <gcooper@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/126806: exports documentation incorrect or Message-ID: <200808242136.m7OLa4WC082670@www.freebsd.org> Resent-Message-ID: <200808242140.m7OLe5Al021402@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808242136.m7OLa4WC082670>