Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2017 15:46:48 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Issue with pkg upgrade on diskless workstation
Message-ID:  <bf22b451-c1d4-053c-8965-2e12c4b5eef9@FreeBSD.org>
In-Reply-To: <fe9c666f-08ef-322d-ac3f-f13943bd1e06@systella.fr>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--J08H4m5aP8CK5UhCW57qlshllS9J08mxs
Content-Type: multipart/mixed; boundary="LxasCtt3aPHuOxVjVwLgKMOggnD1DO6N7";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-hackers@freebsd.org
Message-ID: <bf22b451-c1d4-053c-8965-2e12c4b5eef9@FreeBSD.org>
Subject: Re: Issue with pkg upgrade on diskless workstation
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>
In-Reply-To: <fe9c666f-08ef-322d-ac3f-f13943bd1e06@systella.fr>

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bf22b451-c1d4-053c-8965-2e12c4b5eef9>