Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 1997 01:33:15 +0200 (CEST)
From:      Alain Brauner <alainb@freegate.gna.org>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/4448: Pb with -alldirs options in /etc/exports.
Message-ID:  <199709012333.BAA01469@freegate.gna.org>
Resent-Message-ID: <199709012350.QAA26884@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709012333.BAA01469>