Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 May 2014 18:10:41 +0200
From:      Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
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?=
Message-ID:  <536CFE01.5010609@omnilan.de>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAlNs/gYACgkQLDqVQ9VXb8gEgACfQNAcqn5eQqQlAM99Iz8gn3yK
fqoAn3jtJhL8poJ8FauhfRckADF2A3qf
=Q8HX
-----END PGP SIGNATURE-----
help

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