From owner-freebsd-stable@FreeBSD.ORG Tue Oct 17 17:37:08 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58B8A16A415; Tue, 17 Oct 2006 17:37:08 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx0.rink.nu (thunderstone.rink.nu [80.112.228.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04A6F43D5C; Tue, 17 Oct 2006 17:37:06 +0000 (GMT) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx0.rink.nu (Postfix) with ESMTP id 16F4A170A5; Tue, 17 Oct 2006 19:37:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx0.rink.nu ([127.0.0.1]) by localhost (thunderstone.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rZjy3FC6Axsq; Tue, 17 Oct 2006 19:37:42 +0200 (CEST) Received: by mx0.rink.nu (Postfix, from userid 1000) id A0DF417094; Tue, 17 Oct 2006 19:37:42 +0200 (CEST) Date: Tue, 17 Oct 2006 19:37:42 +0200 From: Rink Springer To: Rink Springer , Lin Jui-Nan Eric , stable@freebsd.org Message-ID: <20061017173742.GB83613@rink.nu> References: <47713ee10610150811w4cca315etc051e0fe14d88dab@mail.gmail.com> <20061015151924.GA50017@rink.nu> <47713ee10610150830g4dc4b747j9425d3b5194829f1@mail.gmail.com> <20061015154022.GC50017@rink.nu> <20061015220111.GA10634@Update.UU.SE> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: <20061015220111.GA10634@Update.UU.SE> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Subject: Re: mountd changed? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Oct 2006 17:37:08 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Erik, Lin, On Mon, Oct 16, 2006 at 12:01:11AM +0200, Erik Trulsson wrote: > [Second attempt to send this, since my first seems to have been eaten by = my > ISP. Apologies if it appears twice.] >=20 > On Sun, Oct 15, 2006 at 05:40:22PM +0200, Rink Springer wrote: > > Hi, > >=20 > > On Sun, Oct 15, 2006 at 11:30:23PM +0800, Lin Jui-Nan Eric wrote: > > > Hi, > > >=20 > > > If I revert to revision 1.81.2.4, it worked correctly. > > >=20 > > > On 10/15/06, Rink Springer wrote: > > > >Hi, > > > > > > > >Hmm, I recently changed something which might trigger this. Could you > > > >back out revision 1.81.2.5 of src/usr.sbin/mountd/mountd.c and let me > > > >know whether this fixed the problem? > > > > > >=20 > > OK, could you try the attached patch (untested) and let me know whether > > it works? (it patches the 1.81.2.5 revision of mountd.c) >=20 > I had the same problems, but only when trying to export directories from > the root filesystem. Your patch below would not help. > The following patch (very much inspired by the comment on line 1038 in > mountd.c) makes things work for me: I intend to commit the patch at http://rink.nu/tmp/mountd.c.diff, which is basically a commented version of the patch by Erik. However, I'm still under mentorship, and Warner (imp) seems to be unreachable, which actually doesn't really surprise me. Anyway, if anyone authorized could give me the go-ahead, I'd be happy to commit this ... --=20 Rink P.W. Springer - http://rink.nu "Patience is for those who cannot afford decent hardware." - Peter Koeleman --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFNRTmb3O60uztv/8RApT9AJ0RqJ6ep+I2UuPGtYMdLuy6kx99UACfZmxT /mxAWJePjCP/BKxsiCFcIrw= =8bKO -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--