From owner-cvs-all@FreeBSD.ORG Fri Apr 13 10:27:31 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D96916A402; Fri, 13 Apr 2007 10:27:31 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id C29C613C459; Fri, 13 Apr 2007 10:27:30 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 6FF8648805; Fri, 13 Apr 2007 12:27:29 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 784F148800; Fri, 13 Apr 2007 12:27:24 +0200 (CEST) Date: Fri, 13 Apr 2007 12:27:15 +0200 From: Pawel Jakub Dawidek To: Mike Makonnen Message-ID: <20070413102715.GC5172@garage.freebsd.pl> References: <200704130642.l3D6gPuM051774@repoman.freebsd.org> <20070413084930.GB3859@garage.freebsd.pl> <20070413093726.GA2496@rogue.navcom.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f+W+jCU1fRNres8c" Content-Disposition: inline In-Reply-To: <20070413093726.GA2496@rogue.navcom.lan> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d mountd X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2007 10:27:31 -0000 --f+W+jCU1fRNres8c Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 13, 2007 at 12:37:26PM +0300, Mike Makonnen wrote: > On Fri, Apr 13, 2007 at 10:49:30AM +0200, Pawel Jakub Dawidek wrote: > > Anyway, I need to change it somehow by install for example an empty > > /etc/zfs/exports (not really nice), because I want to handle situation > > where one boots his system with zfs_enable=3D"YES", but no > > /etc/zfs/exports and then start to export ZFS file systems over NFS. > > Currently it won't work without a reboot, because mountd(8) is skipping > > non-existing /etc/zfs/exports. >=20 > One option is simply to issue: /etc/rc.d/mountd restart > after nfs sharing is enabled. I fixed it to log a warning when file cannot be open and about only when none of the given files were open properly. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --f+W+jCU1fRNres8c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGH1sDForvXbEpPzQRAruYAJ97UdnKY72ubWr0/TGItda2vPxkoACfaunx zzdoeobnbcn4yAYutBKRjcw= =+b8W -----END PGP SIGNATURE----- --f+W+jCU1fRNres8c--