From owner-freebsd-hackers@freebsd.org Tue May 23 14:46:59 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA80ED7A043 for ; Tue, 23 May 2017 14:46:59 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 687AC1FBF for ; Tue, 23 May 2017 14:46:59 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from host-4-75.office.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 86A1D64CF for ; Tue, 23 May 2017 14:46:54 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/86A1D64CF; dkim=none; dkim-atps=neutral Subject: Re: Issue with pkg upgrade on diskless workstation To: freebsd-hackers@freebsd.org References: <20170514082046.GA15092@lonesome.com> From: Matthew Seaman Message-ID: Date: Tue, 23 May 2017 15:46:48 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="J08H4m5aP8CK5UhCW57qlshllS9J08mxs" X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,RCVD_IN_RP_RNBL, RDNS_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2017 14:47:00 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --J08H4m5aP8CK5UhCW57qlshllS9J08mxs Content-Type: multipart/mixed; boundary="LxasCtt3aPHuOxVjVwLgKMOggnD1DO6N7"; protected-headers="v1" From: Matthew Seaman To: freebsd-hackers@freebsd.org Message-ID: Subject: Re: Issue with pkg upgrade on diskless workstation References: <20170514082046.GA15092@lonesome.com> In-Reply-To: --LxasCtt3aPHuOxVjVwLgKMOggnD1DO6N7 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017/05/23 13:53, BERTRAND Jo=EBl 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 tru= e. Yes, the base system gdb doesn't work very well to debug pkg(8) built from source. Try installing gdb from ports -- although I realise there may be a bit of a chicken and egg problem there. Cheers, Matthew --LxasCtt3aPHuOxVjVwLgKMOggnD1DO6N7-- --J08H4m5aP8CK5UhCW57qlshllS9J08mxs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJZJEtdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTncJwP+QGDVeOtVWAUw/foZmDZtBya 8FQb/IkAJorByUinDs/9rUlh8jxnerYrUNbXrDjpYx8yyJ9MZqkp6reGYt1F5RbX jDQpC8/4FpwEliuctVCb94gI/TU/UtAVp72ZrrkigBGv/Af+1jtkHlP2IkCcR/E1 tgEVlpVL9zL0StF+nzXyXsxdhqRso1wEPxwENx84Ovns40ymab/iyEMFK6LPD1HY VuM+ERm5D6uTbnLaCvPupurCX7pHglJwB9pkfKjrmkxwlvfzSxPDIcVUFFyF7FIR sS9fEMaZkq3pe/Yo+gzqKoIpPVUHa2uaw6dvWMdEIOI4tyFrHZiiy+ULttxZBb2M RKWQmYxYYW7akdViy8epT/BmmvD283j/EJ712UVThk0gf2QH035qe44YIX+J4CGB FtNaCtwrRSYh4KlRQ6hiUuLdFBd/HI+aaZqdr016dQs+Hh0pyloEjvK6SKOqxAhZ 6OlbeeGHdQ1cJi9vUhjyhgM/bVI61hOKouAS5FDHa74awrpBK3E407WKNTRR4K5v njJ3KpPoNS9P5NzIy5c/HSJBkT0BtlxdAO/VwyI93UuKFcwL7t9JeMrCpBi3S9sV Vd9kUjyQjPesXdEI+LaPH/wMow/r1kBB77znVcRApcqdD5Liicsfk2haRgprYgWJ nk4SsMvJRcpTAkpsdUVk =2wDL -----END PGP SIGNATURE----- --J08H4m5aP8CK5UhCW57qlshllS9J08mxs--