Date: Tue, 23 Aug 2016 17:49:16 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Thomas Thompson <sdb.tomcat@gmail.com> Cc: freebsd-jail@freebsd.org Subject: Re: pkg install fails in jail with v 1.8.7 Message-ID: <20160823154916.u6y7wshp4yhqbkbo@ivaldir.etoilebsd.net> In-Reply-To: <CAJj8NsHXUFQVr-x-fArUzOWr10B00MZyJ3_ChmzciuAiO=dUDQ@mail.gmail.com> References: <CAJj8NsHXUFQVr-x-fArUzOWr10B00MZyJ3_ChmzciuAiO=dUDQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--54jrjdajou76cmbn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 22, 2016 at 02:46:21PM -0400, Thomas Thompson wrote: > Hello, >=20 > I've run into an odd problem with pkg v 1.8.7 and jails on a FreeBSD 9.3 > server. I'm getting the same error as described in this thread from the > forums: https://forums.freebsd.org/threads/56490/ where package installs > fail and report two errors (snipped from jail install logs): >=20 > pkg: dup2(rootfd): Invalid argument >=20 > pkg: Fail to create /usr: Bad file descriptor >=20 > It's not an FS issue as far as I can tell (fsck returns clean), and it go= es > away if I lock the pkg version in the ezjail.current file before doing > updates and installing new packages: >=20 > pkg lock -y pkg >=20 > pkg 1.8.7 works fine on another server, and my google-fu isn't finding > anything obvious. Any help / pointers here would be greatly appreciated. > For reference / on the server is ufs. I have replied on the forum. Short version: running a 9.3 binary that uses things (discovered at build t= ime) only available on 9.3 and not on 9.1. The fix: either upgrade your system or build your on set of packages on 9.1 Best regards, Bapt --54jrjdajou76cmbn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXvG/VAAoJEGOJi9zxtz5aPFcP/2f5WtE22FvL1KuC30AHxuy+ FwjM2sQoAJ0A/yn1iNVYU7LoqEfkUge68WukbycXVICV1Nl19J3m0DaNW8KxVv+Z 5+qQUntNCLTbdsYmWMgqROJ7qUIyf4BxME/Kmk/MiJU8zaDx6SXcK00CCn6Rbaju iSc3JkeIHeRic1LLTtIi3PWPFeBnGe5UBThv7leBoIRYsXQT7C6ZIfxktYlAj70+ rhd/q+sa2+W4zLLVOSJZqegeGxu2+6qLMwAmRZXf+cPLrcoAy7DiWoge7X4DHlpn AsyF5213CzQ2cK6MRYc9BT5MFqfsR6vlpzwbqPfVpmZs1HcBDj/kYDcUD126wZ1B It4xYfBaPnVBksW/c/b8tzU/AsqSRZNVfUYQ70TviE5OQWdZi7h4V/z73QjQWeUT YPYcWIZtO0HbLzmCYwTzIZABMKSk44jNphR3G0tF7PLiorUd0hjc0bMqZTGXR9P2 Wpr0hBcevNYY70njR0S780PO/r69w6ryr91a+hCNVqxKIr6iNnYFU5rNhGaMfv7p U7kHP8zOZNeqMQTEdqe7c+ewnzIctqblkB7ezEgjl77BpXVb9Z/iYYL94PaTe544 rPJHxufwSYXVgxK6WjZZA5IpRwVUg2okA5TViydksaIk7K3WFA37A32XuolP7Gqz /MLWDhcaRV6DZl35Foj6 =7EC/ -----END PGP SIGNATURE----- --54jrjdajou76cmbn--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160823154916.u6y7wshp4yhqbkbo>