misc/126806: exports documentation incorrect or

Garrett Cooper gcooper at FreeBSD.org
Sun Aug 24 21:40:06 UTC 2008


>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:


More information about the freebsd-bugs mailing list