Re: pkg_info fails with leave_playpen: can't chdir back to ''
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 http://lists.freebsd.org/pipermail/freebsd-questions/2010-January/210421.html). 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 clean? -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pkg_info fails with leave_playpen: can't chdir back to ''
Mike, Thanks for your response. Since originally writing that message, I had done some tests (there was a misconfiguration in mailer that my browser called on the system I was sending from so the message got sent out much later when it was corrected). I had tried running the exact same executable both in the jail and outside and got a different set of libraries. One odd thing that I had also noticed is that when I ran ldd against the same executable, I came up with a different set of libraries. I'm not sure what controls the library searches. As far as I can tell the libraries are the same also. However, since then, my /var/run/ld-elf* files have changed. I no longer see the problem or the differences in ldd. This may have corrected the problem. Henry Mike Clarke wrote: 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 http://lists.freebsd.org/pipermail/freebsd-questions/2010-January/210421.html). 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 clean? -- Henry Wong Lead Software Engineer Lumeta - / Securing the Network in the Face of Change / _hw...@lumeta.com_ 732.357.3534 (office) 732.564.0731 (fax) 220 Davidson Avenue Somerset , NJ 08873-4146 www.lumeta.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
pkg_info fails with leave_playpen: can't chdir back to ''
Mike Clarke, 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. Henry Wong ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
pkg_info fails with leave_playpen: can't chdir back to ''
If I run pkg_info as root it fails as shown below. But if I run it as a normal user I get a list of all 708 packages without any error. curlew:/root# uname -a FreeBSD curlew.lan 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Sun Dec 13 15:40:42 GMT 2009 r...@curlew.lan:/usr/obj/usr/src/sys/GENERIC i386 curlew:/root# pkg_info -Ia GraphicsMagick-1.1.15_1,1 Fast image processing tools based on ImageMagick ORBit2-2.14.17 High-performance CORBA ORB with support for the C language OpenEXR-1.6.1_2 A high dynamic-range (HDR) image file format a2ps-a4-4.13b_4 Formats an ascii file for printing on a postscript printer aalib-1.4.r5_4 An ascii art library adobe-cmaps-20051217_1 Adobe CMap collection pkg_info: leave_playpen: can't chdir back to '' -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org