From owner-freebsd-bugs Mon Sep 1 16:50:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA26895 for bugs-outgoing; Mon, 1 Sep 1997 16:50:08 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA26884; Mon, 1 Sep 1997 16:50:02 -0700 (PDT) Resent-Date: Mon, 1 Sep 1997 16:50:02 -0700 (PDT) Resent-Message-Id: <199709012350.QAA26884@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, alainb@freegate.gna.org Received: from ns.afp.com (ns2.afp.com [158.50.204.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA26757 for ; Mon, 1 Sep 1997 16:45:56 -0700 (PDT) Received: from perrier.par.afp.com (perrier.par.afp.com [158.50.140.56]) by ns.afp.com (8.8.6/8.8.5) with ESMTP id CAA07104 for ; Tue, 2 Sep 1997 02:44:54 +0200 (METDST) Received: (from uucp@localhost) by perrier.par.afp.com (8.8.5/8.8.5) with UUCP id BAA15134 for FreeBSD-gnats-submit@freebsd.org; Tue, 2 Sep 1997 01:41:29 +0200 Received: (from alainb@localhost) by freegate.gna.org (8.8.7/8.8.7) id BAA01469; Tue, 2 Sep 1997 01:33:15 +0200 (CEST) Message-Id: <199709012333.BAA01469@freegate.gna.org> Date: Tue, 2 Sep 1997 01:33:15 +0200 (CEST) From: Alain Brauner Reply-To: alainb@freegate.gna.org To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/4448: Pb with -alldirs options in /etc/exports. Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4448 >Category: bin >Synopsis: mountd doesn't export a directory with -alldirs options. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 1 16:50:01 PDT 1997 >Last-Modified: >Originator: Alain Brauner >Organization: Private user >Release: FreeBSD 2.2-STABLE i386 >Environment: I am using FreeBSD 2.2-STABLE ( just cvsupped ) in order to boot a diskless SUN Sparc IPX for NetBSD installation. So I need to export a SWAP space with the -alldirs options and the -r option of mountd. >Description: When the -alldirs options is set, mountd -r cannot export the directory. It syslog: Could not remount "%s" and Bad export list line "%s" Someone has already reported a similar problem when exporting an EXT2FS see PR# kern/3879 >How-To-Repeat: Just put /home -alldirs in your /etc/exports file for example and issue a killall -HUP mountd >Fix: I made a Quick and Dirty Kludge (QDK), I simply remove the test in mountd.c producing the error message and return(1) ... And i was able to boot & swap diskless and install NetBSD. NOTE: -alldirs just work as expected in my brand new NetBSD :-) Thank's again & again for your wonderfull work ! >Audit-Trail: >Unformatted: