From owner-freebsd-questions@FreeBSD.ORG Fri May 9 16:10:56 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C00A7EA for ; Fri, 9 May 2014 16:10:56 +0000 (UTC) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 10E296D7 for ; Fri, 9 May 2014 16:10:55 +0000 (UTC) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id s49GAkx1042126 for ; Fri, 9 May 2014 18:10:51 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id A4CAC3931; Fri, 9 May 2014 18:10:46 +0200 (CEST) Message-ID: <536CFE01.5010609@omnilan.de> Date: Fri, 09 May 2014 18:10:41 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: How is rpc.lockd called? (in =?ISO-8859-15?Q?=BBchroot=AB_envi?= =?ISO-8859-15?Q?ronment_nfs-write-open_fails_with_=22lockd_not?= =?ISO-8859-15?Q?_responding=22=29?= X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigACFCE7B2633E738BA84707E4" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Fri, 09 May 2014 18:10:51 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2014 16:10:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigACFCE7B2633E738BA84707E4 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hello, I'd like to understand what's going on when opening a file for write access, like 'vi myfile'. I have a FreeBSD-9.2 machine, mounted a nfs shre to /mnt. 'vi /mnt/myfile' works without problems. Now I also mount the same nfs-share to /jail/mnt After 'chroot /jail su -' I can't open myfile, I just get "lockd not responding" errors. So I wonder how a file lock is requested in general and in the nfs case. Is there any unix socket which must be accessable (I don't think so, outside the jail there's only /var/run/rpcbind). Thanks for the lesson, any links explaining (nfs)lock-requests also highly appreciated! -Harry --------------enigACFCE7B2633E738BA84707E4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlNs/gYACgkQLDqVQ9VXb8gEgACfQNAcqn5eQqQlAM99Iz8gn3yK fqoAn3jtJhL8poJ8FauhfRckADF2A3qf =Q8HX -----END PGP SIGNATURE----- --------------enigACFCE7B2633E738BA84707E4--