Date: Tue, 23 Aug 2016 11:25:46 -0400 From: Thomas Thompson <sdb.tomcat@gmail.com> To: freebsd-jail@freebsd.org Subject: Re: pkg install fails in jail with v 1.8.7 Message-ID: <CAJj8NsF8zWerJ1a6JbKfj1MaO2cG=vgAbp3aP_%2BeRTqA2cUyKQ@mail.gmail.com> 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
Found the issue. The server in question is running 9.1, while the other machines are @ 9.3. I expect the issues to be resolved once I bring the server up to date with the others. -T.J. On Mon, Aug 22, 2016 at 2:46 PM, Thomas Thompson <sdb.tomcat@gmail.com> wrote: > Hello, > > 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): > > pkg: dup2(rootfd): Invalid argument > > pkg: Fail to create /usr: Bad file descriptor > > It's not an FS issue as far as I can tell (fsck returns clean), and it > goes away if I lock the pkg version in the ezjail.current file before doing > updates and installing new packages: > > pkg lock -y pkg > > 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. > > -T.J. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJj8NsF8zWerJ1a6JbKfj1MaO2cG=vgAbp3aP_%2BeRTqA2cUyKQ>