pkg_info fails with "leave_playpen: can't chdir back to ''"
jmc-freebsd2 at milibyte.co.uk
Tue Jan 12 10:12:02 UTC 2010
On Wednesday 30 December 2009, Henry Wong wrote:
> I'm seeing the same problem with pkg_info on FreeBSD 8.0 RELEASE.
> However, I also found that even when running as the root user, if
> I'm in a chroot jail, it does not fail.
Sometime after experiencing this problem I discovered that my ports had
suffered from the accidental introduction of some packages which had
been built for rev. 6.4 (see the thread under
As a result of this I had to completely remove and re-install all my
ports and I haven't seen the "leave_playpen" problem since then. It
might be just coincidence or it may be that pkg_info just got confused
by all the links to wrong and non-existent libraries. Could it be that
the ports in your main system are corrupt but those in the jail are
More information about the freebsd-questions