Date: Fri, 22 Dec 1995 12:18:12 -0800 From: "Jin Guojun[ITG]" <jin@pesto.lbl.gov> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/909: exports: Bad lines. mountd won't export FS Message-ID: <199512222018.MAA28959@pesto.lbl.gov> Resent-Message-ID: <199512222020.MAA16123@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 909 >Category: kern >Synopsis: exports: Bad lines. mountd won't export FS >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 22 12:20:01 PST 1995 >Last-Modified: >Originator: Jin Guojun[ITG] >Organization: /-------------- Jin Guojun ------------ v ---- Internet: g_jin@lbl.gov ----\ | Imaging & Distributed Computing | Usenet: ucbvax!g_jin@lbl.gov | | Lawrence Berkeley Laboratory | Bitnet: -- | | 50B-2239, Berkeley, CA 94720 - jin%george.lbl.gov@Csa3.LBL.Gov | \--Ph#:(510) 486-7531 + Fax: 486-6363 --^--http://www-itg.lbl.gov/ITG.html-/ >Release: FreeBSD 2.1-STABLE i386 >Environment: 2.1.0-RELEASE >Description: There is no way to export two (2) subdirectories on a same files system. ----------------------------------------------------------------- This is working when /usr/other is on /usr, and /usr/local is on a different file system: # more /etc/fstab /dev/wd0s2b none swap sw 0 0 /dev/wd0a / ufs rw 1 1 /dev/wd0s2e /usr ufs rw 1 1 /dev/wd0s3e /usr/local ufs rw 1 1 # more /etc/exports /usr/local -ro -mapall=nobody:100 -network xxxx.yyyy.zzzz -mask a.b.c.d /usr/other -ro -mapall=nobody:100 -network xxxx.yyyy.zzzz -mask a.b.c.d ----------------------------------------------------------------- This is not working: # more /etc/fstab /dev/wd0s2b none swap sw 0 0 /dev/wd0a / ufs rw 1 1 /dev/wd0s2e /usr ufs rw 1 1 # more /etc/exports /usr/other -ro -mapall=nobody:100 -network xxxx.yyyy.zzzz -mask a.b.c.d /usr/local -ro -mapall=nobody:100 -network xxxx.yyyy.zzzz -mask a.b.c.d Dec 22 05:56:17 myname mountd[76]: Can't change attributes for /usr/local. Dec 22 05:56:17 myname mountd[76]: Bad exports list line /usr/local -ro -mapall Dec 22 05:56:17 myname mountd[76]: Bad exports list line /usr/local -ro -mapall If changing the /etc/exports to /usr -ro -mapall=nobody:100 -network xxxx.yyyy.zzzz -mask a.b.c.d then the clients can only mount entire /usr, but not /usr/local and /usr/other. ----------------------------------------------------------------- >How-To-Repeat: This can be repeated following above description. >Fix: I hope this can be fixed. If this problem is the original design for the kernel and won't be resolved, please let me know. Thanks. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512222018.MAA28959>