From owner-freebsd-stable@FreeBSD.ORG Thu Jan 10 11:29:56 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E09F16A420 for ; Thu, 10 Jan 2008 11:29:56 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 0964613C45A for ; Thu, 10 Jan 2008 11:29:54 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so681385fgg.35 for ; Thu, 10 Jan 2008 03:29:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:x-operating-system:user-agent; bh=6uAGRy/PPJjoQW5sWFPI9dBhRzXqTHUFVxazbZMM55Y=; b=FrNGp0t0dV4UzbwUjf83hhK712OsFAd7UQ3Lhqv+ZQ79zRsAYEfnY1EkGrCfUrQB8D52Dn2hMDsGrC71rt23K7OJsO9eNj9N8BnUhwKmlTQL7/3PaBtYd6M8Xrx7MaUJfAx+APx/cvt/h2LWy6gfBfuYKbYe5bFxJU1SqysSnmU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:x-operating-system:user-agent; b=W68pj23TKlSCL/ePnF3S8ngreTbr7s80KvwVz0+uQgwwq7pUQ7KH8Z3Unn/xjxkMPa7o8THBJnxBcBRoKFb5Id6czBnuT5zp/FzOOS6ZtS3Xm8CDfEu9T7d5ad8E8yR3AtPZ8k2YMjImECbTw1ObLrWmA+uM0OBOxknhmM4D3v8= Received: by 10.78.133.2 with SMTP id g2mr1956228hud.26.1199964593499; Thu, 10 Jan 2008 03:29:53 -0800 (PST) Received: from gauss.sanabria.es ( [83.56.219.200]) by mx.google.com with ESMTPS id k9sm1397220nfh.25.2008.01.10.03.29.51 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Jan 2008 03:29:52 -0800 (PST) Received: by gauss.sanabria.es (Postfix, from userid 1001) id 6AEEF1B6; Thu, 10 Jan 2008 12:29:47 +0100 (CET) Date: Thu, 10 Jan 2008 12:29:47 +0100 From: Jose Garcia Juanino To: "Julian H. Stacey" Message-ID: <20080110112947.GA862@gauss.sanabria.es> Mail-Followup-To: "Julian H. Stacey" , stable@freebsd.org, Greg Byshenk References: <20080105222831.GA862@gauss.sanabria.es> <20080106144120.GD4601@core.byshenk.net> <20080106163830.GA3790@gauss.sanabria.es> <20080107110649.GE4601@core.byshenk.net> <200801071325.m07DPeOU006009@fire.js.berklix.net> <200801100010.m0A0AHTn054739@fire.js.berklix.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <200801100010.m0A0AHTn054739@fire.js.berklix.net> X-Operating-System: FreeBSD 7.0-PRERELEASE User-Agent: Mutt/1.5.17 (2007-11-01) Cc: stable@freebsd.org, Greg Byshenk Subject: Re: Cannot mount a nfs share after doing a snapshot 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: Thu, 10 Jan 2008 11:29:56 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El jueves 10 de enero a las 01:10:17 CET, Julian H. Stacey escribi=F3: > "Julian H. Stacey" wrote: > > I too saw mountd / exports just fail on 2 systems upgraded in last > > days from 7RC4 to newest 7 Stable (CTM src-7 80, received here Jan > > 6 15:15 CEST=3DGMT+01:00). I am not using .snap snapshot. My other > > AMD & NFS on other FreeBSD-4 & 6 hosts remains OK. > > AMD & NFS as client & server was working till then. I just upgraded src/ > > & rebooted & exports failed. > >=20 > > messages: > > mountd[563]: can't change attributes for / > > mountd[563]: bad exports list line / host1 host2 host3 > >=20 > > named seems to resolve hosts OK though. (my usual first suspect :-) > >=20 > > su; mount_nfs lapd:/usr /mnt > > [udp] lapd:/usr: Permission denied > >=20 > > Maybe changed hosts/pam/ssh/inetd type root auth defaults between RC4 &= now ? >=20 > My mistake. Fixed here by running mergemaster -sicvP=20 > & removing ::1 from my /etc/hosts to avoid IPV6. =20 Yes, you are right, I have following your suggestions and the problem has gone away. Take a look at the following lines in /usr/share/examples/etc/hosts: ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain I have changed both lines to point out my own domain: ::1 localhost localhost.sanabria.es 127.0.0.1 localhost localhost.sanabria.es Before this change, I had: ::1 localhost localhost.localdomain 127.0.0.1 localhost localhost.localdomain Thus, it was my fault, as I did not make the mergemaster in the right way. Greg, that works for you? Thanks a lot Julian for your reply. --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHhgGrFOo0zaS9RnIRAs1cAKCyrD3xlTl6Z+HzXOOEwCe5TCc+iACguO7Z HKqV6VirfExfjb64BMZfN/g= =gu7x -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3--