Date: Tue, 23 May 2017 23:54:41 +0200 From: =?UTF-8?Q?BERTRAND_Jo=c3=abl?= <joel.bertrand@systella.fr> To: Matthew Seaman <matthew@FreeBSD.org>, freebsd-hackers@freebsd.org, pkgsrc-users@pkgsrc.org Subject: Re: Issue with pkg upgrade on diskless workstation Message-ID: <d1818fc7-17ad-f6ca-97bb-585bc5a0f334@systella.fr> In-Reply-To: <bf22b451-c1d4-053c-8965-2e12c4b5eef9@FreeBSD.org> References: <aa873beb-7e5f-6591-33f8-107089b606df@systella.fr> <20170514082046.GA15092@lonesome.com> <fd582c6c-e8cf-6573-9db3-16756cf5410b@systella.fr> <fe9c666f-08ef-322d-ac3f-f13943bd1e06@systella.fr> <bf22b451-c1d4-053c-8965-2e12c4b5eef9@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman a écrit : > On 2017/05/23 13:53, BERTRAND Joël wrote: >> I suppose that is bug is NFS related, but I'm not able to found a >> workaround. gdb crashes when I try to attach it on pkg process : > > Have you tried toggling the value of NFS_WITH_PROPER_LOCKING in > pkg.conf? It defaults to off, which switches to an alternate but not as > good locking strategy when pkg detects that its database (/var/db/pkg) > is on an NFS mount -- if you have a usable lockd, try setting that to true. I have tried with and without NFS_WITH_PROPER_LOCKING with the same result. pkg stalls after: Number of packages to be removed: 3 Number of packages to be installed: 31 Number of packages to be upgraded: 254 Number of packages to be reinstalled: 45 The process will require 1 GiB more space. Proceed with this action? [y/N]: y Server (legendre) runs NetBSD 7.0.2 with rpc.lockd (that perfectly works with Linux and NetBSD NFSv3 clients). Only FreeBSD clients (for example pythagore) trigger errors on server side: May 23 23:21:03 legendre rpc.lockd: duplicate lock from pythagore.5118 May 23 23:21:03 legendre rpc.lockd: no matching entry for pythagore May 23 23:21:03 legendre rpc.lockd: duplicate lock from pythagore.5118 May 23 23:21:03 legendre rpc.lockd: no matching entry for pythagore May 23 23:21:03 legendre rpc.lockd: duplicate lock from pythagore.5118 May 23 23:21:03 legendre rpc.lockd: no matching entry for pythagore May 23 23:21:03 legendre rpc.lockd: duplicate lock from pythagore.5118 May 23 23:21:03 legendre rpc.lockd: no matching entry for pythagore May 23 23:21:03 legendre rpc.lockd: duplicate lock from pythagore.5118 May 23 23:21:03 legendre rpc.lockd: no matching entry for pythagore May 23 23:21:03 legendre rpc.lockd: duplicate lock from pythagore.5118 May 23 23:21:03 legendre rpc.lockd: no matching entry for pythagore May 23 23:21:03 legendre rpc.lockd: duplicate lock from pythagore.5118 May 23 23:21:03 legendre rpc.lockd: no matching entry for pythagore May 23 23:21:03 legendre rpc.lockd: duplicate lock from pythagore.5118 May 23 23:21:03 legendre rpc.lockd: no matching entry for pythagore May 23 23:21:03 legendre rpc.lockd: duplicate lock from pythagore.5118 May 23 23:21:03 legendre rpc.lockd: no matching entry for pythagore Regards, JKB
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d1818fc7-17ad-f6ca-97bb-585bc5a0f334>